Interface BeanGroupFactory<I,T,C>
-
- Type Parameters:
I- the bean identifier typeT- the bean typeC- the marshalling context
- All Superinterfaces:
BeanGroupEvictor<I>,org.wildfly.clustering.ee.Creator<I,BeanGroupEntry<I,T,C>,Void>,org.wildfly.clustering.ee.Locator<I,BeanGroupEntry<I,T,C>>,org.wildfly.clustering.ee.Remover<I>
- All Known Implementing Classes:
InfinispanBeanGroupFactory
public interface BeanGroupFactory<I,T,C> extends org.wildfly.clustering.ee.Creator<I,BeanGroupEntry<I,T,C>,Void>, org.wildfly.clustering.ee.Locator<I,BeanGroupEntry<I,T,C>>, org.wildfly.clustering.ee.Remover<I>, BeanGroupEvictor<I>
A factory for creating aBeanGroup.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()BeanGroup<I,T>createGroup(I id, BeanGroupEntry<I,T,C> entry)Create a new bean group using the specified identifier and entry.BeanGroupKey<I>createKey(I id)intgetPassiveCount()-
Methods inherited from interface org.wildfly.clustering.ejb.infinispan.BeanGroupEvictor
evict
-
-
-
-
Method Detail
-
createGroup
BeanGroup<I,T> createGroup(I id, BeanGroupEntry<I,T,C> entry)
Create a new bean group using the specified identifier and entry.- Parameters:
id- a group identifierentry- the cache entry for the group- Returns:
- a bean group
-
createKey
BeanGroupKey<I> createKey(I id)
-
getPassiveCount
int getPassiveCount()
-
close
void close()
-
-