public abstract class Verifier extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Verifier.ConstantVerifier |
static class |
Verifier.ExponentialVerifier |
static class |
Verifier.LinearVerifier |
static class |
Verifier.VerificationException |
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_FUZZ_MS |
protected MemcachedServer.CommandLogEntry |
firstEntry |
protected long |
fuzzMillis |
static String |
STRATEGY_CONSTANT |
static String |
STRATEGY_EXPONENTIAL |
static String |
STRATEGY_LINEAR |
| Constructor and Description |
|---|
Verifier() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
verify(List<MemcachedServer.CommandLogEntry> entries,
RetrySpec spec) |
static boolean |
verify(List<MemcachedServer.CommandLogEntry> entries,
RetrySpec spec,
int opcode) |
protected abstract void |
verifyImpl(List<MemcachedServer.CommandLogEntry> entries,
RetrySpec spec) |
static void |
verifyThrow(List<MemcachedServer.CommandLogEntry> allEntries,
RetrySpec spec,
int opcode) |
static void |
verifyThrow(List<MemcachedServer.CommandLogEntry> allEntries,
RetrySpec spec,
int opcode,
long fuzzMillis) |
public static final String STRATEGY_EXPONENTIAL
public static final String STRATEGY_LINEAR
public static final String STRATEGY_CONSTANT
public static final long DEFAULT_FUZZ_MS
protected MemcachedServer.CommandLogEntry firstEntry
protected long fuzzMillis
protected void verify(List<MemcachedServer.CommandLogEntry> entries, RetrySpec spec) throws Verifier.VerificationException
Verifier.VerificationExceptionprotected abstract void verifyImpl(List<MemcachedServer.CommandLogEntry> entries, RetrySpec spec) throws Verifier.VerificationException
Verifier.VerificationExceptionpublic static void verifyThrow(List<MemcachedServer.CommandLogEntry> allEntries, RetrySpec spec, int opcode) throws Verifier.VerificationException
Verifier.VerificationExceptionpublic static void verifyThrow(List<MemcachedServer.CommandLogEntry> allEntries, RetrySpec spec, int opcode, long fuzzMillis) throws Verifier.VerificationException
Verifier.VerificationExceptionpublic static boolean verify(List<MemcachedServer.CommandLogEntry> entries, RetrySpec spec, int opcode)
Copyright © 2017. All rights reserved.