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, restartprotected void doRestart()
throws Exception
doRestart in class org.rapidoid.plugins.AbstractPluginExceptionpublic 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.CachePlugincreate in class org.rapidoid.plugins.cache.AbstractCachePluginCopyright © 2014–2015 Nikolche Mihajlovski and contributors. All rights reserved.