public class MemcachedCacheFactory extends AbstractCacheFactory<net.spy.memcached.MemcachedClient>
Constructor and Description |
---|
MemcachedCacheFactory() |
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, setExpiryTimePerCache
public boolean isSupportingCacheArchitecture(String architecture)
public SimpleSpringMemcached createCache(String cacheName, String host, int port) throws Exception
Exception
protected net.spy.memcached.MemcachedClient createConnectionClient(String hostName, int port) throws IOException
createConnectionClient
in class AbstractCacheFactory<net.spy.memcached.MemcachedClient>
IOException
protected void destroyConnectionClient(net.spy.memcached.MemcachedClient connectionClient)
destroyConnectionClient
in class AbstractCacheFactory<net.spy.memcached.MemcachedClient>
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.