Uses of Class
net.rubyeye.xmemcached.command.CommandType
-
Packages that use CommandType Package Description net.rubyeye.xmemcached XMemcached's main classes and interfaces,use these classes/interfaces to interact with memcached servers.net.rubyeye.xmemcached.command Memcached protocol implementationsnet.rubyeye.xmemcached.command.binary Memcached text protocol implementationsnet.rubyeye.xmemcached.command.kestrel Kestrel protocol implementationsnet.rubyeye.xmemcached.command.text Memcached text protocol implementationsnet.rubyeye.xmemcached.impl Manage tcp connection,memcached protocol optimized,and some MBeans for monitor.net.rubyeye.xmemcached.monitor JMX MBean Server and MBeans for monitor and statistics -
-
Uses of CommandType in net.rubyeye.xmemcached
Methods in net.rubyeye.xmemcached with parameters of type CommandType Modifier and Type Method Description Command
CommandFactory. createGetCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, Transcoder transcoder)
create a get/gets command<T> Command
CommandFactory. createGetMultiCommand(java.util.Collection<java.lang.String> keys, java.util.concurrent.CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder)
Create a multi-get commandCommand
CommandFactory. createIncrDecrCommand(java.lang.String key, byte[] keyBytes, long delta, long initial, int expTime, CommandType cmdType, boolean noreply)
create a incr/decr commandprivate <T> java.lang.Object
XMemcachedClient. fetch0(java.lang.String key, byte[] keyBytes, CommandType cmdType, long timeout, Transcoder<T> transcoder)
private <T> java.lang.Object
XMemcachedClient. get0(java.lang.String key, long timeout, CommandType cmdType, Transcoder<T> transcoder)
private <T> java.util.Map<java.lang.String,T>
XMemcachedClient. getMulti0(java.util.Collection<java.lang.String> keys, long timeout, CommandType cmdType, Transcoder<T> transcoder)
private <T> java.util.Map<java.lang.String,T>
XMemcachedClient. reduceResult(CommandType cmdType, Transcoder<T> transcoder, java.util.List<Command> commands)
private <T> Command
XMemcachedClient. sendGetMultiCommand(java.util.Collection<java.lang.String> keys, java.util.concurrent.CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder)
private long
XMemcachedClient. sendIncrOrDecrCommand(java.lang.String key, long delta, long initValue, CommandType cmdType, boolean noreply, long operationTimeout, int exp)
-
Uses of CommandType in net.rubyeye.xmemcached.command
Fields in net.rubyeye.xmemcached.command declared as CommandType Modifier and Type Field Description protected CommandType
Command. commandType
Methods in net.rubyeye.xmemcached.command that return CommandType Modifier and Type Method Description CommandType
Command. getCommandType()
static CommandType
CommandType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CommandType[]
CommandType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.rubyeye.xmemcached.command with parameters of type CommandType Modifier and Type Method Description Command
BinaryCommandFactory. createGetCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, Transcoder transcoder)
Command
KestrelCommandFactory. createGetCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, Transcoder transcoder)
Command
TextCommandFactory. createGetCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, Transcoder transcoder)
<T> Command
BinaryCommandFactory. createGetMultiCommand(java.util.Collection<java.lang.String> keys, java.util.concurrent.CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder)
<T> Command
KestrelCommandFactory. createGetMultiCommand(java.util.Collection<java.lang.String> keys, java.util.concurrent.CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder)
<T> Command
TextCommandFactory. createGetMultiCommand(java.util.Collection<java.lang.String> keys, java.util.concurrent.CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder)
Command
BinaryCommandFactory. createIncrDecrCommand(java.lang.String key, byte[] keyBytes, long amount, long initial, int expTime, CommandType cmdType, boolean noreply)
Command
KestrelCommandFactory. createIncrDecrCommand(java.lang.String key, byte[] keyBytes, long amount, long initial, int expTime, CommandType cmdType, boolean noreply)
Command
TextCommandFactory. createIncrDecrCommand(java.lang.String key, byte[] keyBytes, long amount, long initial, int exptime, CommandType cmdType, boolean noreply)
(package private) Command
BinaryCommandFactory. createStoreCommand(java.lang.String key, byte[] keyBytes, int exp, java.lang.Object value, CommandType cmdType, boolean noreply, Transcoder transcoder)
(package private) Command
TextCommandFactory. createStoreCommand(java.lang.String key, byte[] keyBytes, int exp, java.lang.Object value, CommandType cmdType, boolean noreply, Transcoder transcoder)
void
Command. setCommandType(CommandType commandType)
Constructors in net.rubyeye.xmemcached.command with parameters of type CommandType Constructor Description Command(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch)
Command(java.lang.String key, CommandType commandType, java.util.concurrent.CountDownLatch latch)
Command(CommandType cmdType)
Command(CommandType cmdType, java.util.concurrent.CountDownLatch latch)
-
Uses of CommandType in net.rubyeye.xmemcached.command.binary
Constructors in net.rubyeye.xmemcached.command.binary with parameters of type CommandType Constructor Description BaseBinaryCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, int exp, long cas, java.lang.Object value, boolean noreply, Transcoder transcoder)
BinaryAppendPrependCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, int exp, long cas, java.lang.Object value, boolean noreply, Transcoder transcoder)
BinaryCASCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, int exp, long cas, java.lang.Object value, boolean noreply, Transcoder transcoder)
BinaryDeleteCommand(java.lang.String key, byte[] keyBytes, long cas, CommandType cmdType, java.util.concurrent.CountDownLatch latch, boolean noreply)
BinaryGetAndTouchCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, int exp, boolean noreply)
BinaryGetCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, OpCode opCode, boolean noreply)
BinaryGetMultiCommand(java.lang.String key, CommandType cmdType, java.util.concurrent.CountDownLatch latch)
BinaryIncrDecrCommand(java.lang.String key, byte[] keyBytes, long amount, long initial, int expTime, CommandType cmdType, boolean noreply)
BinarySetMultiCommand(java.lang.String key, CommandType cmdType, java.util.concurrent.CountDownLatch latch)
BinaryStoreCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, int exp, long cas, java.lang.Object value, boolean noreply, Transcoder transcoder)
BinaryTouchCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, int exp, boolean noreply)
-
Uses of CommandType in net.rubyeye.xmemcached.command.kestrel
Constructors in net.rubyeye.xmemcached.command.kestrel with parameters of type CommandType Constructor Description KestrelGetCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, Transcoder<?> transcoder)
KestrelSetCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, int exp, long cas, java.lang.Object value, boolean noreply, Transcoder transcoder)
-
Uses of CommandType in net.rubyeye.xmemcached.command.text
Constructors in net.rubyeye.xmemcached.command.text with parameters of type CommandType Constructor Description TextCASCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, int exp, long cas, java.lang.Object value, boolean noreply, Transcoder transcoder)
TextGetCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch)
TextGetMultiCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, Transcoder transcoder)
TextGetOneCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch)
TextIncrDecrCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, long delta, long initial, boolean noreply)
TextStoreCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, int exp, long cas, java.lang.Object value, boolean noreply, Transcoder transcoder)
TextTouchCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, java.util.concurrent.CountDownLatch latch, int expTime, boolean noreply)
-
Uses of CommandType in net.rubyeye.xmemcached.impl
Methods in net.rubyeye.xmemcached.impl with parameters of type CommandType Modifier and Type Method Description private Command
Optimizer. mergeGetCommands(Command currentCmd, java.util.Queue writeQueue, java.util.Queue<Command> executingCmds, CommandType expectedCommandType)
private Command
Optimizer. mergeSetCommands(Command currentCmd, java.util.Queue writeQueue, java.util.Queue<Command> executingCmds, CommandType expectedCommandType, int sendBufferSize)
private Command
Optimizer. newMergedCommand(java.util.Map<java.lang.Object,Command> mergeCommands, int mergeCount, Optimizer.CommandCollector commandCollector, CommandType commandType)
-
Uses of CommandType in net.rubyeye.xmemcached.monitor
Fields in net.rubyeye.xmemcached.monitor with type parameters of type CommandType Modifier and Type Field Description private java.util.Map<CommandType,java.util.concurrent.atomic.AtomicLong>
StatisticsHandler. counterMap
Methods in net.rubyeye.xmemcached.monitor with parameters of type CommandType Modifier and Type Method Description void
StatisticsHandler. statistics(CommandType cmdType)
void
StatisticsHandler. statistics(CommandType cmdType, int count)
-