Class InfinispanBeanGroupEntry<I,​T,​C>

    • Constructor Detail

    • Method Detail

      • incrementUsage

        public int incrementUsage​(I id)
        Description copied from interface: BeanGroupEntry
        Increments the usage count of the specified bean.
        Specified by:
        incrementUsage in interface BeanGroupEntry<I,​T,​C>
        Parameters:
        id - a bean identifier
        Returns:
        the previous usage count
      • decrementUsage

        public int decrementUsage​(I id)
        Description copied from interface: BeanGroupEntry
        Decrements the usage count of the specified bean.
        Specified by:
        decrementUsage in interface BeanGroupEntry<I,​T,​C>
        Parameters:
        id - a bean identifier
        Returns:
        the current usage count
      • totalUsage

        public int totalUsage()
        Description copied from interface: BeanGroupEntry
        The total usage counts for all beans in this group/
        Specified by:
        totalUsage in interface BeanGroupEntry<I,​T,​C>
        Returns:
        the total usage count