I - the bean identifier typeT - the bean typepublic class InfinispanBeanGroupEntry<I,T> extends Object implements BeanGroupEntry<I,T>
| Constructor and Description |
|---|
InfinispanBeanGroupEntry(org.wildfly.clustering.marshalling.MarshalledValue<Map<I,T>,org.wildfly.clustering.marshalling.MarshallingContext> beans) |
| Modifier and Type | Method and Description |
|---|---|
int |
decrementUsage(I id)
Decrements the usage count of the specified bean.
|
org.wildfly.clustering.marshalling.MarshalledValue<Map<I,T>,org.wildfly.clustering.marshalling.MarshallingContext> |
getBeans()
Returns the beans in this group indexed via identifier.
|
int |
incrementUsage(I id)
Increments the usage count of the specified bean.
|
int |
totalUsage()
The total usage counts for all beans in this group/
|
public org.wildfly.clustering.marshalling.MarshalledValue<Map<I,T>,org.wildfly.clustering.marshalling.MarshallingContext> getBeans()
BeanGroupEntrygetBeans in interface BeanGroupEntry<I,T>public int incrementUsage(I id)
BeanGroupEntryincrementUsage in interface BeanGroupEntry<I,T>id - a bean identifierpublic int decrementUsage(I id)
BeanGroupEntrydecrementUsage in interface BeanGroupEntry<I,T>id - a bean identifierpublic int totalUsage()
BeanGroupEntrytotalUsage in interface BeanGroupEntry<I,T>Copyright © 2015 JBoss by Red Hat. All rights reserved.