Class GCMemoryBarrier
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.file.GCMemoryBarrier
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class GCMemoryBarrier extends java.lang.Object implements java.io.Closeable
Responsible for raising the low memory flag whenever the available memory falls under a specified threshold. UsesMemoryPoolMXBean
to register for memory related notifications.
-
-
Constructor Summary
Constructors Constructor Description GCMemoryBarrier(@NotNull java.util.concurrent.atomic.AtomicBoolean sufficientMemory, @NotNull org.apache.jackrabbit.oak.segment.file.GCListener gcListener, @NotNull SegmentGCOptions gcOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-
-
-
Constructor Detail
-
GCMemoryBarrier
public GCMemoryBarrier(@NotNull @NotNull java.util.concurrent.atomic.AtomicBoolean sufficientMemory, @NotNull @NotNull org.apache.jackrabbit.oak.segment.file.GCListener gcListener, @NotNull @NotNull SegmentGCOptions gcOptions)
-
-