Package org.sadun.util.polling

Interface Summary
FilenameFilterFactory his interface is used in conjunction with the JMX instrumentation ManagedDirectoryPoller of DirectoryPoller.
InstrumentedManagedDirectoryPollerMBean An extension of ManagedDirectoryPollerMBean that adds a read-only property listing the other property values.
ManagedDirectoryPollerMBean An MBean interface for the directory poller.
PollManager Clients implementing this interface and registering with DirectoryPoller.addPollManager() receive method calls whenever a polling event occur.
PollManagerFactory This interface is used in conjunction with the JMX instrumentation ManagedDirectoryPoller of DirectoryPoller.
SequenceNumberGenerator Classes implementing this interface can generate JMX notification sequence numbers.
 

Class Summary
BaseFileJMXNotification  
BasePollerEvent A base class for polling-related events
BasePollManager This abstract class implements PollManager and can be subclassed to receive of events of interest signalled by a DirectoryPoller.
CoreSequenceNumberGenerator A SequenceNumberGenerator which keeps the sequence in core, on a per-jvm basis.
CycleEndEvent Indicates that the poller has awakened.
CycleEndJMXNotification A JMX notification class equivalent to a CycleEndEvent
CycleStartEvent Indicates that the poller is going to sleep.
CycleStartJMXNotification  
DirectoryLookupEndEvent Indicates that the poller has finished looking for files in a controlled directory.
DirectoryLookupEndJMXNotification  
DirectoryLookupStartEvent Indicates that the poller is starting to look for files in a controlled directory.
DirectoryLookupStartJMXNotification  
DirectoryPoller A Thread class to periodically poll the contents of one or more directories.
DirectoryPoller.FileSizeComparator This comparator can be used to list files based on size.
DirectoryPoller.ModificationTimeComparator This comparator can be used to list files based on modification time.
DirectoryPoller.NullFilenameFilter  
ExceptionDeletingTargetFileJMXNotification  
ExceptionMovingFileJMXNotification  
FIFOFileComparator A comparator which produces a FIFO ordering on the files appearing in a directory (using the last modification time).
FileFoundEvent Indicates that the poller has found a file.
FileFoundJMXNotification  
FileMovedEvent Indicates that the poller has performed an automatic move of a polled file.
FileMovedJMXNotification  
FileSetFoundEvent Indicates that the poller has found a set of files matching the polling criteria.
FileSetFoundJMXNotification  
InstrumentedManagedDirectoryPoller An instrumentation of ManagedDirectoryPoller which implements InstrumentedManagedDirectoryPollerMBean and prints every invoked method on standard output.
LIFOFileComparator A comparator which produces a LIFO ordering on the files appearing in a directory (using the last modification time).
ManagedDirectoryPoller A JMX managed subclass of directory poller, exposing the ManagedDirectoryPollerMBean interface.
Monitor A very simple example application that shows the directory monitor in action
ScriptedPollManager A PollManager that hands over the actual handling of polling events to an external script.
 

Exception Summary
 



Copyright © 1999, 2000 Cristiano Sadun. This software is released under GPL.