public class MemcachedCachePlugin
extends org.rapidoid.plugins.cache.AbstractCachePlugin
Constructor and Description |
---|
MemcachedCachePlugin() |
Modifier and Type | Method and Description |
---|---|
net.spy.memcached.MemcachedClient |
client() |
<K,V> org.rapidoid.plugins.cache.ICache<K,V> |
create(String cacheName,
long timeToLiveMs,
boolean resetTimeToLiveWhenAccessed) |
protected void |
doRestart() |
config, configure, isActive, name, option, restart
protected void doRestart() throws Exception
doRestart
in class org.rapidoid.plugins.AbstractPlugin
Exception
public net.spy.memcached.MemcachedClient client()
public <K,V> org.rapidoid.plugins.cache.ICache<K,V> create(String cacheName, long timeToLiveMs, boolean resetTimeToLiveWhenAccessed)
create
in interface org.rapidoid.plugins.cache.CachePlugin
create
in class org.rapidoid.plugins.cache.AbstractCachePlugin
Copyright © 2014–2015 Nikolche Mihajlovski and contributors. All rights reserved.