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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()booleantest(SyncReplicationState state, SyncReplicationState newState) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Field Details
-
INST
-
-
Constructor Details
-
RejectReplicationRequestStateChecker
public RejectReplicationRequestStateChecker()
-
-
Method Details
-
test
- Specified by:
testin interfaceBiPredicate<SyncReplicationState,SyncReplicationState>
-
get
-