I - the bean identifier typeT - the bean typepublic class InfinispanBeanGroupFactory<I,T> extends Object implements BeanGroupFactory<I,T>
| Constructor and Description |
|---|
InfinispanBeanGroupFactory(org.infinispan.Cache<BeanGroupKey<I>,BeanGroupEntry<I,T>> cache,
org.infinispan.Cache<BeanKey<I>,BeanEntry<I>> beanCache,
Predicate<Map.Entry<? super BeanKey<I>,? super BeanEntry<I>>> beanFilter,
org.wildfly.clustering.marshalling.spi.MarshalledValueFactory<MarshallingContext> factory,
MarshallingContext context,
CacheProperties properties,
PassivationConfiguration<T> passivation) |
| Modifier and Type | Method and Description |
|---|---|
void |
activated(org.infinispan.notifications.cachelistener.event.CacheEntryActivatedEvent<BeanGroupKey<I>,BeanGroupEntry<I,T>> event) |
void |
close() |
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) |
BeanGroupEntry<I,T> |
findValue(I id) |
int |
getPassiveCount() |
void |
passivated(org.infinispan.notifications.cachelistener.event.CacheEntryPassivatedEvent<BeanGroupKey<I>,BeanGroupEntry<I,T>> event) |
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, Predicate<Map.Entry<? super BeanKey<I>,? super BeanEntry<I>>> beanFilter, org.wildfly.clustering.marshalling.spi.MarshalledValueFactory<MarshallingContext> factory, MarshallingContext context, CacheProperties properties, PassivationConfiguration<T> passivation)
public void close()
close in interface BeanGroupFactory<I,T>public int getPassiveCount()
getPassiveCount in interface BeanGroupFactory<I,T>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 grouppublic void passivated(org.infinispan.notifications.cachelistener.event.CacheEntryPassivatedEvent<BeanGroupKey<I>,BeanGroupEntry<I,T>> event)
public void activated(org.infinispan.notifications.cachelistener.event.CacheEntryActivatedEvent<BeanGroupKey<I>,BeanGroupEntry<I,T>> event)
Copyright © 2019 JBoss by Red Hat. All rights reserved.