public abstract class BaseOperationFactory extends java.lang.Object implements OperationFactory
There is little common code between OperationFactory implementations, but some exists, and is complicated and likely to cause problems.
| Constructor and Description |
|---|
BaseOperationFactory() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Operation> |
clone(KeyedOperation op)
Clone an operation.
|
protected abstract java.util.Collection<? extends Operation> |
cloneGet(KeyedOperation op) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcas, cat, delete, delete, deleteConfig, flush, get, get, getAndTouch, getConfig, getl, gets, keyStats, mutate, noop, observe, refreshCertificate, replicaGet, replicaGets, saslAuth, saslMechs, saslStep, setConfig, stats, store, tapAck, tapBackfill, tapCustom, tapDump, touch, unlock, versionpublic java.util.Collection<Operation> clone(KeyedOperation op)
OperationFactoryThis is used for requeueing operations after a server is found to be down.
Note that it returns more than one operation because a multi-get could potentially need to be played against a large number of underlying servers. In this case, there's a separate operation for each, and callback façade to reassemble them. It is left up to the operation pipeline to perform whatever optimization is required to turn these back into multi-gets.
clone in interface OperationFactoryop - the operation to cloneprotected abstract java.util.Collection<? extends Operation> cloneGet(KeyedOperation op)
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.