Event.AppendEvent, Event.CloseEvent, Event.CreateEvent, Event.EventType, Event.MetadataUpdateEvent, Event.RenameEvent, Event.TruncateEvent, Event.UnlinkEvent| Constructor | Description |
|---|---|
CloseEvent(java.lang.String path,
long fileSize,
long timestamp) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getFileSize() |
The size of the closed file in bytes.
|
java.lang.String |
getPath() |
|
long |
getTimestamp() |
The time when this event occurred, in milliseconds since the epoch.
|
java.lang.String |
toString() |
getEventTypepublic CloseEvent(java.lang.String path,
long fileSize,
long timestamp)
public java.lang.String getPath()
public long getFileSize()
public long getTimestamp()
@Unstable public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.