Uses of Interface
net.spy.memcached.ops.OperationCallback
Packages that use OperationCallback
Package
Description
Memcached client and transformation utils
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.deleteConfig(ConfigurationType type, OperationCallback operationCallback) Create a deletion operation for config.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.refreshCertificate(OperationCallback cb) Refresh the TLS certificateOperationFactory.saslAuth(SaslClient sc, OperationCallback cb) Create a new sasl auth operation.OperationFactory.saslMechs(OperationCallback cb) Create a new SASL mechs operation.OperationFactory.saslStep(SaslClient sc, byte[] ch, OperationCallback cb) Create a new sasl step operation.OperationFactory.setConfig(ConfigurationType type, int flags, byte[] data, OperationCallback cb) Create a setConfig operation.OperationFactory.tapAck(TapOpcode opcode, int opaque, OperationCallback cb) Sends a tap ack message to the server.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.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 getConfig 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.deleteConfig(ConfigurationType type, 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.refreshCertificate(OperationCallback cb) AsciiOperationFactory.saslAuth(SaslClient sc, OperationCallback cb) AsciiOperationFactory.saslMechs(OperationCallback cb) AsciiOperationFactory.saslStep(SaslClient sc, byte[] challenge, OperationCallback cb) AsciiOperationFactory.setConfig(ConfigurationType type, int flags, byte[] data, 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, OperationCallback cb, String k) BaseGetOpImpl(String c, OperationCallback cb, Collection<String> k) ConcatenationOperationImpl(ConcatenationType t, String k, byte[] d, OperationCallback cb) -
Uses of OperationCallback in net.spy.memcached.protocol.binary
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.deleteConfig(ConfigurationType type, 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.refreshCertificate(OperationCallback cb) BinaryOperationFactory.saslAuth(SaslClient sc, OperationCallback cb) BinaryOperationFactory.saslMechs(OperationCallback cb) BinaryOperationFactory.saslStep(SaslClient sc, byte[] ch, OperationCallback cb) BinaryOperationFactory.setConfig(ConfigurationType type, int flags, byte[] data, 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 OperationCallbackModifierConstructorDescriptionprotectedOperationImpl(byte c, int o, OperationCallback cb) Construct with opaque.SASLBaseOperationImpl(byte c, SaslClient sasl, byte[] challenge, OperationCallback cb) SASLStepOperationImpl(SaslClient sc, byte[] challenge, OperationCallback c) protectedprotectedTouchOperationImpl(String k, int e, OperationCallback cb) -
Uses of OperationCallback in net.spy.memcached.tapmessage
Methods 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)