Uses of Interface
net.spy.memcached.ops.Operation
Packages that use Operation
Package
Description
Memcached client and transformation utils
Auth Utilities.
Internal 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 Operation in net.spy.memcached
Fields in net.spy.memcached with type parameters of type OperationModifier and TypeFieldDescriptionMemcachedConnection.retryOpsHolds operations that need to be retried.Methods in net.spy.memcached that return OperationModifier and TypeMethodDescriptionMemcachedNode.getCurrentReadOp()Get the operation at the top of the queue that is requiring input.MemcachedNodeROImpl.getCurrentReadOp()MemcachedNode.getCurrentWriteOp()Get the operation at the top of the queue that has information available to write.MemcachedNodeROImpl.getCurrentWriteOp()private OperationMemcachedConnection.handleReadsWhenChannelEndOfStream(Operation currentOp, MemcachedNode node, ByteBuffer rbuf) Deal with an operation where the channel reached the end of a stream.BroadcastOpFactory.newOp(MemcachedNode n, CountDownLatch latch) Construct a new operation for delivery to the given node.MemcachedNode.removeCurrentReadOp()Remove the operation at the top of the queue that is requiring input.MemcachedNodeROImpl.removeCurrentReadOp()MemcachedNode.removeCurrentWriteOp()Remove the operation at the top of the queue that has information available to write.MemcachedNodeROImpl.removeCurrentWriteOp()Methods in net.spy.memcached that return types with arguments of type OperationModifier and TypeMethodDescriptionOperationFactory.clone(KeyedOperation op) Clone an operation.ConnectionFactory.createOperationQueue()Create a BlockingQueue for operations for a connection.DefaultConnectionFactory.createOperationQueue()ConnectionFactory.createReadOperationQueue()Create a BlockingQueue for the operations currently expecting to read responses from memcached.DefaultConnectionFactory.createReadOperationQueue()ConnectionFactory.createWriteOperationQueue()Create a BlockingQueue for the operations currently expecting to write requests to memcached.DefaultConnectionFactory.createWriteOperationQueue()MemcachedNode.destroyInputQueue()Extract all queued items for this node destructively.MemcachedNodeROImpl.destroyInputQueue()Methods in net.spy.memcached with parameters of type OperationModifier and TypeMethodDescriptionvoidAdd an operation to the queue.voidprotected voidMemcachedConnection.addOperation(String key, Operation o) Add an operation to a connection identified by the given key.protected voidMemcachedConnection.addOperation(MemcachedNode node, Operation o) Enqueue an operation on the given node.voidTapConnectionProvider.addTapAckOp(MemcachedNode node, Operation op) voidMemcachedConnection.enqueueOperation(String key, Operation o) Enqueue the givenOperationwith the used key.private OperationMemcachedConnection.handleReadsWhenChannelEndOfStream(Operation currentOp, MemcachedNode node, ByteBuffer rbuf) Deal with an operation where the channel reached the end of a stream.voidInsert an operation to the beginning of the queue.voidvoidMemcachedConnection.insertOperation(MemcachedNode node, Operation o) Insert an operation on the given node to the beginning of the queue.static voidMemcachedConnection.opSucceeded(Operation op) Reset the timeout counter for the given handling node.static voidMemcachedConnection.opTimedOut(Operation op) Increase the timeout counter for the given handling node.private voidMemcachedConnection.readBufferAndLogMetrics(Operation currentOp, ByteBuffer rbuf, MemcachedNode node) Read from the buffer and add metrics information.voidMemcachedConnection.redistributeOperation(Operation op) Redistribute the given operation to (potentially) other nodes.voidMemcachedConnection.retryOperation(Operation op) Add a operation to the retry queue.private static voidMemcachedConnection.setTimeout(Operation op, boolean isTimeout) Set the continuous timeout on an operation.Method parameters in net.spy.memcached with type arguments of type OperationModifier and TypeMethodDescriptionvoidMemcachedConnection.addOperations(Map<MemcachedNode, Operation> ops) Enqueue the given list of operations on each handling node.private voidMemcachedConnection.cancelOperations(Collection<Operation> ops) Cancel the given collection of operations.voidMemcachedConnection.redistributeOperations(Collection<Operation> ops) Redistribute the given list of operations to (potentially) other nodes. -
Uses of Operation in net.spy.memcached.auth
Methods in net.spy.memcached.auth that return OperationModifier and TypeMethodDescriptionprivate OperationAuthThread.buildOperation(OperationStatus st, OperationCallback cb, String[] supportedMechs) -
Uses of Operation in net.spy.memcached.internal
Fields in net.spy.memcached.internal declared as OperationFields in net.spy.memcached.internal with type parameters of type OperationModifier and TypeFieldDescriptionprivate final Collection<Operation> CheckedOperationTimeoutException.operationsprivate final Collection<Operation> BulkGetFuture.opsMethods in net.spy.memcached.internal that return types with arguments of type OperationModifier and TypeMethodDescriptionCheckedOperationTimeoutException.getOperations()Get the operation that timed out.Methods in net.spy.memcached.internal with parameters of type OperationModifier and TypeMethodDescriptionvoidGetFuture.setOperation(Operation to) voidOperationFuture.setOperation(Operation to) Set the Operation associated with this OperationFuture.Method parameters in net.spy.memcached.internal with type arguments of type OperationModifier and TypeMethodDescriptionprivate static StringCheckedOperationTimeoutException.createMessage(String message, Collection<Operation> ops) BulkGetFuture.internalGet(long to, TimeUnit unit, Collection<Operation> timedoutOps) refactored code common to both get(long, TimeUnit) and getSome(long, TimeUnit).Constructors in net.spy.memcached.internal with parameters of type OperationModifierConstructorDescriptionCheckedOperationTimeoutException(String message, Operation op) Construct a CheckedOperationTimeoutException with the given message and operation.Constructor parameters in net.spy.memcached.internal with type arguments of type OperationModifierConstructorDescriptionBulkGetFuture(Map<String, Future<T>> m, Collection<Operation> getOps, CountDownLatch l, ExecutorService service) CheckedOperationTimeoutException(String message, Collection<Operation> ops) -
Uses of Operation in net.spy.memcached.ops
Subinterfaces of Operation in net.spy.memcached.opsModifier and TypeInterfaceDescriptioninterfaceOperation that represents compare-and-swap.interfaceConcatenationOperation is used to append or prepend data to an existing object in the cache.interfaceDeletion operation.interfaceFlush operation marker.interfaceGat operation.interfaceGetl operation.interfaceGet operation.interfaceGets operation (get with CAS identifier support).interfaceOperations that contain keys.interfaceincr and decr operations.interfaceThe NOOP Operation.interfaceObserve operation.interfaceReplica get operation.interfaceReplica get operation.interfaceOperation for beginning a SASL auth cycle.interfaceOperation for listing supported SASL mechanisms.interfaceOperation for proceeding in a SASL auth negotiation.interfaceStats fetching operation.interfaceOperation that represents object storage.interfaceTap operation.interfaceTouch operation marker.interfaceUnlock operation.interfaceVersion operation.Methods in net.spy.memcached.ops that return types with arguments of type OperationModifier and TypeMethodDescriptionBaseOperationFactory.clone(KeyedOperation op) protected abstract Collection<? extends Operation> BaseOperationFactory.cloneGet(KeyedOperation op) ArrayOperationQueueFactory.create()LinkedOperationQueueFactory.create()OperationQueueFactory.create()Create an instance of a queue.Methods in net.spy.memcached.ops with parameters of type Operation -
Uses of Operation in net.spy.memcached.protocol
Classes in net.spy.memcached.protocol that implement OperationModifier and TypeClassDescriptionclassBase class for protocol-specific operation implementations.Fields in net.spy.memcached.protocol declared as OperationFields in net.spy.memcached.protocol with type parameters of type OperationModifier and TypeFieldDescriptionBaseOperationImpl.clonesIf the operation gets cloned, the reference is used to cascade cancellations and timeouts.private final BlockingQueue<Operation> TCPMemcachedNodeImpl.inputQueueprivate final BlockingQueue<Operation> TCPMemcachedNodeImpl.readQTCPMemcachedNodeImpl.reconnectBlockedprotected final BlockingQueue<Operation> TCPMemcachedNodeImpl.writeQMethods in net.spy.memcached.protocol that return OperationModifier and TypeMethodDescriptionfinal OperationTCPMemcachedNodeImpl.getCurrentReadOp()final OperationTCPMemcachedNodeImpl.getCurrentWriteOp()private OperationTCPMemcachedNodeImpl.getNextWritableOp()final OperationTCPMemcachedNodeImpl.removeCurrentReadOp()final OperationTCPMemcachedNodeImpl.removeCurrentWriteOp()Methods in net.spy.memcached.protocol that return types with arguments of type OperationMethods in net.spy.memcached.protocol with parameters of type OperationModifier and TypeMethodDescriptionvoidfinal voidfinal voidConstructor parameters in net.spy.memcached.protocol with type arguments of type OperationModifierConstructorDescriptionTCPMemcachedNodeImpl(SocketAddress sa, SocketChannel c, int bufSize, BlockingQueue<Operation> rq, BlockingQueue<Operation> wq, BlockingQueue<Operation> iq, long opQueueMaxBlockTime, boolean waitForAuth, long dt, long authWaitTime, ConnectionFactory fact) -
Uses of Operation in net.spy.memcached.protocol.ascii
Classes in net.spy.memcached.protocol.ascii that implement OperationModifier and TypeClassDescriptionclassBase class for get and gets handlers.(package private) classBase class for ascii store operations (add, set, replace, append, prepend).(package private) classclassOperation for ascii concatenations.(package private) final classOperation to delete an item from the cache.(package private) final classMemcached flush_all operation.classImplementation of the get and touch operation.(package private) classImplementation of the getl operation.(package private) classOperation for retrieving data.(package private) classImplementation of the gets operation.(package private) final classOperation for mutating integers inside of memcached.(package private) classOperations on a memcached connection.(package private) final classOptimized Get operation for folding a bunch of gets together.(package private) final classOperation to retrieve statistics from a memcached server.(package private) final classOperation to store data in a memcached server.(package private) final classMemcached touch operation.(package private) final classOperation to delete an item from the cache.(package private) final classOperation to request the version of a memcached server.Methods in net.spy.memcached.protocol.ascii that return types with arguments of type OperationModifier and TypeMethodDescriptionprotected Collection<? extends Operation> AsciiOperationFactory.cloneGet(KeyedOperation op) Constructor parameters in net.spy.memcached.protocol.ascii with type arguments of type OperationModifierConstructorDescriptionAsciiMemcachedNodeImpl(SocketAddress sa, SocketChannel c, int bufSize, BlockingQueue<Operation> rq, BlockingQueue<Operation> wq, BlockingQueue<Operation> iq, Long opQueueMaxBlockTimeNs, long dt, long at, ConnectionFactory fa) -
Uses of Operation in net.spy.memcached.protocol.binary
Classes in net.spy.memcached.protocol.binary that implement OperationModifier and TypeClassDescription(package private) class(package private) class(package private) classclassImplementation of the get and touch operation.classImplementation of the get and lock operation.(package private) classImplementation of the get operation.classImplementation of the gets operation.classA StatsOperationImpl.class(package private) classBinary operations that contain multiple keys and are VBucket aware operations should extend this class.(package private) class(package private) classImplementation of a noop operation.(package private) classclassBase class for binary operations.(package private) final classOptimized Get operation for folding a bunch of gets together.classOptimized Set operation for folding a bunch of sets together.classImplementation of the replica get operation.classImplementation of the replica gets operation.classSASL authenticator.classSASL authenticator.(package private) classclassA SASLStepOperationImpl.(package private) classBinary operations that contain a single key and are VBucket aware operations should extend this class.classA StatsOperationImpl.(package private) classclassImplementation of a tap ACK operation.classImplementation of a tap backfill operation.classImplementation of a custom tap operation.classImplementation of a tap dump operation.classAbstract implementation of a tap operation.classOperation to reset a timeout in Membase server.(package private) class(package private) classMethods in net.spy.memcached.protocol.binary that return types with arguments of type OperationModifier and TypeMethodDescriptionprotected Collection<? extends Operation> BinaryOperationFactory.cloneGet(KeyedOperation op) Constructor parameters in net.spy.memcached.protocol.binary with type arguments of type OperationModifierConstructorDescriptionBinaryMemcachedNodeImpl(SocketAddress sa, SocketChannel c, int bufSize, BlockingQueue<Operation> rq, BlockingQueue<Operation> wq, BlockingQueue<Operation> iq, Long opQueueMaxBlockTimeNs, boolean waitForAuth, long dt, long at, ConnectionFactory fa)