public abstract class EhCachePoolMixin extends Object implements EhCachePoolService
| Constructor and Description |
|---|
EhCachePoolMixin() |
| 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 <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.CachePoolpublic void activateService()
throws Exception
activateService in interface org.qi4j.api.service.ServiceActivationException