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 voidTapClient.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 OperationAuthThread.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 interfaceDelete operation callback.static interfaceOperation callback for the gat request.static interfaceOperation callback for the getl request.static interfaceOperation callback for the get request.static interfaceOperation callback for the Gets request.static interfaceOperation callback for the Observe request.static interfaceOperation callback for the replica get request.static interfaceOperation callback for the replica get request.static interfaceCallback for stats operation.static interfaceOperation callback to get the CAS value.static interfaceOperation callback for the tap dump request.Classes in net.spy.memcached.ops that implement OperationCallbackModifier and TypeClassDescriptionclassMultiOperationCallback for get operations.classMultiOperationCallback for get operations.classAn operation callback that will capture receivedStatus and complete invocations and dispatch to a single callback.classMultiOperationCallback for replica get operations.Fields in net.spy.memcached.ops declared as OperationCallbackModifier and TypeFieldDescriptionprotected final OperationCallbackMultiOperationCallback.originalCallbackMethods 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 TypeClassDescriptionclassWrapper callback for use in optimized gets.classProxy 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 OperationCallbackBaseOperationImpl.getCallback()Get the operation callback associated with this operation.Methods in net.spy.memcached.protocol with parameters of type OperationCallbackModifier and TypeMethodDescriptionprotected voidBaseOperationImpl.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) protectedStoreOperationImpl(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 OperationCallbackOptimizedSetImpl.NOOP_CALLBACKFields in net.spy.memcached.protocol.binary with type parameters of type OperationCallbackModifier and TypeFieldDescriptionprivate final Map<Integer, OperationCallback> OptimizedSetImpl.callbacksMethods 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) protectedMultiKeyOperationImpl(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) protectedOperationImpl(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) protectedSingleKeyOperationImpl(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)protectedprotectedTouchOperationImpl(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)