public class MemcachePoolMixin extends Object implements MemcachePoolService
| Constructor and Description |
|---|
MemcachePoolMixin() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateService() |
<T> org.qi4j.spi.cache.Cache<T> |
fetchCache(String cacheId,
Class<T> valueType) |
void |
passivateService() |
void |
returnCache(org.qi4j.spi.cache.Cache<?> cache) |
public void activateService()
throws Exception
activateService in interface org.qi4j.api.service.ServiceActivationExceptionpublic void passivateService()
throws Exception
passivateService in interface org.qi4j.api.service.ServiceActivationExceptionpublic <T> org.qi4j.spi.cache.Cache<T> fetchCache(String cacheId, Class<T> valueType)
fetchCache in interface org.qi4j.spi.cache.CachePoolpublic void returnCache(org.qi4j.spi.cache.Cache<?> cache)
returnCache in interface org.qi4j.spi.cache.CachePool