K - the cache key typeV - the cache value typepublic class CacheBuilder<K,V> extends Object implements org.jboss.msc.service.Service<org.infinispan.Cache<K,V>>, Builder<org.infinispan.Cache<K,V>>
| Constructor and Description |
|---|
CacheBuilder(String containerName,
String cacheName) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.msc.service.ServiceBuilder<org.infinispan.Cache<K,V>> |
build(org.jboss.msc.service.ServiceTarget target) |
org.jboss.msc.service.ServiceName |
getServiceName() |
org.infinispan.Cache<K,V> |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public org.jboss.msc.service.ServiceName getServiceName()
getServiceName in interface ServiceNameProviderpublic org.jboss.msc.service.ServiceBuilder<org.infinispan.Cache<K,V>> build(org.jboss.msc.service.ServiceTarget target)
public void start(org.jboss.msc.service.StartContext context)
Copyright © 2015 JBoss by Red Hat. All rights reserved.