com.hazelcast.ascii.memcache
Class MemcacheCommandProcessor<T>

java.lang.Object
  extended by com.hazelcast.ascii.AbstractTextCommandProcessor<T>
      extended by com.hazelcast.ascii.memcache.MemcacheCommandProcessor<T>
All Implemented Interfaces:
TextCommandProcessor<T>
Direct Known Subclasses:
DeleteCommandProcessor, GetCommandProcessor, IncrementCommandProcessor, SetCommandProcessor, SimpleCommandProcessor, StatsCommandProcessor, TouchCommandProcessor, VersionCommandProcessor

public abstract class MemcacheCommandProcessor<T>
extends AbstractTextCommandProcessor<T>


Field Summary
static String DEFAULT_MAP_NAME
           
static String MAP_NAME_PRECEDER
           
 
Fields inherited from class com.hazelcast.ascii.AbstractTextCommandProcessor
textCommandService
 
Constructor Summary
protected MemcacheCommandProcessor(TextCommandService textCommandService)
           
 
Method Summary
static int byteArrayToLong(byte[] v)
           
static byte[] concatenate(byte[] a, byte[] b)
           
static byte[] longToByteArray(long v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hazelcast.ascii.TextCommandProcessor
handle, handleRejection
 

Field Detail

MAP_NAME_PRECEDER

public static final String MAP_NAME_PRECEDER
See Also:
Constant Field Values

DEFAULT_MAP_NAME

public static final String DEFAULT_MAP_NAME
See Also:
Constant Field Values
Constructor Detail

MemcacheCommandProcessor

protected MemcacheCommandProcessor(TextCommandService textCommandService)
Method Detail

longToByteArray

public static byte[] longToByteArray(long v)

byteArrayToLong

public static int byteArrayToLong(byte[] v)

concatenate

public static byte[] concatenate(byte[] a,
                                 byte[] b)


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.