K
- the cache key typeV
- the cache value typepublic class SimpleCacheFactoryService<K,V extends Identifiable<K>> extends org.jboss.msc.service.AbstractService<CacheFactory<K,V>> implements CacheFactory<K,V>
CacheFactory
.Modifier and Type | Method and Description |
---|---|
static <K,V extends Identifiable<K>> |
build(String name,
org.jboss.msc.service.ServiceTarget target,
org.jboss.msc.service.ServiceName serviceName,
BeanContext context,
StatefulTimeoutInfo timeout) |
Cache<K,V> |
createCache(IdentifierFactory<K> identifierFactory,
StatefulObjectFactory<V> factory,
PassivationListener<V> passivationListener) |
CacheFactory<K,V> |
getValue() |
public static <K,V extends Identifiable<K>> org.jboss.msc.service.ServiceBuilder<CacheFactory<K,V>> build(String name, org.jboss.msc.service.ServiceTarget target, org.jboss.msc.service.ServiceName serviceName, BeanContext context, StatefulTimeoutInfo timeout)
public CacheFactory<K,V> getValue()
getValue
in interface org.jboss.msc.value.Value<CacheFactory<K,V extends Identifiable<K>>>
getValue
in class org.jboss.msc.service.AbstractService<CacheFactory<K,V extends Identifiable<K>>>
public Cache<K,V> createCache(IdentifierFactory<K> identifierFactory, StatefulObjectFactory<V> factory, PassivationListener<V> passivationListener)
createCache
in interface CacheFactory<K,V extends Identifiable<K>>
Copyright © 2014 JBoss by Red Hat. All rights reserved.