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 CommandCommandFactory. createGetCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, Transcoder transcoder)create a get/gets command<T> CommandCommandFactory. createGetMultiCommand(java.util.Collection<java.lang.String> keys, java.util.concurrent.CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder)Create a multi-get commandCommandCommandFactory. 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.ObjectXMemcachedClient. fetch0(java.lang.String key, byte[] keyBytes, CommandType cmdType, long timeout, Transcoder<T> transcoder)private <T> java.lang.ObjectXMemcachedClient. 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> CommandXMemcachedClient. sendGetMultiCommand(java.util.Collection<java.lang.String> keys, java.util.concurrent.CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder)private longXMemcachedClient. 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 CommandTypeCommand. commandTypeMethods in net.rubyeye.xmemcached.command that return CommandType Modifier and Type Method Description CommandTypeCommand. getCommandType()static CommandTypeCommandType. 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 CommandBinaryCommandFactory. createGetCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, Transcoder transcoder)CommandKestrelCommandFactory. createGetCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, Transcoder transcoder)CommandTextCommandFactory. createGetCommand(java.lang.String key, byte[] keyBytes, CommandType cmdType, Transcoder transcoder)<T> CommandBinaryCommandFactory. createGetMultiCommand(java.util.Collection<java.lang.String> keys, java.util.concurrent.CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder)<T> CommandKestrelCommandFactory. createGetMultiCommand(java.util.Collection<java.lang.String> keys, java.util.concurrent.CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder)<T> CommandTextCommandFactory. createGetMultiCommand(java.util.Collection<java.lang.String> keys, java.util.concurrent.CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder)CommandBinaryCommandFactory. createIncrDecrCommand(java.lang.String key, byte[] keyBytes, long amount, long initial, int expTime, CommandType cmdType, boolean noreply)CommandKestrelCommandFactory. createIncrDecrCommand(java.lang.String key, byte[] keyBytes, long amount, long initial, int expTime, CommandType cmdType, boolean noreply)CommandTextCommandFactory. createIncrDecrCommand(java.lang.String key, byte[] keyBytes, long amount, long initial, int exptime, CommandType cmdType, boolean noreply)(package private) CommandBinaryCommandFactory. createStoreCommand(java.lang.String key, byte[] keyBytes, int exp, java.lang.Object value, CommandType cmdType, boolean noreply, Transcoder transcoder)(package private) CommandTextCommandFactory. createStoreCommand(java.lang.String key, byte[] keyBytes, int exp, java.lang.Object value, CommandType cmdType, boolean noreply, Transcoder transcoder)voidCommand. 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 CommandOptimizer. mergeGetCommands(Command currentCmd, java.util.Queue writeQueue, java.util.Queue<Command> executingCmds, CommandType expectedCommandType)private CommandOptimizer. mergeSetCommands(Command currentCmd, java.util.Queue writeQueue, java.util.Queue<Command> executingCmds, CommandType expectedCommandType, int sendBufferSize)private CommandOptimizer. 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. counterMapMethods in net.rubyeye.xmemcached.monitor with parameters of type CommandType Modifier and Type Method Description voidStatisticsHandler. statistics(CommandType cmdType)voidStatisticsHandler. statistics(CommandType cmdType, int count)
-