Package org.apache.hadoop.hdfs.inotify
Class Event.CreateEvent
java.lang.Object
org.apache.hadoop.hdfs.inotify.Event
org.apache.hadoop.hdfs.inotify.Event.CreateEvent
- Enclosing class:
- Event
Sent when a new file is created (including overwrite).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classorg.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builderstatic enumNested 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 -
Method Summary
Methods inherited from class org.apache.hadoop.hdfs.inotify.Event
getEventType
-
Method Details
-
getiNodeType
-
getPath
-
getCtime
public long getCtime()Creation time of the file, directory, or symlink. -
getReplication
public int getReplication()Replication is zero if the CreateEvent iNodeType is directory or symlink. -
getOwnerName
-
getGroupName
-
getPerms
-
getSymlinkTarget
Symlink target is null if the CreateEvent iNodeType is not symlink. -
getOverwrite
public boolean getOverwrite() -
getDefaultBlockSize
public long getDefaultBlockSize() -
isErasureCoded
-
toString
-