Package org.eclipse.rdf4j.sail.memory
Class MemorySailStore.SnapshotMonitor.ReservedSnapshot
- java.lang.Object
-
- org.eclipse.rdf4j.sail.memory.MemorySailStore.SnapshotMonitor.ReservedSnapshot
-
- Enclosing class:
- MemorySailStore.SnapshotMonitor
static class MemorySailStore.SnapshotMonitor.ReservedSnapshot extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.ConcurrentHashMap<java.lang.Integer,java.util.concurrent.atomic.LongAdder>
activeSnapshots
private java.lang.ref.Cleaner.Cleanable
cleanable
private java.util.concurrent.atomic.LongAdder
frequency
private java.util.concurrent.atomic.AtomicInteger
highestEverReservedSnapshot
private int
snapshot
private static java.lang.invoke.VarHandle
SNAPSHOT
private static int
SNAPSHOT_RELEASED
private java.lang.Throwable
stackTraceForDebugging
-
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()
-
-
-
Field Detail
-
SNAPSHOT_RELEASED
private static final int SNAPSHOT_RELEASED
- See Also:
- Constant Field Values
-
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)
-
-