Class ForbidMajorCompactionChecker
java.lang.Object
org.apache.hadoop.hbase.regionserver.compactions.ForbidMajorCompactionChecker
- All Implemented Interfaces:
BiPredicate<SyncReplicationState,
SyncReplicationState>
@Private
public class ForbidMajorCompactionChecker
extends Object
implements BiPredicate<SyncReplicationState,SyncReplicationState>
Check whether forbid major compaction for region.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ForbidMajorCompactionChecker
get()
boolean
test
(SyncReplicationState state, SyncReplicationState newState) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Field Details
-
INST
-
-
Constructor Details
-
ForbidMajorCompactionChecker
public ForbidMajorCompactionChecker()
-
-
Method Details
-
test
- Specified by:
test
in interfaceBiPredicate<SyncReplicationState,
SyncReplicationState>
-
get
-