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> CommandCommandFactory.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> ObjectXMemcachedClient.fetch0(String key, byte[] keyBytes, CommandType cmdType, long timeout, Transcoder<T> transcoder) private <T> ObjectXMemcachedClient.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> CommandXMemcachedClient.sendGetMultiCommand(Collection<String> keys, CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder) private longXMemcachedClient.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 CommandTypeCommand.getCommandType()static CommandTypeReturns 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 CommandTextCommandFactory.createGetCommand(String key, byte[] keyBytes, CommandType cmdType, Transcoder transcoder) <T> CommandBinaryCommandFactory.createGetMultiCommand(Collection<String> keys, CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder) <T> CommandKestrelCommandFactory.createGetMultiCommand(Collection<String> keys, CountDownLatch latch, CommandType cmdType, Transcoder<T> transcoder) final <T> CommandTextCommandFactory.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 CommandTextCommandFactory.createIncrDecrCommand(String key, byte[] keyBytes, long amount, long initial, int exptime, CommandType cmdType, boolean noreply) (package private) final CommandBinaryCommandFactory.createStoreCommand(String key, byte[] keyBytes, int exp, Object value, CommandType cmdType, boolean noreply, Transcoder transcoder) (package private) final CommandTextCommandFactory.createStoreCommand(String key, byte[] keyBytes, int exp, Object value, CommandType cmdType, boolean noreply, Transcoder transcoder) voidCommand.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 CommandOptimizer.mergeGetCommands(Command currentCmd, Queue writeQueue, Queue<Command> executingCmds, CommandType expectedCommandType) private final CommandOptimizer.mergeSetCommands(Command currentCmd, Queue writeQueue, Queue<Command> executingCmds, CommandType expectedCommandType, int sendBufferSize) private CommandOptimizer.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.counterMapMethods in net.rubyeye.xmemcached.monitor with parameters of type CommandTypeModifier and TypeMethodDescriptionfinal voidStatisticsHandler.statistics(CommandType cmdType) final voidStatisticsHandler.statistics(CommandType cmdType, int count)