@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class Event extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Event.AppendEvent
Sent when an existing file is opened for append.
|
static class |
Event.CloseEvent
Sent when a file is closed after append or create.
|
static class |
Event.CreateEvent
Sent when a new file is created (including overwrite).
|
static class |
Event.MetadataUpdateEvent
Sent 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 class |
Event.RenameEvent
Sent when a file, directory, or symlink is renamed.
|
static class |
Event.TruncateEvent
Sent when a file is truncated.
|
static class |
Event.UnlinkEvent
Sent when a file, directory, or symlink is deleted.
|
Constructor and Description |
---|
Event(org.apache.hadoop.hdfs.inotify.Event.EventType eventType) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hdfs.inotify.Event.EventType |
getEventType() |
Copyright © 2020 Apache Software Foundation. All rights reserved.