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 TypeMethodDescriptionbooleanboolean<T> booleanMemcachedClient.add(String key, int exp, T value, Transcoder<T> transcoder) <T> booleanMemcachedClient.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 booleanfinal booleanfinal <T> booleanXMemcachedClient.add(String key, int exp, T value, Transcoder<T> transcoder) final <T> booleanXMemcachedClient.add(String key, int exp, T value, Transcoder<T> transcoder, long timeout) private <T> booleanXMemcachedClient.add0(String key, int exp, T value, Transcoder<T> transcoder, long timeout) longCounter.addAndGet(long delta) Add value and get the resultvoidMemcachedClient.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> voidMemcachedClient.addWithNoReply(String key, int exp, T value, Transcoder<T> transcoder) voidXMemcachedClient.addWithNoReply(String key, int exp, Object value) <T> voidXMemcachedClient.addWithNoReply(String key, int exp, T value, Transcoder<T> transcoder) booleanbooleanAppend value to key's data item,this method will wait for replyfinal booleanfinal booleanvoidMemcachedClient.appendWithNoReply(String key, Object value) Append value to key's data item,this method doesn't wait for reply.voidXMemcachedClient.appendWithNoReply(String key, Object value) MemcachedClientCallable.call(MemcachedClient client) booleanboolean<T> booleanMemcachedClient.cas(String key, int exp, CASOperation<T> operation) <T> booleanMemcachedClient.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> booleanMemcachedClient.cas(String key, int exp, GetsResponse<T> getsReponse, CASOperation<T> operation) <T> booleanMemcachedClient.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> booleanMemcachedClient.cas(String key, int exp, T value, Transcoder<T> transcoder, long cas) <T> booleanMemcachedClient.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> booleanMemcachedClient.cas(String key, CASOperation<T> operation) <T> booleanMemcachedClient.cas(String key, GetsResponse<T> getsResponse, CASOperation<T> operation) final booleanfinal booleanfinal <T> booleanXMemcachedClient.cas(String key, int exp, CASOperation<T> operation) final <T> booleanXMemcachedClient.cas(String key, int exp, CASOperation<T> operation, Transcoder<T> transcoder) final <T> booleanXMemcachedClient.cas(String key, int exp, GetsResponse<T> getsReponse, CASOperation<T> operation) final <T> booleanXMemcachedClient.cas(String key, int exp, GetsResponse<T> getsReponse, CASOperation<T> operation, Transcoder<T> transcoder) final <T> booleanXMemcachedClient.cas(String key, int exp, T value, Transcoder<T> transcoder, long cas) final <T> booleanXMemcachedClient.cas(String key, int exp, T value, Transcoder<T> transcoder, long timeout, long cas) final <T> booleanXMemcachedClient.cas(String key, CASOperation<T> operation) final <T> booleanXMemcachedClient.cas(String key, GetsResponse<T> getsReponse, CASOperation<T> operation) private final <T> booleanXMemcachedClient.cas0(String key, int exp, GetsResponse<T> getsResponse, CASOperation<T> operation, Transcoder<T> transcoder, byte[] keyBytes, boolean noreply) <T> voidMemcachedClient.casWithNoReply(String key, int exp, CASOperation<T> operation) <T> voidMemcachedClient.casWithNoReply(String key, int exp, GetsResponse<T> getsReponse, CASOperation<T> operation) cas noreply<T> voidMemcachedClient.casWithNoReply(String key, CASOperation<T> operation) <T> voidMemcachedClient.casWithNoReply(String key, GetsResponse<T> getsResponse, CASOperation<T> operation) <T> voidXMemcachedClient.casWithNoReply(String key, int exp, CASOperation<T> operation) <T> voidXMemcachedClient.casWithNoReply(String key, int exp, GetsResponse<T> getsReponse, CASOperation<T> operation) <T> voidXMemcachedClient.casWithNoReply(String key, CASOperation<T> operation) <T> voidXMemcachedClient.casWithNoReply(String key, GetsResponse<T> getsResponse, CASOperation<T> operation) protected voidXMemcachedClient.checkException(Command command) private Stringlong"decr" are used to change data for some item in-place, decrementing it.longlong"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 longlonglonglonglongCounter.decrementAndGet()Decrease value by onevoidMemcachedClient.decrWithNoReply(String key, long delta) "decr" are used to change data for some item in-place, decrementing it.final voidXMemcachedClient.decrWithNoReply(String key, long delta) booleanbooleanDeprecated.booleanDelete key's date item from memcachedbooleanDelete key's date item from memcached only if its cas value is the same as what was read.final booleanfinal booleanbooleanbooleanprivate booleanvoidMemcachedClient.deleteWithNoReply(String key) voidMemcachedClient.deleteWithNoReply(String key, int time) Deprecated.final voidXMemcachedClient.deleteWithNoReply(String key) final voidXMemcachedClient.deleteWithNoReply(String key, int time) Delete key's data item from memcached.This method doesn't wait for replyprivate final <T> ObjectXMemcachedClient.fetch0(String key, byte[] keyBytes, CommandType cmdType, long timeout, Transcoder<T> transcoder) voidMemcachedClient.flushAll()Make All connected memcached's data item invalidvoidMemcachedClient.flushAll(int exptime, long timeout) voidMemcachedClient.flushAll(long timeout) Make All connected memcached's data item invalidvoidDeprecated.voidMemcachedClient.flushAll(InetSocketAddress address) Invalidate all existing items immediatelyvoidMemcachedClient.flushAll(InetSocketAddress address, long timeout) voidMemcachedClient.flushAll(InetSocketAddress address, long timeout, int exptime) final voidXMemcachedClient.flushAll()final voidXMemcachedClient.flushAll(int exptime, long timeout) final voidXMemcachedClient.flushAll(long timeout) final voidfinal voidXMemcachedClient.flushAll(InetSocketAddress address) final voidXMemcachedClient.flushAll(InetSocketAddress address, long timeout) final voidXMemcachedClient.flushAll(InetSocketAddress address, long timeout, int exptime) private voidXMemcachedClient.flushAllMemcachedServers(long timeout, boolean noreply, int exptime) voidMemcachedClient.flushAllWithNoReply()voidMemcachedClient.flushAllWithNoReply(int exptime) voidMemcachedClient.flushAllWithNoReply(InetSocketAddress address) voidMemcachedClient.flushAllWithNoReply(InetSocketAddress address, int exptime) voidXMemcachedClient.flushAllWithNoReply()voidXMemcachedClient.flushAllWithNoReply(int exptime) voidXMemcachedClient.flushAllWithNoReply(InetSocketAddress address) voidXMemcachedClient.flushAllWithNoReply(InetSocketAddress address, int exptime) private voidXMemcachedClient.flushSpecialMemcachedServer(InetSocketAddress address, long timeout, boolean noreply, int exptime) longCounter.get()Get current value<T> T<T> T<T> TMemcachedClient.get(String key, long timeout, Transcoder<T> transcoder) Get value by key<T> TMemcachedClient.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> Tfinal <T> Tfinal <T> TXMemcachedClient.get(String key, long timeout, Transcoder<T> transcoder) final <T> TXMemcachedClient.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> ObjectXMemcachedClient.get0(String key, long timeout, CommandType cmdType, Transcoder<T> transcoder) <T> TMemcachedClient.getAndTouch(String key, int newExp) Get item and set a new expiration time for it,using default opTimeout<T> TMemcachedClient.getAndTouch(String key, int newExp, long opTimeout) Get item and set a new expiration time for it<T> TXMemcachedClient.getAndTouch(String key, int newExp) <T> TXMemcachedClient.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.longlong"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 longlonglonglonglongCounter.incrementAndGet()Increase value by onevoidMemcachedClient.incrWithNoReply(String key, long delta) "incr" are used to change data for some item in-place, incrementing it.final voidXMemcachedClient.incrWithNoReply(String key, long delta) voidMemcachedClient.invalidateNamespace(String ns) Invalidate all namespace under the namespace using the default operation timeout.voidMemcachedClient.invalidateNamespace(String ns, long opTimeout) Invalidate all items under the namespace.voidXMemcachedClient.invalidateNamespace(String ns) voidXMemcachedClient.invalidateNamespace(String ns, long opTimeout) KeyIterator.next()Deprecated.Get next key,if iterator has reached the end,throw ArrayIndexOutOfBoundsExceptionbooleanbooleanPrepend value to key's data item in memcached.This method doesn't wait for reply.final booleanfinal booleanvoidMemcachedClient.prependWithNoReply(String key, Object value) Prepend value to key's data item in memcached.This method doesn't wait for reply.voidXMemcachedClient.prependWithNoReply(String key, Object value) private StringXMemcachedClient.preProcessKey(String key) XMemcachedClient.reduceResult(CommandType cmdType, Transcoder<T> transcoder, List<Command> commands) booleanboolean<T> booleanMemcachedClient.replace(String key, int exp, T value, Transcoder<T> transcoder) <T> booleanMemcachedClient.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 booleanfinal booleanfinal <T> booleanXMemcachedClient.replace(String key, int exp, T value, Transcoder<T> transcoder) final <T> booleanXMemcachedClient.replace(String key, int exp, T value, Transcoder<T> transcoder, long timeout) voidMemcachedClient.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> voidMemcachedClient.replaceWithNoReply(String key, int exp, T value, Transcoder<T> transcoder) voidXMemcachedClient.replaceWithNoReply(String key, int exp, Object value) <T> voidXMemcachedClient.replaceWithNoReply(String key, int exp, T value, Transcoder<T> transcoder) protected final SessionXMemcachedClient.sendCommand(Command cmd) 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) private final <T> booleanXMemcachedClient.sendStoreCommand(Command command, long timeout) voidCounter.set(long value) Set counter's value to expected.booleanboolean<T> booleanMemcachedClient.set(String key, int exp, T value, Transcoder<T> transcoder) <T> booleanMemcachedClient.set(String key, int exp, T value, Transcoder<T> transcoder, long timeout) Store key-value item to memcachedfinal booleanfinal booleanfinal <T> booleanXMemcachedClient.set(String key, int exp, T value, Transcoder<T> transcoder) final <T> booleanXMemcachedClient.set(String key, int exp, T value, Transcoder<T> transcoder, long timeout) voidMemcachedClient.setLoggingLevelVerbosity(InetSocketAddress address, int level) Set the verbosity level of the memcached's logging output.This method will wait for reply.voidXMemcachedClient.setLoggingLevelVerbosity(InetSocketAddress address, int level) voidMemcachedClient.setLoggingLevelVerbosityWithNoReply(InetSocketAddress address, int level) Set the verbosity level of the memcached's logging output.This method doesn't wait for reply from servervoidXMemcachedClient.setLoggingLevelVerbosityWithNoReply(InetSocketAddress address, int level) private voidXMemcachedClient.setMemcachedLoggingLevel(InetSocketAddress address, int level, boolean noreply) voidMemcachedClient.setWithNoReply(String key, int exp, Object value) Store key-value item to memcached,doesn't wait for reply<T> voidMemcachedClient.setWithNoReply(String key, int exp, T value, Transcoder<T> transcoder) voidXMemcachedClient.setWithNoReply(String key, int exp, Object value) <T> voidXMemcachedClient.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) booleanSet a new expiration time for an existing item,using default opTimeout second.booleanSet a new expiration time for an existing itembooleanboolean<T> TMemcachedClient.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> TXMemcachedClient.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 TypeClassDescriptionclassMemcached Client ExceptionclassMemcached server exceptionclassMemcached 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