public class DirectoryEventWatcherImpl extends Object implements DirectoryEventWatcher
| Constructor and Description |
|---|
DirectoryEventWatcherImpl(com.google.common.eventbus.EventBus eventBus) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Path p) |
Integer |
getEventCount() |
boolean |
isRunning() |
void |
start() |
void |
stop() |
public DirectoryEventWatcherImpl(com.google.common.eventbus.EventBus eventBus) throws IOException
IOExceptionpublic void start() throws IOException
start in interface DirectoryEventWatcherIOExceptionpublic void add(Path p) throws IOException
IOExceptionpublic boolean isRunning()
isRunning in interface DirectoryEventWatcherpublic void stop()
stop in interface DirectoryEventWatcherpublic Integer getEventCount()
Copyright © 2015. All rights reserved.