protected final class MemCachedClient.NIOLoader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private class |
MemCachedClient.NIOLoader.Connection |
Modifier and Type | Field and Description |
---|---|
protected MemCachedClient.NIOLoader.Connection[] |
conns |
protected MemCachedClient |
mc |
protected int |
numConns |
protected java.nio.channels.Selector |
selector |
Constructor and Description |
---|
MemCachedClient.NIOLoader(MemCachedClient mc) |
Modifier and Type | Method and Description |
---|---|
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) |
protected java.nio.channels.Selector selector
protected int numConns
protected MemCachedClient mc
protected MemCachedClient.NIOLoader.Connection[] conns
public MemCachedClient.NIOLoader(MemCachedClient mc)
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)
private void handleError(java.lang.Throwable e, java.lang.String[] keys)
private void handleKey(java.nio.channels.SelectionKey key) throws java.io.IOException
java.io.IOException
public void writeRequest(java.nio.channels.SelectionKey key) throws java.io.IOException
java.io.IOException
public void readResponse(java.nio.channels.SelectionKey key) throws java.io.IOException
java.io.IOException
Copyright © 2005 - greg whalin