public class MemcachedCacheFactory extends AbstractCacheFactory<net.spy.memcached.MemcachedClient>
| Constructor and Description |
|---|
MemcachedCacheFactory() |
MemcachedCacheFactory(Map<String,Integer> expiryTimePerCache,
int expiryTime) |
| Modifier and Type | Method and Description |
|---|---|
SimpleSpringMemcached |
createCache(String cacheName,
String host,
int port) |
protected net.spy.memcached.MemcachedClient |
createConnectionClient(String hostName,
int port) |
protected void |
destroyConnectionClient(net.spy.memcached.MemcachedClient connectionClient) |
boolean |
isSupportingCacheArchitecture(String architecture) |
destroy, getConnectionFactory, getExpiryTime, getExpiryTime, setExpiryTime, setExpiryTimePerCachepublic boolean isSupportingCacheArchitecture(String architecture)
public SimpleSpringMemcached createCache(String cacheName, String host, int port) throws Exception
Exceptionprotected net.spy.memcached.MemcachedClient createConnectionClient(String hostName, int port) throws IOException
createConnectionClient in class AbstractCacheFactory<net.spy.memcached.MemcachedClient>IOExceptionprotected void destroyConnectionClient(net.spy.memcached.MemcachedClient connectionClient)
destroyConnectionClient in class AbstractCacheFactory<net.spy.memcached.MemcachedClient>Copyright © 2021 Pivotal Software, Inc.. All rights reserved.