Package org.apache.hadoop.hdfs.inotify
Class Event.CloseEvent
java.lang.Object
org.apache.hadoop.hdfs.inotify.Event
org.apache.hadoop.hdfs.inotify.Event.CloseEvent
- Enclosing class:
- Event
Sent when a file is closed after append or create.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hdfs.inotify.Event
Event.AppendEvent, Event.CloseEvent, Event.CreateEvent, Event.EventType, Event.MetadataUpdateEvent, Event.RenameEvent, Event.TruncateEvent, Event.UnlinkEvent -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.hdfs.inotify.Event
getEventType
-
Constructor Details
-
CloseEvent
-
-
Method Details
-
getPath
-
getFileSize
public long getFileSize()The size of the closed file in bytes. May be -1 if the size is not available (e.g. in the case of a close generated by a concat operation). -
getTimestamp
public long getTimestamp()The time when this event occurred, in milliseconds since the epoch. -
toString
-