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