Package | Description |
---|---|
net.spy.memcached |
Memcached client and transformation utils
|
net.spy.memcached.ops |
Fundamental protocol operation interfaces
|
net.spy.memcached.protocol |
Base classes for protocol abstractions.
|
net.spy.memcached.protocol.ascii |
Low-level operations for the memcached ascii protocol
|
net.spy.memcached.protocol.binary |
Low-level operations for the memcached binary protocol
|
net.spy.memcached.tapmessage |
Modifier and Type | Method and Description |
---|---|
ConcatenationOperation |
OperationFactory.cat(ConcatenationType catType,
long casId,
String key,
byte[] data,
OperationCallback cb)
Get a concatenation operation.
|
FlushOperation |
OperationFactory.flush(int delay,
OperationCallback operationCallback)
Create a flush operation.
|
MutatorOperation |
OperationFactory.mutate(Mutator m,
String key,
long by,
long def,
int exp,
OperationCallback cb)
Create a mutator operation.
|
NoopOperation |
OperationFactory.noop(OperationCallback cb)
Create a NOOP operation.
|
SASLAuthOperation |
OperationFactory.saslAuth(String[] mech,
String serverName,
Map<String,?> props,
CallbackHandler cbh,
OperationCallback cb)
Create a new sasl auth operation.
|
SASLMechsOperation |
OperationFactory.saslMechs(OperationCallback cb)
Create a new SASL mechs operation.
|
SASLStepOperation |
OperationFactory.saslStep(String[] mech,
byte[] challenge,
String serverName,
Map<String,?> props,
CallbackHandler cbh,
OperationCallback cb)
Create a new sasl step operation.
|
TapOperation |
OperationFactory.tapAck(TapOpcode opcode,
int opaque,
OperationCallback cb)
Sends a tap ack message to the server.
|
TapOperation |
OperationFactory.tapBackfill(String id,
long date,
OperationCallback cb)
Creates a tap backfill stream.
|
TapOperation |
OperationFactory.tapCustom(String id,
RequestMessage message,
OperationCallback cb)
Creates a custom tap stream.
|
TapOperation |
OperationFactory.tapDump(String id,
OperationCallback cb)
Sends a tap dump message to the server.
|
KeyedOperation |
OperationFactory.touch(String key,
int expiration,
OperationCallback cb)
Resets a keys expiration time.
|
UnlockOperation |
OperationFactory.unlock(String key,
long casId,
OperationCallback operationCallback)
Create a Unlock operation.
|
VersionOperation |
OperationFactory.version(OperationCallback cb)
Create a new version operation.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
DeleteOperation.Callback
Delete operation callback.
|
static interface |
GetAndTouchOperation.Callback
Operation callback for the gat request.
|
static interface |
GetlOperation.Callback
Operation callback for the getl request.
|
static interface |
GetOperation.Callback
Operation callback for the get request.
|
static interface |
GetsOperation.Callback
Operation callback for the Gets request.
|
static interface |
ObserveOperation.Callback
Operation callback for the Observe request.
|
static interface |
ReplicaGetOperation.Callback
Operation callback for the replica get request.
|
static interface |
ReplicaGetsOperation.Callback
Operation callback for the replica get request.
|
static interface |
StatsOperation.Callback
Callback for stats operation.
|
static interface |
StoreOperation.Callback
Operation callback to get the CAS value.
|
static interface |
TapOperation.Callback
Operation callback for the tap dump request.
|
Modifier and Type | Class and Description |
---|---|
class |
MultiGetOperationCallback
MultiOperationCallback for get operations.
|
class |
MultiGetsOperationCallback
MultiOperationCallback for get operations.
|
class |
MultiOperationCallback
An operation callback that will capture receivedStatus and complete
invocations and dispatch to a single callback.
|
class |
MultiReplicaGetOperationCallback
MultiOperationCallback for replica get operations.
|
Modifier and Type | Field and Description |
---|---|
protected OperationCallback |
MultiOperationCallback.originalCallback |
Modifier and Type | Method and Description |
---|---|
OperationCallback |
Operation.getCallback()
Get the callback for this get operation.
|
Constructor and Description |
---|
MultiGetOperationCallback(OperationCallback original,
int todo) |
MultiGetsOperationCallback(OperationCallback original,
int todo) |
MultiOperationCallback(OperationCallback original,
int todo)
Get a MultiOperationCallback over the given callback for the specified
number of replicates.
|
MultiReplicaGetOperationCallback(OperationCallback original,
int todo) |
Modifier and Type | Class and Description |
---|---|
class |
GetCallbackWrapper
Wrapper callback for use in optimized gets.
|
class |
ProxyCallback
Proxy callback used for dispatching callbacks over optimized gets.
|
Modifier and Type | Field and Description |
---|---|
protected OperationCallback |
BaseOperationImpl.callback |
Modifier and Type | Method and Description |
---|---|
OperationCallback |
BaseOperationImpl.getCallback()
Get the operation callback associated with this operation.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BaseOperationImpl.setCallback(OperationCallback to)
Set the callback for this instance.
|
Modifier and Type | Method and Description |
---|---|
ConcatenationOperation |
AsciiOperationFactory.cat(ConcatenationType catType,
long casId,
String key,
byte[] data,
OperationCallback cb) |
FlushOperation |
AsciiOperationFactory.flush(int delay,
OperationCallback cb) |
MutatorOperation |
AsciiOperationFactory.mutate(Mutator m,
String key,
long by,
long exp,
int def,
OperationCallback cb) |
NoopOperation |
AsciiOperationFactory.noop(OperationCallback cb) |
SASLAuthOperation |
AsciiOperationFactory.saslAuth(String[] mech,
String serverName,
Map<String,?> props,
CallbackHandler cbh,
OperationCallback cb) |
SASLMechsOperation |
AsciiOperationFactory.saslMechs(OperationCallback cb) |
SASLStepOperation |
AsciiOperationFactory.saslStep(String[] mech,
byte[] challenge,
String serverName,
Map<String,?> props,
CallbackHandler cbh,
OperationCallback cb) |
TapOperation |
AsciiOperationFactory.tapAck(TapOpcode opcode,
int opaque,
OperationCallback cb) |
TapOperation |
AsciiOperationFactory.tapBackfill(String id,
long date,
OperationCallback cb) |
TapOperation |
AsciiOperationFactory.tapCustom(String id,
RequestMessage message,
OperationCallback cb) |
TapOperation |
AsciiOperationFactory.tapDump(String id,
OperationCallback cb) |
KeyedOperation |
AsciiOperationFactory.touch(String key,
int expiration,
OperationCallback cb) |
UnlockOperation |
AsciiOperationFactory.unlock(String key,
long casId,
OperationCallback cb) |
VersionOperation |
AsciiOperationFactory.version(OperationCallback cb) |
Constructor and Description |
---|
ConcatenationOperationImpl(ConcatenationType t,
String k,
byte[] d,
OperationCallback cb) |
Modifier and Type | Method and Description |
---|---|
ConcatenationOperation |
BinaryOperationFactory.cat(ConcatenationType catType,
long casId,
String key,
byte[] data,
OperationCallback cb) |
FlushOperation |
BinaryOperationFactory.flush(int delay,
OperationCallback cb) |
MutatorOperation |
BinaryOperationFactory.mutate(Mutator m,
String key,
long by,
long def,
int exp,
OperationCallback cb) |
NoopOperation |
BinaryOperationFactory.noop(OperationCallback cb) |
SASLAuthOperation |
BinaryOperationFactory.saslAuth(String[] mech,
String serverName,
Map<String,?> props,
CallbackHandler cbh,
OperationCallback cb) |
SASLMechsOperation |
BinaryOperationFactory.saslMechs(OperationCallback cb) |
SASLStepOperation |
BinaryOperationFactory.saslStep(String[] mech,
byte[] challenge,
String serverName,
Map<String,?> props,
CallbackHandler cbh,
OperationCallback cb) |
TapOperation |
BinaryOperationFactory.tapAck(TapOpcode opcode,
int opaque,
OperationCallback cb) |
TapOperation |
BinaryOperationFactory.tapBackfill(String id,
long date,
OperationCallback cb) |
TapOperation |
BinaryOperationFactory.tapCustom(String id,
RequestMessage message,
OperationCallback cb) |
TapOperation |
BinaryOperationFactory.tapDump(String id,
OperationCallback cb) |
KeyedOperation |
BinaryOperationFactory.touch(String key,
int expiration,
OperationCallback cb) |
UnlockOperation |
BinaryOperationFactory.unlock(String key,
long casId,
OperationCallback cb) |
VersionOperation |
BinaryOperationFactory.version(OperationCallback cb) |
Constructor and Description |
---|
MultiGetOperationImpl(Collection<String> k,
OperationCallback cb) |
OperationImpl(byte c,
int o,
OperationCallback cb)
Construct with opaque.
|
SASLAuthOperationImpl(String[] m,
String s,
Map<String,?> p,
CallbackHandler h,
OperationCallback c) |
SASLBaseOperationImpl(byte c,
String[] m,
byte[] ch,
String s,
Map<String,?> p,
CallbackHandler h,
OperationCallback cb) |
SASLStepOperationImpl(String[] m,
byte[] ch,
String s,
Map<String,?> p,
CallbackHandler h,
OperationCallback c) |
TapOperationImpl(OperationCallback cb) |
TouchOperationImpl(String k,
int e,
OperationCallback cb) |
Modifier and Type | Method and Description |
---|---|
OperationCallback |
TapAck.getCallback() |
Constructor and Description |
---|
TapAck(TapConnectionProvider conn,
MemcachedNode node,
TapOpcode opcode,
int opaque,
OperationCallback cb) |
Copyright © 2021. All rights reserved.