public class BinaryConfigResponse extends BinaryResponse
| Modifier and Type | Method and Description |
|---|---|
static BinaryResponse |
create(BinaryCommand command,
MemcachedServer server,
ErrorCode errOk,
ErrorCode errNotSupp)
Create a new response which contains a cluster configuration, if supported
|
static BinaryResponse |
createGetConfig(BinaryCommand command,
MemcachedServer server)
Creates a response for
CMD_GET_CONFIG |
static BinaryResponse |
createNotMyVbucket(BinaryCommand command,
MemcachedServer server)
Creates a response for
NOT_MY_VBUCKET conditions |
createWithValue, createWithValue, getBufferpublic static BinaryResponse create(BinaryCommand command, MemcachedServer server, ErrorCode errOk, ErrorCode errNotSupp)
command - The command receivedserver - The server on which the command was receivederrOk - Error code to be supplied if the configuration can be senterrNotSupp - Error code to be supplied if the configuration cannot
be sentpublic static BinaryResponse createGetConfig(BinaryCommand command, MemcachedServer server)
CMD_GET_CONFIGcommand - The command receivedserver - The serverpublic static BinaryResponse createNotMyVbucket(BinaryCommand command, MemcachedServer server)
NOT_MY_VBUCKET conditionscommand - The command which attempted to access the wrong vbucketserver - The bucket which we ownNOT_MY_VBUCKET. This will contain
a config payload, if supportedCopyright © 2017. All rights reserved.