|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.geosolutions.filesystemmonitor.neutral.monitorpolling.GBEventNotifier
public class GBEventNotifier
| Field Summary | |
|---|---|
static java.util.concurrent.ExecutorService |
threadPool
|
| Constructor Summary | |
|---|---|
GBEventNotifier(javax.swing.event.EventListenerList list,
FileSystemEventType type)
Default Constructor |
|
| Method Summary | |
|---|---|
boolean |
isStopped()
used to check the status of this event consumer if this method return true thread is stopped and |
protected void |
notifyEvent(java.io.File file,
FileSystemEventType type)
/** Use this method to add events to this consumer the event will be filtered using the FileSystemEventType specified into the EventGeneratorConfiguration. |
void |
run()
Never call this method manually |
void |
start()
used to start the consumer |
void |
stop()
used to stop the event consumer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.concurrent.ExecutorService threadPool
| Constructor Detail |
|---|
public GBEventNotifier(javax.swing.event.EventListenerList list,
FileSystemEventType type)
| Method Detail |
|---|
public boolean isStopped()
public void start()
public void stop()
protected void notifyEvent(java.io.File file,
FileSystemEventType type)
file - type - public void run()
run in interface java.lang.Runnable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||