K - the cache key typeV - the cache value typepublic class DistributableCacheFactoryService<K,V extends Identifiable<K> & Contextual<org.wildfly.clustering.ee.Batch>> extends org.wildfly.clustering.service.SimpleServiceNameProvider implements org.wildfly.clustering.service.ServiceConfigurator, CacheFactory<K,V>
CacheFactory.| Constructor and Description |
|---|
DistributableCacheFactoryService(org.jboss.msc.service.ServiceName name,
org.wildfly.clustering.service.ServiceConfigurator configurator) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.msc.service.ServiceBuilder<?> |
build(org.jboss.msc.service.ServiceTarget target) |
Cache<K,V> |
createCache(IdentifierFactory<K> identifierFactory,
StatefulObjectFactory<V> factory,
PassivationListener<V> passivationListener) |
getServiceNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServiceNamepublic DistributableCacheFactoryService(org.jboss.msc.service.ServiceName name,
org.wildfly.clustering.service.ServiceConfigurator configurator)
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target)
build in interface org.wildfly.clustering.service.ServiceConfiguratorpublic 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.