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
locator selection, by default ARRAY_MOD
the list of server addresses, separated by space, e.
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)
specifies failure mode for SpyMemcached when connections drop:
specifies failure mode for SpyMemcached when connections drop:
the method for hashing a cache key for server selection
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.
locator selection, by default ARRAY_MOD
can be used to customize the operations queue, i.
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.
is the default operation timeout; When the limit is reached, the Future responses finish with Failure(TimeoutException)
can be either Text
or Binary
can be used to customize the read queue, i.
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.
If true, optimization will collapse multiple sequential get ops.
can be used to customize the write queue, i.
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.
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
orBinary
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
locator selection, by default ARRAY_MOD