0
我是一个Fedora用户,目前正在使用inotify-java来实现目录轮询。我有以下代码片段:inotify - 我应该如何处理完整的事件队列?
InotifyEventListener inel = new InotifyEventListener() {
@Override
public void filesystemEventOccurred (InotifyEvent ine) {
// code to handle - done
}
@Override
public void queueFull (EventQueueFull eqf) {
// this is the part when I'm not sure what I should do
}
}