public class ErrorCommand extends AbstractTextCommand
TextCommandConstants.TextCommandType
type
CLIENT_ERROR, DELETED, END, ERROR, FLAG_ZERO, MONTH_SECONDS, NOT_FOUND, NOT_STORED, RETURN, RETURN_END, SERVER_ERROR, SPACE, STORED, VALUE_SPACE
Constructor and Description |
---|
ErrorCommand(TextCommandConstants.TextCommandType type) |
ErrorCommand(TextCommandConstants.TextCommandType type,
String message) |
Modifier and Type | Method and Description |
---|---|
boolean |
doRead(ByteBuffer cb) |
String |
toString() |
boolean |
writeTo(ByteBuffer bb) |
getRequestId, getSocketTextReader, getSocketTextWriter, getType, init, onEnqueue, shouldReply
public ErrorCommand(TextCommandConstants.TextCommandType type)
public ErrorCommand(TextCommandConstants.TextCommandType type, String message)
public boolean doRead(ByteBuffer cb)
public boolean writeTo(ByteBuffer bb)
public String toString()
toString
in class AbstractTextCommand
Copyright © 2013 Hazelcast, Inc.. All rights reserved.