Represents a type class that needs to be implemented for serialization/deserialization to work.
Represents the Memcached connection configuration.
Represents the Memcached connection configuration.
the list of server addresses, separated by space,
e.g. "192.168.1.3:11211 192.168.1.4:11211"
the authentication credentials (if None, then no authentication is performed)
is the prefix to be added to used keys when storing/retrieving values, useful for having the same Memcached instances used by several applications to prevent them from stepping over each other.
can be either Text
or Binary
specifies failure mode for SpyMemcached when connections drop:
is the default operation timeout; When the limit is reached, the Future responses finish with Failure(TimeoutException)
If true, optimization will collapse multiple sequential get ops.
can be used to customize the operations queue,
i.e. the queue of operations waiting to be processed by SpyMemcached.
If None
, the default SpyMemcached implementation (a bounded ArrayBlockingQueue) is used.
can be used to customize the write queue,
i.e. the queue of operations waiting to be sent to Memcached by SpyMemcached.
If None
, the default SpyMemcached implementation (an unbounded LinkedBlockingQueue) is used.
can be used to customize the read queue,
i.e. the queue of Memcached responses waiting to be processed by SpyMemcached.
If None
, the default SpyMemcached implementation (an unbounded LinkedBlockingQueue) is used.
the method for hashing a cache key for server selection
Object input stream which tries the thread local class loader.
Object input stream which tries the thread local class loader.
Thread Local class loader is used by SBT to avoid polluting system class loader when running different tasks.
This allows deserialization of classes from sub-projects during something like Play's test/run modes.
Memcached client implementation based on SpyMemcached.
Memcached client implementation based on SpyMemcached.
See the parent trait (Cache) for API docs.
Represents a type class that needs to be implemented for serialization/deserialization to work.