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
}
}