Package org.rocksdb

Class TimedEnv

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class TimedEnv
    extends Env
    Timed environment.
    • Constructor Detail

      • TimedEnv

        public TimedEnv​(Env baseEnv)

        Creates a new environment that measures function call times for filesystem operations, reporting results to variables in PerfContext.

        The caller must delete the result when it is no longer needed.

        Parameters:
        baseEnv - the base environment, must remain live while the result is in use.
    • Method Detail