Uses of Interface
net.spy.memcached.transcoders.Transcoder
Packages that use Transcoder
Package
Description
Memcached client and transformation utils
Classes that deal with data encoding
-
Uses of Transcoder in net.spy.memcached
Fields in net.spy.memcached declared as TranscoderModifier and TypeFieldDescriptionprotected Transcoder<Object> ConnectionFactoryBuilder.transcoderprotected final Transcoder<Object> MemcachedClient.transcoderMethods in net.spy.memcached that return TranscoderModifier and TypeMethodDescriptionConnectionFactory.getDefaultTranscoder()Get the default transcoder to be used in connections created by this factory.DefaultConnectionFactory.getDefaultTranscoder()MemcachedClient.getTranscoder()Get the default transcoder that's in use.MemcachedClientIF.getTranscoder()Methods in net.spy.memcached with parameters of type TranscoderModifier and TypeMethodDescription<T> OperationFuture<Boolean> MemcachedClient.add(String key, int exp, T o, Transcoder<T> tc) Add an object to the cache iff it does not exist already.MemcachedClientIF.add(String key, int exp, T o, Transcoder<T> tc) <T> OperationFuture<Boolean> MemcachedClient.append(long cas, String key, T val, Transcoder<T> tc) Append to an existing value in the cache.<T> OperationFuture<Boolean> MemcachedClient.append(String key, T val, Transcoder<T> tc) Append to an existing value in the cache.MemcachedClientIF.append(long cas, String key, T val, Transcoder<T> tc) MemcachedClientIF.append(String key, T val, Transcoder<T> tc) MemcachedClient.asyncCAS(String key, long casId, int exp, T value, Transcoder<T> tc) Asynchronous CAS operation.MemcachedClient.asyncCAS(String key, long casId, T value, Transcoder<T> tc) Asynchronous CAS operation.MemcachedClientIF.asyncCAS(String key, long casId, int exp, T value, Transcoder<T> tc) <T> Future<CASResponse> MemcachedClientIF.asyncCAS(String key, long casId, T value, Transcoder<T> tc) <T> GetFuture<T> MemcachedClient.asyncGet(String key, Transcoder<T> tc) Get the given key asynchronously.<T> Future<T> MemcachedClientIF.asyncGet(String key, Transcoder<T> tc) <T> OperationFuture<CASValue<T>> MemcachedClient.asyncGetAndTouch(String key, int exp, Transcoder<T> tc) Get the given key to reset its expiration time.MemcachedClientIF.asyncGetAndTouch(String key, int exp, Transcoder<T> tc) <T> BulkFuture<Map<String, T>> MemcachedClient.asyncGetBulk(Collection<String> keys, Transcoder<T> tc) Asynchronously get a bunch of objects from the cache.<T> BulkFuture<Map<String, T>> MemcachedClient.asyncGetBulk(Iterator<String> keyIter, Transcoder<T> tc) Asynchronously get a bunch of objects from the cache.<T> BulkFuture<Map<String, T>> MemcachedClient.asyncGetBulk(Transcoder<T> tc, String... keys) Varargs wrapper for asynchronous bulk gets.<T> BulkFuture<Map<String, T>> MemcachedClientIF.asyncGetBulk(Collection<String> keys, Transcoder<T> tc) <T> BulkFuture<Map<String, T>> MemcachedClientIF.asyncGetBulk(Iterator<String> keys, Transcoder<T> tc) <T> BulkFuture<Map<String, T>> MemcachedClientIF.asyncGetBulk(Transcoder<T> tc, String... keys) <T> GetConfigFuture<T> MemcachedClient.asyncGetConfig(InetSocketAddress addr, ConfigurationType type, Transcoder<T> tc) Get the given configurationType asynchronously.<T> OperationFuture<CASValue<T>> MemcachedClient.asyncGets(String key, Transcoder<T> tc) Gets (with CAS support) the given key asynchronously.MemcachedClientIF.asyncGets(String key, Transcoder<T> tc) <T> CASResponseMemcachedClient.cas(String key, long casId, int exp, T value, Transcoder<T> tc) Perform a synchronous CAS operation.<T> CASResponseMemcachedClient.cas(String key, long casId, T value, Transcoder<T> tc) Perform a synchronous CAS operation.<T> CASResponseMemcachedClientIF.cas(String key, long casId, int exp, T value, Transcoder<T> tc) <T> CASResponseMemcachedClientIF.cas(String key, long casId, T value, Transcoder<T> tc) <T> TMemcachedClient.get(String key, Transcoder<T> tc) Get with a single key.<T> TMemcachedClientIF.get(String key, Transcoder<T> tc) <T> CASValue<T> MemcachedClient.getAndTouch(String key, int exp, Transcoder<T> tc) Get with a single key and reset its expiration.<T> CASValue<T> MemcachedClientIF.getAndTouch(String key, int exp, Transcoder<T> tc) MemcachedClient.getBulk(Collection<String> keys, Transcoder<T> tc) Get the values for multiple keys from the cache.MemcachedClient.getBulk(Iterator<String> keyIter, Transcoder<T> tc) Get the values for multiple keys from the cache.MemcachedClient.getBulk(Transcoder<T> tc, String... keys) Get the values for multiple keys from the cache.MemcachedClientIF.getBulk(Collection<String> keys, Transcoder<T> tc) MemcachedClientIF.getBulk(Iterator<String> keys, Transcoder<T> tc) MemcachedClientIF.getBulk(Transcoder<T> tc, String... keys) <T> TMemcachedClient.getConfig(InetSocketAddress addr, ConfigurationType type, Transcoder<T> tc) Get the config using the config protocol.<T> CASValue<T> MemcachedClient.gets(String key, Transcoder<T> tc) Gets (with CAS support) with a single key.<T> CASValue<T> MemcachedClientIF.gets(String key, Transcoder<T> tc) <T> OperationFuture<Boolean> MemcachedClient.prepend(long cas, String key, T val, Transcoder<T> tc) Prepend to an existing value in the cache.<T> OperationFuture<Boolean> MemcachedClient.prepend(String key, T val, Transcoder<T> tc) Prepend to an existing value in the cache.MemcachedClientIF.prepend(long cas, String key, T val, Transcoder<T> tc) MemcachedClientIF.prepend(String key, T val, Transcoder<T> tc) <T> OperationFuture<Boolean> MemcachedClient.replace(String key, int exp, T o, Transcoder<T> tc) Replace an object with the given value iff there is already a value for the given key.MemcachedClientIF.replace(String key, int exp, T o, Transcoder<T> tc) <T> OperationFuture<Boolean> MemcachedClient.set(String key, int exp, T o, Transcoder<T> tc) Set an object in the cache regardless of any existing value.MemcachedClientIF.set(String key, int exp, T o, Transcoder<T> tc) <T> OperationFuture<Boolean> MemcachedClient.setConfig(InetSocketAddress addr, ConfigurationType configurationType, Object o, Transcoder<T> tc) Sets the configuration in the cache node for the specified configurationType.ConnectionFactoryBuilder.setTranscoder(Transcoder<Object> t) Set the default transcoder.<T> OperationFuture<Boolean> MemcachedClient.touch(String key, int exp, Transcoder<T> tc) Touch the given key to reset its expiration time.MemcachedClientIF.touch(String key, int exp, Transcoder<T> tc) Method parameters in net.spy.memcached with type arguments of type TranscoderModifier and TypeMethodDescription<T> BulkFuture<Map<String, T>> MemcachedClient.asyncGetBulk(Collection<String> keys, Iterator<Transcoder<T>> tcIter) Asynchronously get a bunch of objects from the cache.<T> BulkFuture<Map<String, T>> MemcachedClientIF.asyncGetBulk(Collection<String> keys, Iterator<Transcoder<T>> tcs) Constructors in net.spy.memcached with parameters of type TranscoderModifierConstructorDescriptionBaseCacheMap(MemcachedClientIF c, int expiration, String prefix, Transcoder<V> t) Build a BaseCacheMap.CASMutator(MemcachedClientIF c, Transcoder<T> tc) Construct a CASMutator that uses the given client.CASMutator(MemcachedClientIF c, Transcoder<T> tc, int maxTries) Construct a CASMutator that uses the given client. -
Uses of Transcoder in net.spy.memcached.spring
Methods in net.spy.memcached.spring with parameters of type TranscoderModifier and TypeMethodDescriptionvoidMemcachedClientFactoryBean.setTranscoder(Transcoder<Object> t) -
Uses of Transcoder in net.spy.memcached.transcoders
Classes in net.spy.memcached.transcoders that implement TranscoderModifier and TypeClassDescriptionfinal classTranscoder that serializes and unserializes longs.final classTranscoder that serializes and unserializes longs.classTranscoder that serializes and compresses objects.classTranscoder that provides compatibility with Greg Whalin's memcached client.classHandles old whalin (tested with v1.6) encoding: data type is in the first byte of the value.Methods in net.spy.memcached.transcoders with parameters of type TranscoderModifier and TypeMethodDescription<T> Future<T> TranscodeService.decode(Transcoder<T> tc, CachedData cachedData) Perform a decode.