Package org.rocksdb

Class FileOperationInfo


  • public class FileOperationInfo
    extends java.lang.Object
    Java representation of FileOperationInfo struct from include/rocksdb/listener.h
    • 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:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object