I - the bean identifier typeT - the bean typepublic class InfinispanBeanManager<I,T,C> extends Object implements BeanManager<I,T,org.wildfly.clustering.ee.cache.tx.TransactionBatch>
BeanManager implementation backed by an infinispan cache.| Constructor and Description |
|---|
InfinispanBeanManager(InfinispanBeanManagerConfiguration<I,T> configuration,
IdentifierFactory<I> identifierFactory,
Configuration<BeanKey<I>,BeanEntry<I>,BeanFactory<I,T>> beanConfiguration,
Configuration<BeanGroupKey<I>,BeanGroupEntry<I,T,C>,BeanGroupFactory<I,T,C>> groupConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsBean(I id) |
Bean<I,T> |
createBean(I id,
I groupId,
T bean) |
Bean<I,T> |
findBean(I id) |
int |
getActiveCount() |
org.wildfly.clustering.ee.Batcher<org.wildfly.clustering.ee.cache.tx.TransactionBatch> |
getBatcher() |
IdentifierFactory<I> |
getIdentifierFactory() |
int |
getPassiveCount() |
org.jboss.ejb.client.Affinity |
getStrictAffinity() |
org.jboss.ejb.client.Affinity |
getWeakAffinity(I id) |
boolean |
isRemotable(Throwable throwable) |
void |
start() |
void |
stop() |
public InfinispanBeanManager(InfinispanBeanManagerConfiguration<I,T> configuration, IdentifierFactory<I> identifierFactory, Configuration<BeanKey<I>,BeanEntry<I>,BeanFactory<I,T>> beanConfiguration, Configuration<BeanGroupKey<I>,BeanGroupEntry<I,T,C>,BeanGroupFactory<I,T,C>> groupConfiguration)
public void start()
start in interface BeanManager<I,T,org.wildfly.clustering.ee.cache.tx.TransactionBatch>public void stop()
stop in interface BeanManager<I,T,org.wildfly.clustering.ee.cache.tx.TransactionBatch>public boolean isRemotable(Throwable throwable)
isRemotable in interface BeanManager<I,T,org.wildfly.clustering.ee.cache.tx.TransactionBatch>public org.jboss.ejb.client.Affinity getStrictAffinity()
getStrictAffinity in interface AffinitySupport<I>public org.jboss.ejb.client.Affinity getWeakAffinity(I id)
getWeakAffinity in interface AffinitySupport<I>public Bean<I,T> createBean(I id, I groupId, T bean)
createBean in interface BeanManager<I,T,org.wildfly.clustering.ee.cache.tx.TransactionBatch>public Bean<I,T> findBean(I id)
findBean in interface BeanManager<I,T,org.wildfly.clustering.ee.cache.tx.TransactionBatch>public boolean containsBean(I id)
containsBean in interface BeanManager<I,T,org.wildfly.clustering.ee.cache.tx.TransactionBatch>public IdentifierFactory<I> getIdentifierFactory()
getIdentifierFactory in interface BeanManager<I,T,org.wildfly.clustering.ee.cache.tx.TransactionBatch>public org.wildfly.clustering.ee.Batcher<org.wildfly.clustering.ee.cache.tx.TransactionBatch> getBatcher()
getBatcher in interface BeanManager<I,T,org.wildfly.clustering.ee.cache.tx.TransactionBatch>public int getActiveCount()
getActiveCount in interface BeanManagerStatisticspublic int getPassiveCount()
getPassiveCount in interface BeanManagerStatisticsCopyright © 2021 JBoss by Red Hat. All rights reserved.