static enum TestAsyncClientPauseForServerOverloaded.FailMode extends Enum<TestAsyncClientPauseForServerOverloaded.FailMode>
Enum Constant and Description |
---|
CALL_DROPPED |
CALL_QUEUE_TOO_BIG |
Modifier and Type | Field and Description |
---|---|
private ConcurrentMap<org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor,AtomicInteger> |
invoked |
Modifier and Type | Method and Description |
---|---|
private boolean |
shouldFail(org.apache.hadoop.hbase.ipc.CallRunner callRunner) |
static TestAsyncClientPauseForServerOverloaded.FailMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestAsyncClientPauseForServerOverloaded.FailMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestAsyncClientPauseForServerOverloaded.FailMode CALL_QUEUE_TOO_BIG
public static final TestAsyncClientPauseForServerOverloaded.FailMode CALL_DROPPED
private ConcurrentMap<org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor,AtomicInteger> invoked
public static TestAsyncClientPauseForServerOverloaded.FailMode[] values()
for (TestAsyncClientPauseForServerOverloaded.FailMode c : TestAsyncClientPauseForServerOverloaded.FailMode.values()) System.out.println(c);
public static TestAsyncClientPauseForServerOverloaded.FailMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprivate boolean shouldFail(org.apache.hadoop.hbase.ipc.CallRunner callRunner)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.