Uses of Class
net.rubyeye.xmemcached.exception.MemcachedException
Packages that use MemcachedException
Package
Description
XMemcached's main classes and interfaces,use these classes/interfaces to interact with memcached servers.
XMemcached Exceptions
Manage tcp connection,memcached protocol optimized,and some MBeans for monitor.
Networking layout to talk with memcached.
-
Uses of MemcachedException in net.rubyeye.xmemcached
Methods in net.rubyeye.xmemcached that throw MemcachedExceptionModifier and TypeMethodDescriptionboolean
boolean
<T> boolean
MemcachedClient.add
(String key, int exp, T value, Transcoder<T> transcoder) <T> boolean
MemcachedClient.add
(String key, int exp, T value, Transcoder<T> transcoder, long timeout) Add key-value item to memcached, success only when the key is not exists in memcached.final boolean
final boolean
final <T> boolean
XMemcachedClient.add
(String key, int exp, T value, Transcoder<T> transcoder) final <T> boolean
XMemcachedClient.add
(String key, int exp, T value, Transcoder<T> transcoder, long timeout) private <T> boolean
XMemcachedClient.add0
(String key, int exp, T value, Transcoder<T> transcoder, long timeout) long
Counter.addAndGet
(long delta) Add value and get the resultvoid
MemcachedClient.addWithNoReply
(String key, int exp, Object value) Add key-value item to memcached, success only when the key is not exists in memcached.This method doesn't wait for reply.<T> void
MemcachedClient.addWithNoReply
(String key, int exp, T value, Transcoder<T> transcoder) void
XMemcachedClient.addWithNoReply
(String key, int exp, Object value) <T> void
XMemcachedClient.addWithNoReply
(String key, int exp, T value, Transcoder<T> transcoder) boolean
boolean
Append value to key's data item,this method will wait for replyfinal boolean
final boolean
void
MemcachedClient.appendWithNoReply
(String key, Object value) Append value to key's data item,this method doesn't wait for reply.void
XMemcachedClient.appendWithNoReply
(String key, Object value) MemcachedClientCallable.call
(MemcachedClient client) boolean
boolean
<T> boolean
MemcachedClient.cas
(String key, int exp, CASOperation<T> operation) <T> boolean
MemcachedClient.cas
(String key, int exp, CASOperation<T> operation, Transcoder<T> transcoder) Cas is a check and set operation which means "store this data but only if no one else has updated since I last fetched it."<T> boolean
MemcachedClient.cas
(String key, int exp, GetsResponse<T> getsReponse, CASOperation<T> operation) <T> boolean
MemcachedClient.cas
(String key, int exp, GetsResponse<T> getsReponse, CASOperation<T> operation, Transcoder<T> transcoder) cas is a check and set operation which means "store this data but only if no one else has updated since I last fetched it."<T> boolean
MemcachedClient.cas
(String key, int exp, T value, Transcoder<T> transcoder, long cas) <T> boolean
MemcachedClient.cas
(String key, int exp, T value, Transcoder<T> transcoder, long timeout, long cas) Cas is a check and set operation which means "store this data but only if no one else has updated since I last fetched it."<T> boolean
MemcachedClient.cas
(String key, CASOperation<T> operation) <T> boolean
MemcachedClient.cas
(String key, GetsResponse<T> getsResponse, CASOperation<T> operation) final boolean
final boolean
final <T> boolean
XMemcachedClient.cas
(String key, int exp, CASOperation<T> operation) final <T> boolean
XMemcachedClient.cas
(String key, int exp, CASOperation<T> operation, Transcoder<T> transcoder) final <T> boolean
XMemcachedClient.cas
(String key, int exp, GetsResponse<T> getsReponse, CASOperation<T> operation) final <T> boolean
XMemcachedClient.cas
(String key, int exp, GetsResponse<T> getsReponse, CASOperation<T> operation, Transcoder<T> transcoder) final <T> boolean
XMemcachedClient.cas
(String key, int exp, T value, Transcoder<T> transcoder, long cas) final <T> boolean
XMemcachedClient.cas
(String key, int exp, T value, Transcoder<T> transcoder, long timeout, long cas) final <T> boolean
XMemcachedClient.cas
(String key, CASOperation<T> operation) final <T> boolean
XMemcachedClient.cas
(String key, GetsResponse<T> getsReponse, CASOperation<T> operation) private final <T> boolean
XMemcachedClient.cas0
(String key, int exp, GetsResponse<T> getsResponse, CASOperation<T> operation, Transcoder<T> transcoder, byte[] keyBytes, boolean noreply) <T> void
MemcachedClient.casWithNoReply
(String key, int exp, CASOperation<T> operation) <T> void
MemcachedClient.casWithNoReply
(String key, int exp, GetsResponse<T> getsReponse, CASOperation<T> operation) cas noreply<T> void
MemcachedClient.casWithNoReply
(String key, CASOperation<T> operation) <T> void
MemcachedClient.casWithNoReply
(String key, GetsResponse<T> getsResponse, CASOperation<T> operation) <T> void
XMemcachedClient.casWithNoReply
(String key, int exp, CASOperation<T> operation) <T> void
XMemcachedClient.casWithNoReply
(String key, int exp, GetsResponse<T> getsReponse, CASOperation<T> operation) <T> void
XMemcachedClient.casWithNoReply
(String key, CASOperation<T> operation) <T> void
XMemcachedClient.casWithNoReply
(String key, GetsResponse<T> getsResponse, CASOperation<T> operation) protected void
XMemcachedClient.checkException
(Command command) private String
long
"decr" are used to change data for some item in-place, decrementing it.long
long
"decr" are used to change data for some item in-place, decrementing it.long
"incr" are used to change data for some item in-place, incrementing it.final long
long
long
long
long
Counter.decrementAndGet()
Decrease value by onevoid
MemcachedClient.decrWithNoReply
(String key, long delta) "decr" are used to change data for some item in-place, decrementing it.final void
XMemcachedClient.decrWithNoReply
(String key, long delta) boolean
boolean
Deprecated.boolean
Delete key's date item from memcachedboolean
Delete key's date item from memcached only if its cas value is the same as what was read.final boolean
final boolean
boolean
boolean
private boolean
void
MemcachedClient.deleteWithNoReply
(String key) void
MemcachedClient.deleteWithNoReply
(String key, int time) Deprecated.final void
XMemcachedClient.deleteWithNoReply
(String key) final void
XMemcachedClient.deleteWithNoReply
(String key, int time) Delete key's data item from memcached.This method doesn't wait for replyprivate final <T> Object
XMemcachedClient.fetch0
(String key, byte[] keyBytes, CommandType cmdType, long timeout, Transcoder<T> transcoder) void
MemcachedClient.flushAll()
Make All connected memcached's data item invalidvoid
MemcachedClient.flushAll
(int exptime, long timeout) void
MemcachedClient.flushAll
(long timeout) Make All connected memcached's data item invalidvoid
Deprecated.void
MemcachedClient.flushAll
(InetSocketAddress address) Invalidate all existing items immediatelyvoid
MemcachedClient.flushAll
(InetSocketAddress address, long timeout) void
MemcachedClient.flushAll
(InetSocketAddress address, long timeout, int exptime) final void
XMemcachedClient.flushAll()
final void
XMemcachedClient.flushAll
(int exptime, long timeout) final void
XMemcachedClient.flushAll
(long timeout) final void
final void
XMemcachedClient.flushAll
(InetSocketAddress address) final void
XMemcachedClient.flushAll
(InetSocketAddress address, long timeout) final void
XMemcachedClient.flushAll
(InetSocketAddress address, long timeout, int exptime) private void
XMemcachedClient.flushAllMemcachedServers
(long timeout, boolean noreply, int exptime) void
MemcachedClient.flushAllWithNoReply()
void
MemcachedClient.flushAllWithNoReply
(int exptime) void
MemcachedClient.flushAllWithNoReply
(InetSocketAddress address) void
MemcachedClient.flushAllWithNoReply
(InetSocketAddress address, int exptime) void
XMemcachedClient.flushAllWithNoReply()
void
XMemcachedClient.flushAllWithNoReply
(int exptime) void
XMemcachedClient.flushAllWithNoReply
(InetSocketAddress address) void
XMemcachedClient.flushAllWithNoReply
(InetSocketAddress address, int exptime) private void
XMemcachedClient.flushSpecialMemcachedServer
(InetSocketAddress address, long timeout, boolean noreply, int exptime) long
Counter.get()
Get current value<T> T
<T> T
<T> T
MemcachedClient.get
(String key, long timeout, Transcoder<T> transcoder) Get value by key<T> T
MemcachedClient.get
(String key, Transcoder<T> transcoder) MemcachedClient.get
(Collection<String> keyCollections) MemcachedClient.get
(Collection<String> keyCollections, long timeout) MemcachedClient.get
(Collection<String> keyCollections, long opTimeout, Transcoder<T> transcoder) Bulk get itemsMemcachedClient.get
(Collection<String> keyCollections, Transcoder<T> transcoder) final <T> T
final <T> T
final <T> T
XMemcachedClient.get
(String key, long timeout, Transcoder<T> transcoder) final <T> T
XMemcachedClient.get
(String key, Transcoder<T> transcoder) XMemcachedClient.get
(Collection<String> keyCollections) XMemcachedClient.get
(Collection<String> keyCollections, long timeout) XMemcachedClient.get
(Collection<String> keyCollections, long timeout, Transcoder<T> transcoder) XMemcachedClient.get
(Collection<String> keyCollections, Transcoder<T> transcoder) private <T> Object
XMemcachedClient.get0
(String key, long timeout, CommandType cmdType, Transcoder<T> transcoder) <T> T
MemcachedClient.getAndTouch
(String key, int newExp) Get item and set a new expiration time for it,using default opTimeout<T> T
MemcachedClient.getAndTouch
(String key, int newExp, long opTimeout) Get item and set a new expiration time for it<T> T
XMemcachedClient.getAndTouch
(String key, int newExp) <T> T
XMemcachedClient.getAndTouch
(String key, int newExp, long opTimeout) MemcachedClient.getKeyIterator
(InetSocketAddress address) Deprecated.memcached 1.6.x will remove cachedump stats command,so this method will be removed in the futureXMemcachedClient.getKeyIterator
(InetSocketAddress address) Deprecated.memcached 1.6.x will remove cachedump stats command,so this method will be removed in the futureXMemcachedClient.getMulti0
(Collection<String> keys, long timeout, CommandType cmdType, Transcoder<T> transcoder) XMemcachedClient.getNamespace
(String ns) Returns the real namespace of ns.<T> GetsResponse
<T> <T> GetsResponse
<T> <T> GetsResponse
<T> MemcachedClient.gets
(String key, long timeout, Transcoder<T> transcoder) Just like get,But it return a GetsResponse,include cas value for cas update.<T> GetsResponse
<T> MemcachedClient.gets
(String key, Transcoder transcoder) <T> Map
<String, GetsResponse<T>> MemcachedClient.gets
(Collection<String> keyCollections) <T> Map
<String, GetsResponse<T>> MemcachedClient.gets
(Collection<String> keyCollections, long timeout) <T> Map
<String, GetsResponse<T>> MemcachedClient.gets
(Collection<String> keyCollections, long opTime, Transcoder<T> transcoder) Bulk gets items<T> Map
<String, GetsResponse<T>> MemcachedClient.gets
(Collection<String> keyCollections, Transcoder<T> transcoder) final <T> GetsResponse
<T> final <T> GetsResponse
<T> final <T> GetsResponse
<T> XMemcachedClient.gets
(String key, long timeout, Transcoder<T> transcoder) final <T> GetsResponse
<T> XMemcachedClient.gets
(String key, Transcoder transcoder) final <T> Map
<String, GetsResponse<T>> XMemcachedClient.gets
(Collection<String> keyCollections) final <T> Map
<String, GetsResponse<T>> XMemcachedClient.gets
(Collection<String> keyCollections, long timeout) final <T> Map
<String, GetsResponse<T>> XMemcachedClient.gets
(Collection<String> keyCollections, long timeout, Transcoder<T> transcoder) final <T> Map
<String, GetsResponse<T>> XMemcachedClient.gets
(Collection<String> keyCollections, Transcoder<T> transcoder) private final <T> GetsResponse
<T> XMemcachedClient.gets0
(String key, byte[] keyBytes, Transcoder<T> transcoder) MemcachedClient.getStats()
MemcachedClient.getStats
(long timeout) Get stats from all memcached serversfinal Map
<InetSocketAddress, Map<String, String>> XMemcachedClient.getStats()
XMemcachedClient.getStats
(long timeout) MemcachedClient.getStatsByItem
(String itemName) Get special item stats.MemcachedClient.getStatsByItem
(String itemName, long timeout) final Map
<InetSocketAddress, Map<String, String>> XMemcachedClient.getStatsByItem
(String itemName) final Map
<InetSocketAddress, Map<String, String>> XMemcachedClient.getStatsByItem
(String itemName, long timeout) MemcachedClient.getVersions()
Get all connected memcached servers's version.MemcachedClient.getVersions
(long timeout) final Map
<InetSocketAddress, String> XMemcachedClient.getVersions()
final Map
<InetSocketAddress, String> XMemcachedClient.getVersions
(long timeout) long
"incr" are used to change data for some item in-place, incrementing it.long
long
"incr" are used to change data for some item in-place, incrementing it.long
"incr" are used to change data for some item in-place, incrementing it.final long
long
long
long
long
Counter.incrementAndGet()
Increase value by onevoid
MemcachedClient.incrWithNoReply
(String key, long delta) "incr" are used to change data for some item in-place, incrementing it.final void
XMemcachedClient.incrWithNoReply
(String key, long delta) void
MemcachedClient.invalidateNamespace
(String ns) Invalidate all namespace under the namespace using the default operation timeout.void
MemcachedClient.invalidateNamespace
(String ns, long opTimeout) Invalidate all items under the namespace.void
XMemcachedClient.invalidateNamespace
(String ns) void
XMemcachedClient.invalidateNamespace
(String ns, long opTimeout) KeyIterator.next()
Deprecated.Get next key,if iterator has reached the end,throw ArrayIndexOutOfBoundsExceptionboolean
boolean
Prepend value to key's data item in memcached.This method doesn't wait for reply.final boolean
final boolean
void
MemcachedClient.prependWithNoReply
(String key, Object value) Prepend value to key's data item in memcached.This method doesn't wait for reply.void
XMemcachedClient.prependWithNoReply
(String key, Object value) private String
XMemcachedClient.preProcessKey
(String key) XMemcachedClient.reduceResult
(CommandType cmdType, Transcoder<T> transcoder, List<Command> commands) boolean
boolean
<T> boolean
MemcachedClient.replace
(String key, int exp, T value, Transcoder<T> transcoder) <T> boolean
MemcachedClient.replace
(String key, int exp, T value, Transcoder<T> transcoder, long timeout) Replace the key's data item in memcached,success only when the key's data item is exists in memcached.This method will wait for reply from server.final boolean
final boolean
final <T> boolean
XMemcachedClient.replace
(String key, int exp, T value, Transcoder<T> transcoder) final <T> boolean
XMemcachedClient.replace
(String key, int exp, T value, Transcoder<T> transcoder, long timeout) void
MemcachedClient.replaceWithNoReply
(String key, int exp, Object value) Replace the key's data item in memcached,success only when the key's data item is exists in memcached.This method doesn't wait for reply from server.<T> void
MemcachedClient.replaceWithNoReply
(String key, int exp, T value, Transcoder<T> transcoder) void
XMemcachedClient.replaceWithNoReply
(String key, int exp, Object value) <T> void
XMemcachedClient.replaceWithNoReply
(String key, int exp, T value, Transcoder<T> transcoder) protected final Session
XMemcachedClient.sendCommand
(Command cmd) 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) private final <T> boolean
XMemcachedClient.sendStoreCommand
(Command command, long timeout) void
Counter.set
(long value) Set counter's value to expected.boolean
boolean
<T> boolean
MemcachedClient.set
(String key, int exp, T value, Transcoder<T> transcoder) <T> boolean
MemcachedClient.set
(String key, int exp, T value, Transcoder<T> transcoder, long timeout) Store key-value item to memcachedfinal boolean
final boolean
final <T> boolean
XMemcachedClient.set
(String key, int exp, T value, Transcoder<T> transcoder) final <T> boolean
XMemcachedClient.set
(String key, int exp, T value, Transcoder<T> transcoder, long timeout) void
MemcachedClient.setLoggingLevelVerbosity
(InetSocketAddress address, int level) Set the verbosity level of the memcached's logging output.This method will wait for reply.void
XMemcachedClient.setLoggingLevelVerbosity
(InetSocketAddress address, int level) void
MemcachedClient.setLoggingLevelVerbosityWithNoReply
(InetSocketAddress address, int level) Set the verbosity level of the memcached's logging output.This method doesn't wait for reply from servervoid
XMemcachedClient.setLoggingLevelVerbosityWithNoReply
(InetSocketAddress address, int level) private void
XMemcachedClient.setMemcachedLoggingLevel
(InetSocketAddress address, int level, boolean noreply) void
MemcachedClient.setWithNoReply
(String key, int exp, Object value) Store key-value item to memcached,doesn't wait for reply<T> void
MemcachedClient.setWithNoReply
(String key, int exp, T value, Transcoder<T> transcoder) void
XMemcachedClient.setWithNoReply
(String key, int exp, Object value) <T> void
XMemcachedClient.setWithNoReply
(String key, int exp, T value, Transcoder<T> transcoder) MemcachedClient.stats
(InetSocketAddress address) MemcachedClient.stats
(InetSocketAddress address, long timeout) �ョ��瑰������emcached server缁��淇℃�XMemcachedClient.stats
(InetSocketAddress address) XMemcachedClient.stats
(InetSocketAddress address, long timeout) boolean
Set a new expiration time for an existing item,using default opTimeout second.boolean
Set a new expiration time for an existing itemboolean
boolean
<T> T
MemcachedClient.withNamespace
(String ns, MemcachedClientCallable<T> callable) With the namespae to do something with current memcached client.All operations with memcached client done in callable will be under the namespace.<T> T
XMemcachedClient.withNamespace
(String ns, MemcachedClientCallable<T> callable) -
Uses of MemcachedException in net.rubyeye.xmemcached.aws
Methods in net.rubyeye.xmemcached.aws that throw MemcachedExceptionModifier and TypeMethodDescriptionAWSElasticCacheClient.getConfig()
Get cluster config from cache node by network command.Get config by key from cache node by network command. -
Uses of MemcachedException in net.rubyeye.xmemcached.exception
Subclasses of MemcachedException in net.rubyeye.xmemcached.exceptionModifier and TypeClassDescriptionclass
Memcached Client Exceptionclass
Memcached server exceptionclass
Memcached Client Exception -
Uses of MemcachedException in net.rubyeye.xmemcached.impl
Methods in net.rubyeye.xmemcached.impl that throw MemcachedException -
Uses of MemcachedException in net.rubyeye.xmemcached.networking
Methods in net.rubyeye.xmemcached.networking that throw MemcachedException