Interface BeanGroupFactory<I,​T,​C>

  • Type Parameters:
    I - the bean identifier type
    T - the bean type
    C - 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 a BeanGroup.
    Author:
    Paul Ferraro
    • 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 identifier
        entry - the cache entry for the group
        Returns:
        a bean group
      • getPassiveCount

        int getPassiveCount()
      • close

        void close()