I
- the bean identifier typeT
- the bean typepublic class InfinispanBeanGroupEntry<I,T> extends Object implements BeanGroupEntry<I,T>
Constructor and Description |
---|
InfinispanBeanGroupEntry(MarshalledValue<Map<I,T>,MarshallingContext> beans) |
Modifier and Type | Method and Description |
---|---|
int |
decrementUsage(I id)
Decrements the usage count of the specified bean.
|
MarshalledValue<Map<I,T>,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 InfinispanBeanGroupEntry(MarshalledValue<Map<I,T>,MarshallingContext> beans)
public MarshalledValue<Map<I,T>,MarshallingContext> getBeans()
BeanGroupEntry
getBeans
in interface BeanGroupEntry<I,T>
public int incrementUsage(I id)
BeanGroupEntry
incrementUsage
in interface BeanGroupEntry<I,T>
id
- a bean identifierpublic int decrementUsage(I id)
BeanGroupEntry
decrementUsage
in interface BeanGroupEntry<I,T>
id
- a bean identifierpublic int totalUsage()
BeanGroupEntry
totalUsage
in interface BeanGroupEntry<I,T>
Copyright © 2015 JBoss by Red Hat. All rights reserved.