org.sadun.util.polling
Class FileSetFoundJMXNotification
java.lang.Object
Notification
org.sadun.util.polling.BaseJMXNotification
org.sadun.util.polling.FileSetFoundJMXNotification
- public class FileSetFoundJMXNotification
- extends org.sadun.util.polling.BaseJMXNotification
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NOTIFICATION_TYPE
public static final java.lang.String NOTIFICATION_TYPE
- See Also:
- Constant Field Values
event
protected BasePollerEvent event
FileSetFoundJMXNotification
public FileSetFoundJMXNotification(ObjectName pollerName,
SequenceNumberGenerator sqg,
FileSetFoundEvent evt)
getDirectory
public java.io.File getDirectory()
- See
BaseDirectoryEvent#getDirectory()
.
- Returns:
- the same as
BaseDirectoryEvent#getDirectory()
.
getFiles
public java.io.File[] getFiles()
- See
FileSetFoundEvent.getFiles()
.
- Returns:
- the same as
FileSetFoundEvent.getFiles()
.
getEvent
protected BasePollerEvent getEvent()
- Note: this is null for exception notifications.
- Returns:
- the event underlying this notification, or null
mkMsg
protected static java.lang.String mkMsg(BasePollerEvent evt,
java.lang.String propertyName)
getPollerEventTime
public long getPollerEventTime()
- Return the time of the original poller event.
- Returns:
- the time of the original poller event.
Copyright © 1999, 2000 Cristiano Sadun. This software is released under GPL.