com.danga.MemCached
Class MemCachedClient.NIOLoader
java.lang.Object
com.danga.MemCached.MemCachedClient.NIOLoader
- Enclosing class:
- MemCachedClient
protected final class MemCachedClient.NIOLoader
- extends java.lang.Object
Method Summary |
void |
doMulti(boolean asString,
java.util.Map<java.lang.String,java.lang.StringBuilder> sockKeys,
java.lang.String[] keys,
java.util.Map<java.lang.String,java.lang.Object> ret)
|
private void |
handleError(java.lang.Throwable e,
java.lang.String[] keys)
|
private void |
handleKey(java.nio.channels.SelectionKey key)
|
void |
readResponse(java.nio.channels.SelectionKey key)
|
void |
writeRequest(java.nio.channels.SelectionKey key)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
selector
protected java.nio.channels.Selector selector
numConns
protected int numConns
mc
protected MemCachedClient mc
conns
protected MemCachedClient.NIOLoader.Connection[] conns
MemCachedClient.NIOLoader
public MemCachedClient.NIOLoader(MemCachedClient mc)
doMulti
public void doMulti(boolean asString,
java.util.Map<java.lang.String,java.lang.StringBuilder> sockKeys,
java.lang.String[] keys,
java.util.Map<java.lang.String,java.lang.Object> ret)
handleError
private void handleError(java.lang.Throwable e,
java.lang.String[] keys)
handleKey
private void handleKey(java.nio.channels.SelectionKey key)
throws java.io.IOException
- Throws:
java.io.IOException
writeRequest
public void writeRequest(java.nio.channels.SelectionKey key)
throws java.io.IOException
- Throws:
java.io.IOException
readResponse
public void readResponse(java.nio.channels.SelectionKey key)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2005 - greg whalin