Interface DirectoryMonitorManager


@Deprecated public interface DirectoryMonitorManager
Deprecated.
Since v3.0.0. Crowd no longer exposes monitoring details. All directories implementing SynchronisableDirectory get their monitors added, updated and removed automatically.
Manages directory monitoring by allowing adding and removal of DirectoryMonitors. Once a monitor has been added via this manager, it will monitor the directory either via listening to remote mutation events or via polling the remote directory periodically. One directory can have at most one monitor. Implementations are required to be thread-safe.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Adds a monitor to a particular directory.
    boolean
    hasMonitor(long directoryID)
    Deprecated.
    Determines whether a directory is currently being monitored.
    boolean
    removeMonitor(long directoryID)
    Deprecated.
    Removes a monitor from a monitored directory.