K - the cache key typeV - the cache value typepublic class DistributableCacheFactoryService<K,V extends Identifiable<K> & Contextual<org.wildfly.clustering.ee.Batch>> extends Object implements org.wildfly.clustering.service.Builder<CacheFactory<K,V>>, org.jboss.msc.value.Value<CacheFactory<K,V>>, CacheFactory<K,V>
CacheFactory.| Constructor and Description |
|---|
DistributableCacheFactoryService(org.jboss.msc.service.ServiceName name,
org.wildfly.clustering.service.Builder<? extends BeanManagerFactory<K,V,org.wildfly.clustering.ee.Batch>> builder) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.msc.service.ServiceBuilder<CacheFactory<K,V>> |
build(org.jboss.msc.service.ServiceTarget target) |
Cache<K,V> |
createCache(IdentifierFactory<K> identifierFactory,
StatefulObjectFactory<V> factory,
PassivationListener<V> passivationListener) |
org.jboss.msc.service.ServiceName |
getServiceName() |
CacheFactory<K,V> |
getValue() |
public DistributableCacheFactoryService(org.jboss.msc.service.ServiceName name,
org.wildfly.clustering.service.Builder<? extends BeanManagerFactory<K,V,org.wildfly.clustering.ee.Batch>> builder)
public org.jboss.msc.service.ServiceName getServiceName()
getServiceName in interface org.wildfly.clustering.service.ServiceNameProviderpublic org.jboss.msc.service.ServiceBuilder<CacheFactory<K,V>> build(org.jboss.msc.service.ServiceTarget target)
build in interface org.wildfly.clustering.service.Builder<CacheFactory<K,V extends Identifiable<K> & Contextual<org.wildfly.clustering.ee.Batch>>>public CacheFactory<K,V> getValue()
getValue in interface org.jboss.msc.value.Value<CacheFactory<K,V extends Identifiable<K> & Contextual<org.wildfly.clustering.ee.Batch>>>public Cache<K,V> createCache(IdentifierFactory<K> identifierFactory, StatefulObjectFactory<V> factory, PassivationListener<V> passivationListener)
createCache in interface CacheFactory<K,V extends Identifiable<K> & Contextual<org.wildfly.clustering.ee.Batch>>Copyright © 2018 JBoss by Red Hat. All rights reserved.