Uses of Interface
net.spy.memcached.ops.Operation
-
Packages that use Operation Package Description net.spy.memcached Memcached client and transformation utilsnet.spy.memcached.auth Auth Utilities.net.spy.memcached.internal Internal utilities.net.spy.memcached.ops Fundamental protocol operation interfacesnet.spy.memcached.protocol Base classes for protocol abstractions.net.spy.memcached.protocol.ascii Low-level operations for the memcached ascii protocolnet.spy.memcached.protocol.binary 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 Operation Modifier and Type Field Description private java.util.List<Operation>MemcachedConnection. retryOpsHolds operations that need to be retried.Methods in net.spy.memcached that return Operation Modifier and Type Method Description OperationMemcachedNode. getCurrentReadOp()Get the operation at the top of the queue that is requiring input.OperationMemcachedNodeROImpl. getCurrentReadOp()OperationMemcachedNode. getCurrentWriteOp()Get the operation at the top of the queue that has information available to write.OperationMemcachedNodeROImpl. getCurrentWriteOp()private OperationMemcachedConnection. handleReadsWhenChannelEndOfStream(Operation currentOp, MemcachedNode node, java.nio.ByteBuffer rbuf)Deal with an operation where the channel reached the end of a stream.OperationBroadcastOpFactory. newOp(MemcachedNode n, java.util.concurrent.CountDownLatch latch)Construct a new operation for delivery to the given node.OperationMemcachedNode. removeCurrentReadOp()Remove the operation at the top of the queue that is requiring input.OperationMemcachedNodeROImpl. removeCurrentReadOp()OperationMemcachedNode. removeCurrentWriteOp()Remove the operation at the top of the queue that has information available to write.OperationMemcachedNodeROImpl. removeCurrentWriteOp()Methods in net.spy.memcached that return types with arguments of type Operation Modifier and Type Method Description java.util.Collection<Operation>OperationFactory. clone(KeyedOperation op)Clone an operation.java.util.concurrent.BlockingQueue<Operation>ConnectionFactory. createOperationQueue()Create a BlockingQueue for operations for a connection.java.util.concurrent.BlockingQueue<Operation>DefaultConnectionFactory. createOperationQueue()java.util.concurrent.BlockingQueue<Operation>ConnectionFactory. createReadOperationQueue()Create a BlockingQueue for the operations currently expecting to read responses from memcached.java.util.concurrent.BlockingQueue<Operation>DefaultConnectionFactory. createReadOperationQueue()java.util.concurrent.BlockingQueue<Operation>ConnectionFactory. createWriteOperationQueue()Create a BlockingQueue for the operations currently expecting to write requests to memcached.java.util.concurrent.BlockingQueue<Operation>DefaultConnectionFactory. createWriteOperationQueue()java.util.Collection<Operation>MemcachedNode. destroyInputQueue()Extract all queued items for this node destructively.java.util.Collection<Operation>MemcachedNodeROImpl. destroyInputQueue()Methods in net.spy.memcached with parameters of type Operation Modifier and Type Method Description voidMemcachedNode. addOp(Operation op)Add an operation to the queue.voidMemcachedNodeROImpl. addOp(Operation op)protected voidMemcachedConnection. addOperation(java.lang.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(java.lang.String key, Operation o)Enqueue the givenOperationwith the used key.private OperationMemcachedConnection. handleReadsWhenChannelEndOfStream(Operation currentOp, MemcachedNode node, java.nio.ByteBuffer rbuf)Deal with an operation where the channel reached the end of a stream.voidMemcachedNode. insertOp(Operation o)Insert an operation to the beginning of the queue.voidMemcachedNodeROImpl. insertOp(Operation op)voidMemcachedConnection. 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, java.nio.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 Operation Modifier and Type Method Description voidMemcachedConnection. addOperations(java.util.Map<MemcachedNode,Operation> ops)Enqueue the given list of operations on each handling node.private voidMemcachedConnection. cancelOperations(java.util.Collection<Operation> ops)Cancel the given collection of operations.voidMemcachedConnection. redistributeOperations(java.util.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 Operation Modifier and Type Method Description private OperationAuthThread. buildOperation(OperationStatus st, OperationCallback cb, java.lang.String[] supportedMechs) -
Uses of Operation in net.spy.memcached.internal
Fields in net.spy.memcached.internal declared as Operation Modifier and Type Field Description private OperationOperationFuture. opFields in net.spy.memcached.internal with type parameters of type Operation Modifier and Type Field Description private java.util.Collection<Operation>CheckedOperationTimeoutException. operationsprivate java.util.Collection<Operation>BulkGetFuture. opsMethods in net.spy.memcached.internal that return types with arguments of type Operation Modifier and Type Method Description java.util.Collection<Operation>CheckedOperationTimeoutException. getOperations()Get the operation that timed out.Methods in net.spy.memcached.internal with parameters of type Operation Modifier and Type Method Description voidGetFuture. 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 Operation Modifier and Type Method Description private static java.lang.StringCheckedOperationTimeoutException. createMessage(java.lang.String message, java.util.Collection<Operation> ops)private java.util.Map<java.lang.String,T>BulkGetFuture. internalGet(long to, java.util.concurrent.TimeUnit unit, java.util.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 Operation Constructor Description CheckedOperationTimeoutException(java.lang.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 Operation Constructor Description BulkGetFuture(java.util.Map<java.lang.String,java.util.concurrent.Future<T>> m, java.util.Collection<Operation> getOps, java.util.concurrent.CountDownLatch l, java.util.concurrent.ExecutorService service)CheckedOperationTimeoutException(java.lang.String message, java.util.Collection<Operation> ops) -
Uses of Operation in net.spy.memcached.ops
Subinterfaces of Operation in net.spy.memcached.ops Modifier and Type Interface Description interfaceCASOperationOperation that represents compare-and-swap.interfaceConcatenationOperationConcatenationOperation is used to append or prepend data to an existing object in the cache.interfaceDeleteOperationDeletion operation.interfaceFlushOperationFlush operation marker.interfaceGetAndTouchOperationGat operation.interfaceGetlOperationGetl operation.interfaceGetOperationGet operation.interfaceGetsOperationGets operation (get with CAS identifier support).interfaceKeyedOperationOperations that contain keys.interfaceMutatorOperationincr and decr operations.interfaceNoopOperationThe NOOP Operation.interfaceObserveOperationObserve operation.interfaceReplicaGetOperationReplica get operation.interfaceReplicaGetsOperationReplica get operation.interfaceSASLAuthOperationOperation for beginning a SASL auth cycle.interfaceSASLMechsOperationOperation for listing supported SASL mechanisms.interfaceSASLStepOperationOperation for proceeding in a SASL auth negotiation.interfaceStatsOperationStats fetching operation.interfaceStoreOperationOperation that represents object storage.interfaceTapOperationTap operation.interfaceTouchOperationTouch operation marker.interfaceUnlockOperationUnlock operation.interfaceVersionOperationVersion operation.Methods in net.spy.memcached.ops that return types with arguments of type Operation Modifier and Type Method Description java.util.Collection<Operation>BaseOperationFactory. clone(KeyedOperation op)protected abstract java.util.Collection<? extends Operation>BaseOperationFactory. cloneGet(KeyedOperation op)java.util.concurrent.BlockingQueue<Operation>ArrayOperationQueueFactory. create()java.util.concurrent.BlockingQueue<Operation>LinkedOperationQueueFactory. create()java.util.concurrent.BlockingQueue<Operation>OperationQueueFactory. create()Create an instance of a queue.Methods in net.spy.memcached.ops with parameters of type Operation Modifier and Type Method Description voidOperation. addClone(Operation op)Add the clone from this operation. -
Uses of Operation in net.spy.memcached.protocol
Classes in net.spy.memcached.protocol that implement Operation Modifier and Type Class Description classBaseOperationImplBase class for protocol-specific operation implementations.Fields in net.spy.memcached.protocol declared as Operation Modifier and Type Field Description protected OperationTCPMemcachedNodeImpl. optimizedOpFields in net.spy.memcached.protocol with type parameters of type Operation Modifier and Type Field Description private java.util.List<Operation>BaseOperationImpl. clonesIf the operation gets cloned, the reference is used to cascade cancellations and timeouts.private java.util.concurrent.BlockingQueue<Operation>TCPMemcachedNodeImpl. inputQueueprivate java.util.concurrent.BlockingQueue<Operation>TCPMemcachedNodeImpl. readQprivate java.util.ArrayList<Operation>TCPMemcachedNodeImpl. reconnectBlockedprotected java.util.concurrent.BlockingQueue<Operation>TCPMemcachedNodeImpl. writeQMethods in net.spy.memcached.protocol that return Operation Modifier and Type Method Description OperationTCPMemcachedNodeImpl. getCurrentReadOp()OperationTCPMemcachedNodeImpl. getCurrentWriteOp()private OperationTCPMemcachedNodeImpl. getNextWritableOp()OperationTCPMemcachedNodeImpl. removeCurrentReadOp()OperationTCPMemcachedNodeImpl. removeCurrentWriteOp()Methods in net.spy.memcached.protocol that return types with arguments of type Operation Modifier and Type Method Description java.util.Collection<Operation>TCPMemcachedNodeImpl. destroyInputQueue()Methods in net.spy.memcached.protocol with parameters of type Operation Modifier and Type Method Description voidBaseOperationImpl. addClone(Operation op)voidTCPMemcachedNodeImpl. addOp(Operation op)voidTCPMemcachedNodeImpl. insertOp(Operation op)Constructor parameters in net.spy.memcached.protocol with type arguments of type Operation Constructor Description TCPMemcachedNodeImpl(java.net.SocketAddress sa, java.nio.channels.SocketChannel c, int bufSize, java.util.concurrent.BlockingQueue<Operation> rq, java.util.concurrent.BlockingQueue<Operation> wq, java.util.concurrent.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 Operation Modifier and Type Class Description classBaseGetOpImplBase class for get and gets handlers.(package private) classBaseStoreOperationImplBase class for ascii store operations (add, set, replace, append, prepend).(package private) classCASOperationImplclassConcatenationOperationImplOperation for ascii concatenations.(package private) classDeleteOperationImplOperation to delete an item from the cache.(package private) classFlushOperationImplMemcached flush_all operation.classGetAndTouchOperationImplImplementation of the get and touch operation.(package private) classGetlOperationImplImplementation of the getl operation.(package private) classGetOperationImplOperation for retrieving data.(package private) classGetsOperationImplImplementation of the gets operation.(package private) classMutatorOperationImplOperation for mutating integers inside of memcached.(package private) classOperationImplOperations on a memcached connection.(package private) classOptimizedGetImplOptimized Get operation for folding a bunch of gets together.(package private) classStatsOperationImplOperation to retrieve statistics from a memcached server.(package private) classStoreOperationImplOperation to store data in a memcached server.(package private) classTouchOperationImplMemcached touch operation.(package private) classUnlockOperationImplOperation to delete an item from the cache.(package private) classVersionOperationImplOperation to request the version of a memcached server.Methods in net.spy.memcached.protocol.ascii that return types with arguments of type Operation Modifier and Type Method Description protected java.util.Collection<? extends Operation>AsciiOperationFactory. cloneGet(KeyedOperation op)Constructor parameters in net.spy.memcached.protocol.ascii with type arguments of type Operation Constructor Description AsciiMemcachedNodeImpl(java.net.SocketAddress sa, java.nio.channels.SocketChannel c, int bufSize, java.util.concurrent.BlockingQueue<Operation> rq, java.util.concurrent.BlockingQueue<Operation> wq, java.util.concurrent.BlockingQueue<Operation> iq, java.lang.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 Operation Modifier and Type Class Description (package private) classConcatenationOperationImpl(package private) classDeleteOperationImpl(package private) classFlushOperationImplclassGetAndTouchOperationImplImplementation of the get and touch operation.classGetlOperationImplImplementation of the get and lock operation.(package private) classGetOperationImplImplementation of the get operation.classGetsOperationImplImplementation of the gets operation.classKeyStatsOperationImplA StatsOperationImpl.classMultiGetOperationImpl(package private) classMultiKeyOperationImplBinary operations that contain multiple keys and are VBucket aware operations should extend this class.(package private) classMutatorOperationImpl(package private) classNoopOperationImplImplementation of a noop operation.(package private) classObserveOperationImplclassOperationImplBase class for binary operations.(package private) classOptimizedGetImplOptimized Get operation for folding a bunch of gets together.classOptimizedSetImplOptimized Set operation for folding a bunch of sets together.classReplicaGetOperationImplImplementation of the replica get operation.classReplicaGetsOperationImplImplementation of the replica gets operation.classSASLAuthOperationImplSASL authenticator.classSASLBaseOperationImplSASL authenticator.(package private) classSASLMechsOperationImplclassSASLStepOperationImplA SASLStepOperationImpl.(package private) classSingleKeyOperationImplBinary operations that contain a single key and are VBucket aware operations should extend this class.classStatsOperationImplA StatsOperationImpl.(package private) classStoreOperationImplclassTapAckOperationImplImplementation of a tap ACK operation.classTapBackfillOperationImplImplementation of a tap backfill operation.classTapCustomOperationImplImplementation of a custom tap operation.classTapDumpOperationImplImplementation of a tap dump operation.classTapOperationImplAbstract implementation of a tap operation.classTouchOperationImplOperation to reset a timeout in Membase server.(package private) classUnlockOperationImpl(package private) classVersionOperationImplMethods in net.spy.memcached.protocol.binary that return types with arguments of type Operation Modifier and Type Method Description protected java.util.Collection<? extends Operation>BinaryOperationFactory. cloneGet(KeyedOperation op)Constructor parameters in net.spy.memcached.protocol.binary with type arguments of type Operation Constructor Description BinaryMemcachedNodeImpl(java.net.SocketAddress sa, java.nio.channels.SocketChannel c, int bufSize, java.util.concurrent.BlockingQueue<Operation> rq, java.util.concurrent.BlockingQueue<Operation> wq, java.util.concurrent.BlockingQueue<Operation> iq, java.lang.Long opQueueMaxBlockTimeNs, boolean waitForAuth, long dt, long at, ConnectionFactory fa)
-