I - the bean identifier typeT - the bean typepublic class InfinispanBeanGroupFactory<I,T> extends Object implements BeanGroupFactory<I,T>
EVICTION_FLAGS| Constructor and Description |
|---|
InfinispanBeanGroupFactory(org.infinispan.Cache<BeanGroupKey<I>,BeanGroupEntry<I,T>> cache,
org.infinispan.Cache<BeanKey<I>,BeanEntry<I>> beanCache,
org.wildfly.clustering.marshalling.spi.MarshalledValueFactory<MarshallingContext> factory,
MarshallingContext context,
CacheProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
BeanGroup<I,T> |
createGroup(I id,
BeanGroupEntry<I,T> entry)
Create a new bean group using the specified identifier and entry.
|
BeanGroupKey<I> |
createKey(I id) |
BeanGroupEntry<I,T> |
createValue(I id,
Void context) |
boolean |
evict(I id) |
BeanGroupEntry<I,T> |
findValue(I id) |
boolean |
remove(I id) |
BeanGroupEntry<I,T> |
tryValue(I id) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpurgepublic InfinispanBeanGroupFactory(org.infinispan.Cache<BeanGroupKey<I>,BeanGroupEntry<I,T>> cache, org.infinispan.Cache<BeanKey<I>,BeanEntry<I>> beanCache, org.wildfly.clustering.marshalling.spi.MarshalledValueFactory<MarshallingContext> factory, MarshallingContext context, CacheProperties properties)
public BeanGroupKey<I> createKey(I id)
createKey in interface BeanGroupFactory<I,T>public BeanGroupEntry<I,T> createValue(I id, Void context)
createValue in interface org.wildfly.clustering.ee.Creator<I,BeanGroupEntry<I,T>,Void>public BeanGroupEntry<I,T> findValue(I id)
findValue in interface org.wildfly.clustering.ee.Locator<I,BeanGroupEntry<I,T>>public BeanGroupEntry<I,T> tryValue(I id)
tryValue in interface org.wildfly.clustering.ee.Locator<I,BeanGroupEntry<I,T>>public boolean remove(I id)
remove in interface org.wildfly.clustering.ee.Remover<I>public BeanGroup<I,T> createGroup(I id, BeanGroupEntry<I,T> entry)
BeanGroupFactorycreateGroup in interface BeanGroupFactory<I,T>id - a group identifierentry - the cache entry for the groupCopyright © 2018 JBoss by Red Hat. All rights reserved.