| Package | Description |
|---|---|
| org.apache.ode.utils |
Miscellanous utility classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
WatchDog<T,C extends WatchDog.Observer>
This class is based on
org.apache.log4j.helpers.FileWatchdog.
Modifications have been made to support additional abstract ressource and more events (creation, deletion and updates), and to allow "manual"
invocations of WatchDog.check() (i.e wihtout having to use a thread) while preserving time checking.
Now two use cases coexist:
Pass an instance of WatchDog to a new thread (WatchDog is a Runnable). |
| Modifier and Type | Class and Description |
|---|---|
static class |
WatchDog.DefaultObserver<A>
A default implementation of #ChangeHandler.
|
| Modifier and Type | Field and Description |
|---|---|
protected C |
WatchDog.observer |
| Modifier and Type | Method and Description |
|---|---|
static <C extends WatchDog.Observer> |
WatchDog.watchFile(java.io.File file,
C handler) |
static <C extends WatchDog.Observer> |
WatchDog.watchFiles(java.util.List<java.io.File> files,
C handler) |
Copyright © 2017 WSO2. All Rights Reserved.