public abstract class MemoryCachePoolMixin extends Object implements MemoryCachePoolService
| Constructor and Description |
|---|
MemoryCachePoolMixin() |
| 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) |
MemoryCacheImpl<?> |
singleCache()
Get the single Cache of this CachePool.
|
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.ServiceActivationExceptionpublic void passivateService()
throws Exception
passivateService in interface org.qi4j.api.service.ServiceActivationExceptionpublic MemoryCacheImpl<?> singleCache()
MemoryCachePoolServicesingleCache in interface MemoryCachePoolService