public class MemcachedConnection extends Object
| Constructor and Description |
|---|
MemcachedConnection(MemcachedServer server) |
| Modifier and Type | Method and Description |
|---|---|
OutputContext |
borrowOutputContext()
Temporarily borrow the head chunk of the output buffers.
|
ByteBuffer |
getInputBuffer()
Gets the raw input buffer.
|
MutationInfoWriter |
getMutinfoWriter() |
boolean[] |
getSupportedFeatures() |
boolean |
isAuthenticated()
Check if this connection is authenticated
|
void |
returnOutputContext(OutputContext ctx)
Re-transfer ownership of a given output buffer to the connection
|
void |
sendResponse(BinaryResponse response)
Places the response into the current connection's output buffer.
|
void |
step()
Attempt to process a single command from the input buffer.
|
boolean |
supportsXerror() |
public MemcachedConnection(MemcachedServer server)
public void step()
throws IOException
IOException - if the client has been closedpublic void sendResponse(BinaryResponse response)
response - the response to enqueuepublic ByteBuffer getInputBuffer()
public OutputContext borrowOutputContext()
returnOutputContext(OutputContext)public void returnOutputContext(OutputContext ctx)
ctx - An OutputContext previously returned by borrowOutputContext()public boolean isAuthenticated()
public MutationInfoWriter getMutinfoWriter()
public boolean supportsXerror()
public boolean[] getSupportedFeatures()
Copyright © 2017. All rights reserved.