Uses of Interface
net.spy.memcached.ops.OperationCallback
Packages that use OperationCallback
Package
Description
Memcached client and transformation utils
Auth Utilities.
Fundamental protocol operation interfaces
Base classes for protocol abstractions.
Low-level operations for the memcached ascii protocol
Low-level operations for the memcached binary protocol
-
Uses of OperationCallback in net.spy.memcached
Methods in net.spy.memcached with parameters of type OperationCallbackModifier and TypeMethodDescriptionOperationFactory.cat
(ConcatenationType catType, long casId, String key, byte[] data, OperationCallback cb) Get a concatenation operation.OperationFactory.flush
(int delay, OperationCallback operationCallback) Create a flush operation.OperationFactory.mutate
(Mutator m, String key, long by, long def, int exp, OperationCallback cb) Create a mutator operation.OperationFactory.noop
(OperationCallback cb) Create a NOOP operation.OperationFactory.saslAuth
(String[] mech, String serverName, Map<String, ?> props, CallbackHandler cbh, OperationCallback cb) Create a new sasl auth operation.OperationFactory.saslMechs
(OperationCallback cb) Create a new SASL mechs operation.OperationFactory.saslStep
(String[] mech, byte[] challenge, String serverName, Map<String, ?> props, CallbackHandler cbh, OperationCallback cb) Create a new sasl step operation.OperationFactory.tapAck
(TapOpcode opcode, int opaque, OperationCallback cb) Sends a tap ack message to the server.private void
TapClient.tapAck
(TapConnectionProvider conn, MemcachedNode node, TapOpcode opcode, int opaque, OperationCallback cb) OperationFactory.tapBackfill
(String id, long date, OperationCallback cb) Creates a tap backfill stream.OperationFactory.tapCustom
(String id, RequestMessage message, OperationCallback cb) Creates a custom tap stream.OperationFactory.tapDump
(String id, OperationCallback cb) Sends a tap dump message to the server.OperationFactory.touch
(String key, int expiration, OperationCallback cb) Resets a keys expiration time.OperationFactory.unlock
(String key, long casId, OperationCallback operationCallback) Create a Unlock operation.OperationFactory.version
(OperationCallback cb) Create a new version operation. -
Uses of OperationCallback in net.spy.memcached.auth
Methods in net.spy.memcached.auth with parameters of type OperationCallbackModifier and TypeMethodDescriptionprivate Operation
AuthThread.buildOperation
(OperationStatus st, OperationCallback cb, String[] supportedMechs) -
Uses of OperationCallback in net.spy.memcached.ops
Subinterfaces of OperationCallback in net.spy.memcached.opsModifier and TypeInterfaceDescriptionstatic interface
Delete operation callback.static interface
Operation callback for the gat request.static interface
Operation callback for the getl request.static interface
Operation callback for the get request.static interface
Operation callback for the Gets request.static interface
Operation callback for the Observe request.static interface
Operation callback for the replica get request.static interface
Operation callback for the replica get request.static interface
Callback for stats operation.static interface
Operation callback to get the CAS value.static interface
Operation callback for the tap dump request.Classes in net.spy.memcached.ops that implement OperationCallbackModifier and TypeClassDescriptionclass
MultiOperationCallback for get operations.class
MultiOperationCallback for get operations.class
An operation callback that will capture receivedStatus and complete invocations and dispatch to a single callback.class
MultiOperationCallback for replica get operations.Fields in net.spy.memcached.ops declared as OperationCallbackModifier and TypeFieldDescriptionprotected final OperationCallback
MultiOperationCallback.originalCallback
Methods in net.spy.memcached.ops that return OperationCallbackModifier and TypeMethodDescriptionOperation.getCallback()
Get the callback for this get operation.Constructors in net.spy.memcached.ops with parameters of type OperationCallbackModifierConstructorDescriptionMultiGetOperationCallback
(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) -
Uses of OperationCallback in net.spy.memcached.protocol
Classes in net.spy.memcached.protocol that implement OperationCallbackModifier and TypeClassDescriptionclass
Wrapper callback for use in optimized gets.class
Proxy callback used for dispatching callbacks over optimized gets.Fields in net.spy.memcached.protocol declared as OperationCallbackMethods in net.spy.memcached.protocol that return OperationCallbackModifier and TypeMethodDescriptionfinal OperationCallback
BaseOperationImpl.getCallback()
Get the operation callback associated with this operation.Methods in net.spy.memcached.protocol with parameters of type OperationCallbackModifier and TypeMethodDescriptionprotected void
BaseOperationImpl.setCallback
(OperationCallback to) Set the callback for this instance. -
Uses of OperationCallback in net.spy.memcached.protocol.ascii
Methods in net.spy.memcached.protocol.ascii with parameters of type OperationCallbackModifier and TypeMethodDescriptionAsciiOperationFactory.cat
(ConcatenationType catType, long casId, String key, byte[] data, OperationCallback cb) AsciiOperationFactory.flush
(int delay, OperationCallback cb) AsciiOperationFactory.mutate
(Mutator m, String key, long by, long exp, int def, OperationCallback cb) AsciiOperationFactory.noop
(OperationCallback cb) AsciiOperationFactory.saslAuth
(String[] mech, String serverName, Map<String, ?> props, CallbackHandler cbh, OperationCallback cb) AsciiOperationFactory.saslMechs
(OperationCallback cb) AsciiOperationFactory.saslStep
(String[] mech, byte[] challenge, String serverName, Map<String, ?> props, CallbackHandler cbh, OperationCallback cb) AsciiOperationFactory.tapAck
(TapOpcode opcode, int opaque, OperationCallback cb) AsciiOperationFactory.tapBackfill
(String id, long date, OperationCallback cb) AsciiOperationFactory.tapCustom
(String id, RequestMessage message, OperationCallback cb) AsciiOperationFactory.tapDump
(String id, OperationCallback cb) AsciiOperationFactory.touch
(String key, int expiration, OperationCallback cb) AsciiOperationFactory.unlock
(String key, long casId, OperationCallback cb) AsciiOperationFactory.version
(OperationCallback cb) Constructors in net.spy.memcached.protocol.ascii with parameters of type OperationCallbackModifierConstructorDescriptionBaseGetOpImpl
(String c, int e, OperationCallback cb, String k) BaseGetOpImpl
(String c, OperationCallback cb, Collection<String> k) BaseStoreOperationImpl
(String t, String k, int f, int e, byte[] d, OperationCallback cb) CASOperationImpl
(String k, long c, int f, int e, byte[] d, OperationCallback cb) ConcatenationOperationImpl
(ConcatenationType t, String k, byte[] d, OperationCallback cb) FlushOperationImpl
(int d, OperationCallback cb) MutatorOperationImpl
(Mutator m, String k, long amt, OperationCallback c) protected
StoreOperationImpl
(StoreType t, String k, int f, int e, byte[] d, OperationCallback cb) TouchOperationImpl
(String k, int t, OperationCallback cb) UnlockOperationImpl
(String k, long casId, OperationCallback cb) -
Uses of OperationCallback in net.spy.memcached.protocol.binary
Classes in net.spy.memcached.protocol.binary that implement OperationCallbackFields in net.spy.memcached.protocol.binary declared as OperationCallbackModifier and TypeFieldDescriptionprivate static final OperationCallback
OptimizedSetImpl.NOOP_CALLBACK
Fields in net.spy.memcached.protocol.binary with type parameters of type OperationCallbackModifier and TypeFieldDescriptionprivate final Map
<Integer, OperationCallback> OptimizedSetImpl.callbacks
Methods in net.spy.memcached.protocol.binary with parameters of type OperationCallbackModifier and TypeMethodDescriptionBinaryOperationFactory.cat
(ConcatenationType catType, long casId, String key, byte[] data, OperationCallback cb) BinaryOperationFactory.flush
(int delay, OperationCallback cb) BinaryOperationFactory.mutate
(Mutator m, String key, long by, long def, int exp, OperationCallback cb) BinaryOperationFactory.noop
(OperationCallback cb) BinaryOperationFactory.saslAuth
(String[] mech, String serverName, Map<String, ?> props, CallbackHandler cbh, OperationCallback cb) BinaryOperationFactory.saslMechs
(OperationCallback cb) BinaryOperationFactory.saslStep
(String[] mech, byte[] challenge, String serverName, Map<String, ?> props, CallbackHandler cbh, OperationCallback cb) BinaryOperationFactory.tapAck
(TapOpcode opcode, int opaque, OperationCallback cb) BinaryOperationFactory.tapBackfill
(String id, long date, OperationCallback cb) BinaryOperationFactory.tapCustom
(String id, RequestMessage message, OperationCallback cb) BinaryOperationFactory.tapDump
(String id, OperationCallback cb) BinaryOperationFactory.touch
(String key, int expiration, OperationCallback cb) BinaryOperationFactory.unlock
(String key, long casId, OperationCallback cb) BinaryOperationFactory.version
(OperationCallback cb) Constructors in net.spy.memcached.protocol.binary with parameters of type OperationCallbackModifierConstructorDescriptionConcatenationOperationImpl
(ConcatenationType t, String k, byte[] d, long c, OperationCallback cb) FlushOperationImpl
(int d, OperationCallback cb) protected
MultiKeyOperationImpl
(byte c, int o, OperationCallback cb) MutatorOperationImpl
(Mutator m, String k, long b, long d, int e, OperationCallback cb) ObserveOperationImpl
(String k, long c, int i, OperationCallback cb) protected
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) protected
SingleKeyOperationImpl
(byte c, int o, String k, OperationCallback cb) (package private)
TapAckOperationImpl
(TapOpcode opcode, int opaque, OperationCallback cb) (package private)
TapBackfillOperationImpl
(String id, long date, OperationCallback cb) (package private)
TapCustomOperationImpl
(String id, RequestMessage message, OperationCallback cb) (package private)
protected
protected
TouchOperationImpl
(String k, int e, OperationCallback cb) UnlockOperationImpl
(String k, long c, OperationCallback cb) -
Uses of OperationCallback in net.spy.memcached.tapmessage
Fields in net.spy.memcached.tapmessage declared as OperationCallbackMethods in net.spy.memcached.tapmessage that return OperationCallbackConstructors in net.spy.memcached.tapmessage with parameters of type OperationCallbackModifierConstructorDescriptionTapAck
(TapConnectionProvider conn, MemcachedNode node, TapOpcode opcode, int opaque, OperationCallback cb)