GigaSpaces XAP 9.0 API

org.openspaces.memcached.protocol.binary
Enum MemcachedBinaryCommandDecoder.BinaryOp

java.lang.Object
  extended by java.lang.Enum<MemcachedBinaryCommandDecoder.BinaryOp>
      extended by org.openspaces.memcached.protocol.binary.MemcachedBinaryCommandDecoder.BinaryOp
All Implemented Interfaces:
Serializable, Comparable<MemcachedBinaryCommandDecoder.BinaryOp>
Enclosing class:
MemcachedBinaryCommandDecoder

public static enum MemcachedBinaryCommandDecoder.BinaryOp
extends Enum<MemcachedBinaryCommandDecoder.BinaryOp>


Enum Constant Summary
Add
           
AddQ
           
Append
           
AppendQ
           
Decrement
           
DecrementQ
           
Delete
           
DeleteQ
           
Flush
           
FlushQ
           
Get
           
GetK
           
GetKQ
           
GetQ
           
Increment
           
IncrementQ
           
Noop
           
Prepend
           
PrependQ
           
Quit
           
QuitQ
           
Replace
           
ReplaceQ
           
Set
           
SetQ
           
Stat
           
Version
           
 
Method Summary
static MemcachedBinaryCommandDecoder.BinaryOp forCommandMessage(CommandMessage msg)
           
 byte getCode()
           
 Op getCorrespondingOp()
           
 boolean isAddKeyToResponse()
           
 boolean isNoreply()
           
static MemcachedBinaryCommandDecoder.BinaryOp valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MemcachedBinaryCommandDecoder.BinaryOp[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Get

public static final MemcachedBinaryCommandDecoder.BinaryOp Get

Set

public static final MemcachedBinaryCommandDecoder.BinaryOp Set

Add

public static final MemcachedBinaryCommandDecoder.BinaryOp Add

Replace

public static final MemcachedBinaryCommandDecoder.BinaryOp Replace

Delete

public static final MemcachedBinaryCommandDecoder.BinaryOp Delete

Increment

public static final MemcachedBinaryCommandDecoder.BinaryOp Increment

Decrement

public static final MemcachedBinaryCommandDecoder.BinaryOp Decrement

Quit

public static final MemcachedBinaryCommandDecoder.BinaryOp Quit

Flush

public static final MemcachedBinaryCommandDecoder.BinaryOp Flush

GetQ

public static final MemcachedBinaryCommandDecoder.BinaryOp GetQ

Noop

public static final MemcachedBinaryCommandDecoder.BinaryOp Noop

Version

public static final MemcachedBinaryCommandDecoder.BinaryOp Version

GetK

public static final MemcachedBinaryCommandDecoder.BinaryOp GetK

GetKQ

public static final MemcachedBinaryCommandDecoder.BinaryOp GetKQ

Append

public static final MemcachedBinaryCommandDecoder.BinaryOp Append

Prepend

public static final MemcachedBinaryCommandDecoder.BinaryOp Prepend

Stat

public static final MemcachedBinaryCommandDecoder.BinaryOp Stat

SetQ

public static final MemcachedBinaryCommandDecoder.BinaryOp SetQ

AddQ

public static final MemcachedBinaryCommandDecoder.BinaryOp AddQ

ReplaceQ

public static final MemcachedBinaryCommandDecoder.BinaryOp ReplaceQ

DeleteQ

public static final MemcachedBinaryCommandDecoder.BinaryOp DeleteQ

IncrementQ

public static final MemcachedBinaryCommandDecoder.BinaryOp IncrementQ

DecrementQ

public static final MemcachedBinaryCommandDecoder.BinaryOp DecrementQ

QuitQ

public static final MemcachedBinaryCommandDecoder.BinaryOp QuitQ

FlushQ

public static final MemcachedBinaryCommandDecoder.BinaryOp FlushQ

AppendQ

public static final MemcachedBinaryCommandDecoder.BinaryOp AppendQ

PrependQ

public static final MemcachedBinaryCommandDecoder.BinaryOp PrependQ
Method Detail

values

public static MemcachedBinaryCommandDecoder.BinaryOp[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MemcachedBinaryCommandDecoder.BinaryOp c : MemcachedBinaryCommandDecoder.BinaryOp.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MemcachedBinaryCommandDecoder.BinaryOp valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

forCommandMessage

public static MemcachedBinaryCommandDecoder.BinaryOp forCommandMessage(CommandMessage msg)

isAddKeyToResponse

public boolean isAddKeyToResponse()

isNoreply

public boolean isNoreply()

getCorrespondingOp

public Op getCorrespondingOp()

getCode

public byte getCode()

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.