Class RejectReplicationRequestStateChecker
java.lang.Object
org.apache.hadoop.hbase.replication.regionserver.RejectReplicationRequestStateChecker
- All Implemented Interfaces:
BiPredicate<SyncReplicationState,
SyncReplicationState>
@Private
public class RejectReplicationRequestStateChecker
extends Object
implements BiPredicate<SyncReplicationState,SyncReplicationState>
Check whether we need to reject the replication request from source cluster.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget()
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
-
RejectReplicationRequestStateChecker
public RejectReplicationRequestStateChecker()
-
-
Method Details
-
test
- Specified by:
test
in interfaceBiPredicate<SyncReplicationState,
SyncReplicationState>
-
get
-