Package org.rocksdb
Class FileOperationInfo
- java.lang.Object
-
- org.rocksdb.FileOperationInfo
-
public class FileOperationInfo extends java.lang.ObjectJava representation of FileOperationInfo struct from include/rocksdb/listener.h
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)longgetDuration()Get the operation duration (in nanoseconds).longgetLength()Get the length.longgetOffset()Get the offset.java.lang.StringgetPath()Get the file path.longgetStartTimestamp()Get the start timestamp (in nanoseconds).StatusgetStatus()Get the status.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getPath
public java.lang.String getPath()
Get the file path.- Returns:
- the file path.
-
getOffset
public long getOffset()
Get the offset.- Returns:
- the offset.
-
getLength
public long getLength()
Get the length.- Returns:
- the length.
-
getStartTimestamp
public long getStartTimestamp()
Get the start timestamp (in nanoseconds).- Returns:
- the start timestamp.
-
getDuration
public long getDuration()
Get the operation duration (in nanoseconds).- Returns:
- the operation duration.
-
getStatus
public Status getStatus()
Get the status.- Returns:
- the status.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-