Event.AppendEvent, Event.CloseEvent, Event.CreateEvent, Event.MetadataUpdateEvent, Event.RenameEvent, Event.TruncateEvent, Event.UnlinkEvent@Public
@Unstable
public abstract class Event
extends java.lang.Object
| Modifier and Type | Class | 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.EventType |
|
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 | Description |
|---|---|
Event(Event.EventType eventType) |
| Modifier and Type | Method | Description |
|---|---|---|
Event.EventType |
getEventType() |
public Event(Event.EventType eventType)
public Event.EventType getEventType()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.