Package org.apache.hadoop.hdfs.inotify
Class Event
java.lang.Object
org.apache.hadoop.hdfs.inotify.Event
- Direct Known Subclasses:
Event.AppendEvent,Event.CloseEvent,Event.CreateEvent,Event.MetadataUpdateEvent,Event.RenameEvent,Event.TruncateEvent,Event.UnlinkEvent
Events sent by the inotify system. Note that no events are necessarily sent
when a file is opened for read (although a MetadataUpdateEvent will be sent
if the atime is updated).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSent when an existing file is opened for append.static classSent when a file is closed after append or create.static classSent when a new file is created (including overwrite).static enumstatic classSent when there is an update to directory or file (none of the metadata tracked here applies to symlinks) that is not associated with another inotify event.static classSent when a file, directory, or symlink is renamed.static classSent when a file is truncated.static classSent when a file, directory, or symlink is deleted. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Event
-
-
Method Details
-
getEventType
-