Event.AppendEvent, Event.CloseEvent, Event.CreateEvent, Event.MetadataUpdateEvent, Event.RenameEvent, Event.TruncateEvent, Event.UnlinkEvent
Constructor and Description |
---|
CloseEvent(String path,
long fileSize,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
long |
getFileSize()
The size of the closed file in bytes.
|
String |
getPath() |
long |
getTimestamp()
The time when this event occurred, in milliseconds since the epoch.
|
String |
toString() |
getEventType
public CloseEvent(String path, long fileSize, long timestamp)
public String getPath()
public long getFileSize()
public long getTimestamp()
Copyright © 2020 Apache Software Foundation. All rights reserved.