Package org.rocksdb

Class FileOperationInfo

java.lang.Object
org.rocksdb.FileOperationInfo

public class FileOperationInfo extends Object
Java representation of FileOperationInfo struct from include/rocksdb/listener.h
  • Method Details

    • getPath

      public 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(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object