Uses of Enum
net.rubyeye.xmemcached.command.CommandType
Packages that use CommandType
Package
Description
XMemcached's main classes and interfaces,use these classes/interfaces to interact with memcached servers.
Memcached protocol implementations
Memcached text protocol implementations
Kestrel protocol implementations
Memcached text protocol implementations
Manage tcp connection,memcached protocol optimized,and some MBeans for 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 CommandTypeModifier and TypeMethodDescriptionCommandFactory.createGetCommand
(String key, byte[] keyBytes, CommandType cmdType, Transcoder transcoder) create a get/gets command<T> Command
CommandFactory.createGetMultiCommand
(Collection<String> keys, CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder) Create a multi-get commandCommandFactory.createIncrDecrCommand
(String key, byte[] keyBytes, long delta, long initial, int expTime, CommandType cmdType, boolean noreply) create a incr/decr commandprivate final <T> Object
XMemcachedClient.fetch0
(String key, byte[] keyBytes, CommandType cmdType, long timeout, Transcoder<T> transcoder) private <T> Object
XMemcachedClient.get0
(String key, long timeout, CommandType cmdType, Transcoder<T> transcoder) XMemcachedClient.getMulti0
(Collection<String> keys, long timeout, CommandType cmdType, Transcoder<T> transcoder) XMemcachedClient.reduceResult
(CommandType cmdType, Transcoder<T> transcoder, List<Command> commands) private final <T> Command
XMemcachedClient.sendGetMultiCommand
(Collection<String> keys, CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder) private long
XMemcachedClient.sendIncrOrDecrCommand
(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 CommandTypeMethods in net.rubyeye.xmemcached.command that return CommandTypeModifier and TypeMethodDescriptionfinal CommandType
Command.getCommandType()
static CommandType
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 CommandTypeModifier and TypeMethodDescriptionBinaryCommandFactory.createGetCommand
(String key, byte[] keyBytes, CommandType cmdType, Transcoder transcoder) KestrelCommandFactory.createGetCommand
(String key, byte[] keyBytes, CommandType cmdType, Transcoder transcoder) final Command
TextCommandFactory.createGetCommand
(String key, byte[] keyBytes, CommandType cmdType, Transcoder transcoder) <T> Command
BinaryCommandFactory.createGetMultiCommand
(Collection<String> keys, CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder) <T> Command
KestrelCommandFactory.createGetMultiCommand
(Collection<String> keys, CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder) final <T> Command
TextCommandFactory.createGetMultiCommand
(Collection<String> keys, CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder) BinaryCommandFactory.createIncrDecrCommand
(String key, byte[] keyBytes, long amount, long initial, int expTime, CommandType cmdType, boolean noreply) KestrelCommandFactory.createIncrDecrCommand
(String key, byte[] keyBytes, long amount, long initial, int expTime, CommandType cmdType, boolean noreply) final Command
TextCommandFactory.createIncrDecrCommand
(String key, byte[] keyBytes, long amount, long initial, int exptime, CommandType cmdType, boolean noreply) (package private) final Command
BinaryCommandFactory.createStoreCommand
(String key, byte[] keyBytes, int exp, Object value, CommandType cmdType, boolean noreply, Transcoder transcoder) (package private) final Command
TextCommandFactory.createStoreCommand
(String key, byte[] keyBytes, int exp, Object value, CommandType cmdType, boolean noreply, Transcoder transcoder) void
Command.setCommandType
(CommandType commandType) Constructors in net.rubyeye.xmemcached.command with parameters of type CommandTypeModifierConstructorDescriptionCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch) Command
(String key, CommandType commandType, CountDownLatch latch) Command
(CommandType cmdType) Command
(CommandType cmdType, CountDownLatch latch) -
Uses of CommandType in net.rubyeye.xmemcached.command.binary
Constructors in net.rubyeye.xmemcached.command.binary with parameters of type CommandTypeModifierConstructorDescriptionBaseBinaryCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int exp, long cas, Object value, boolean noreply, Transcoder transcoder) BinaryAppendPrependCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int exp, long cas, Object value, boolean noreply, Transcoder transcoder) BinaryCASCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int exp, long cas, Object value, boolean noreply, Transcoder transcoder) BinaryDeleteCommand
(String key, byte[] keyBytes, long cas, CommandType cmdType, CountDownLatch latch, boolean noreply) BinaryGetAndTouchCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int exp, boolean noreply) BinaryGetCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, OpCode opCode, boolean noreply) BinaryGetMultiCommand
(String key, CommandType cmdType, CountDownLatch latch) BinaryIncrDecrCommand
(String key, byte[] keyBytes, long amount, long initial, int expTime, CommandType cmdType, boolean noreply) BinarySetMultiCommand
(String key, CommandType cmdType, CountDownLatch latch) BinaryStoreCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int exp, long cas, Object value, boolean noreply, Transcoder transcoder) BinaryTouchCommand
(String key, byte[] keyBytes, CommandType cmdType, 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 CommandTypeModifierConstructorDescriptionKestrelGetCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, Transcoder<?> transcoder) KestrelSetCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int exp, long cas, 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 CommandTypeModifierConstructorDescriptionTextCASCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int exp, long cas, Object value, boolean noreply, Transcoder transcoder) TextGetCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch) TextGetMultiCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, Transcoder transcoder) TextGetOneCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch) TextIncrDecrCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, long delta, long initial, boolean noreply) TextStoreCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int exp, long cas, Object value, boolean noreply, Transcoder transcoder) TextTouchCommand
(String key, byte[] keyBytes, CommandType cmdType, CountDownLatch latch, int expTime, boolean noreply) -
Uses of CommandType in net.rubyeye.xmemcached.impl
Methods in net.rubyeye.xmemcached.impl with parameters of type CommandTypeModifier and TypeMethodDescriptionprivate final Command
Optimizer.mergeGetCommands
(Command currentCmd, Queue writeQueue, Queue<Command> executingCmds, CommandType expectedCommandType) private final Command
Optimizer.mergeSetCommands
(Command currentCmd, Queue writeQueue, Queue<Command> executingCmds, CommandType expectedCommandType, int sendBufferSize) private Command
Optimizer.newMergedCommand
(Map<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 CommandTypeModifier and TypeFieldDescriptionprivate Map
<CommandType, AtomicLong> StatisticsHandler.counterMap
Methods in net.rubyeye.xmemcached.monitor with parameters of type CommandTypeModifier and TypeMethodDescriptionfinal void
StatisticsHandler.statistics
(CommandType cmdType) final void
StatisticsHandler.statistics
(CommandType cmdType, int count)