Class MemorySailStore.SnapshotMonitor.ReservedSnapshot

    • Constructor Summary

      Constructors 
      Constructor Description
      ReservedSnapshot​(int snapshot, java.lang.Object reservedBy, boolean debug, java.util.concurrent.atomic.LongAdder frequency, java.util.concurrent.ConcurrentHashMap<java.lang.Integer,​java.util.concurrent.atomic.LongAdder> activeSnapshots, java.util.concurrent.atomic.AtomicInteger highestEverReservedSnapshot)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void release()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • activeSnapshots

        private final java.util.concurrent.ConcurrentHashMap<java.lang.Integer,​java.util.concurrent.atomic.LongAdder> activeSnapshots
      • frequency

        private final java.util.concurrent.atomic.LongAdder frequency
      • highestEverReservedSnapshot

        private final java.util.concurrent.atomic.AtomicInteger highestEverReservedSnapshot
      • cleanable

        private java.lang.ref.Cleaner.Cleanable cleanable
      • stackTraceForDebugging

        private final java.lang.Throwable stackTraceForDebugging
      • snapshot

        private volatile int snapshot
      • SNAPSHOT

        private static final java.lang.invoke.VarHandle SNAPSHOT
    • Constructor Detail

      • ReservedSnapshot

        public ReservedSnapshot​(int snapshot,
                                java.lang.Object reservedBy,
                                boolean debug,
                                java.util.concurrent.atomic.LongAdder frequency,
                                java.util.concurrent.ConcurrentHashMap<java.lang.Integer,​java.util.concurrent.atomic.LongAdder> activeSnapshots,
                                java.util.concurrent.atomic.AtomicInteger highestEverReservedSnapshot)
    • Method Detail

      • release

        public void release()