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.ServiceActivation
Exception
public void passivateService() throws Exception
passivateService
in interface org.qi4j.api.service.ServiceActivation
Exception
public <T> org.qi4j.spi.cache.Cache<T> fetchCache(String cacheId, Class<T> valueType)
fetchCache
in interface org.qi4j.spi.cache.CachePool
public void returnCache(org.qi4j.spi.cache.Cache<?> cache)
returnCache
in interface org.qi4j.spi.cache.CachePool