Package net.spy.memcached.protocol.ascii
Class AsciiMemcachedNodeImpl
- java.lang.Object
-
- net.spy.memcached.compat.SpyObject
-
- net.spy.memcached.protocol.TCPMemcachedNodeImpl
-
- net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl
-
- All Implemented Interfaces:
MemcachedNode
public final class AsciiMemcachedNodeImpl extends TCPMemcachedNodeImpl
Memcached node for the ASCII protocol.
-
-
Field Summary
-
Fields inherited from class net.spy.memcached.protocol.TCPMemcachedNodeImpl
optimizedOp, writeQ
-
-
Constructor Summary
Constructors 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
optimize()
-
Methods inherited from class net.spy.memcached.protocol.TCPMemcachedNodeImpl
addOp, authComplete, completedRead, connected, copyInputQueue, destroyInputQueue, fillWriteBuffer, fixupOps, getBytesRemainingToWrite, getChannel, getConnection, getContinuousTimeout, getCurrentReadOp, getCurrentWriteOp, getRbuf, getReconnectCount, getSelectionOps, getSk, getSocketAddress, getWbuf, hasReadOp, hasWriteOp, insertOp, isActive, isAuthenticated, lastReadDelta, reconnecting, registerChannel, removeCurrentReadOp, removeCurrentWriteOp, setChannel, setConnection, setContinuousTimeout, setSk, setupForAuth, setupResend, toString, transitionWriteItem, writeSome
-
-
-
-
Constructor Detail
-
AsciiMemcachedNodeImpl
public 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)
-
-
Method Detail
-
optimize
protected void optimize()
- Specified by:
optimize
in classTCPMemcachedNodeImpl
-
-