it.geosolutions.filesystemmonitor.monitor
Interface FileSystemMonitorSPI
public interface FileSystemMonitorSPI
ServiceProviderInterface class for ThreadedFileSystemMonitor implementations.
- Since:
- 0.2
- Author:
- Simone Giannecchini
SOURCE_KEY
static final java.lang.String SOURCE_KEY
- See Also:
- Constant Field Values
WILDCARD_KEY
static final java.lang.String WILDCARD_KEY
- See Also:
- Constant Field Values
TYPE_KEY
static final java.lang.String TYPE_KEY
- See Also:
- Constant Field Values
INTERVAL_KEY
static final java.lang.String INTERVAL_KEY
- See Also:
- Constant Field Values
INTERVAL_DEFAULT_POLLING
static final int INTERVAL_DEFAULT_POLLING
- See Also:
- Constant Field Values
getType
FileSystemMonitorType getType()
- Get the type of this FileSystemMonitor
- Returns:
canWatch
boolean canWatch(OsType osType)
- Tells me if a certain implementation of this interface is able to run on the specified
operating system.
- Parameters:
osType - identfies an operating system.
- Returns:
true if this FileSystemMonitor runs on this operating system,
false otherwise.
createInstance
FileSystemMonitor createInstance(java.util.Map<java.lang.String,?> configuration)
- Returns:
- an instance of a
FileSystemMonitor.
isAvailable
boolean isAvailable()
Copyright © 2006-2012 GeoSolutions. All Rights Reserved.