K - the cache key typeV - the cache value typepublic class SimpleCacheFactoryServiceConfigurator<K,V extends Identifiable<K>> extends org.wildfly.clustering.service.SimpleServiceNameProvider implements CapabilityServiceConfigurator, CacheFactory<K,V>
CacheFactory.| Constructor and Description |
|---|
SimpleCacheFactoryServiceConfigurator(org.jboss.msc.service.ServiceName name,
StatefulComponentDescription description,
org.wildfly.clustering.service.SupplierDependency<ScheduledExecutorService> executor) |
| 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) |
equals, getServiceName, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitconfigure, configuregetServiceNamepublic SimpleCacheFactoryServiceConfigurator(org.jboss.msc.service.ServiceName name,
StatefulComponentDescription description,
org.wildfly.clustering.service.SupplierDependency<ScheduledExecutorService> executor)
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>>Copyright © 2019 JBoss by Red Hat. All rights reserved.