Interface PoolableProvider<T extends Broadcaster,​U>

    • Method Detail

      • borrowBroadcaster

        T borrowBroadcaster​(java.lang.Object id)
        Return a Broadcaster
        Parameters:
        id - the name of the Broadcaster
        Returns:
        Broadcaster
      • poolSize

        long poolSize()
        The current Pool Size
        Returns:
        current Pool size
      • activeBroadcaster

        long activeBroadcaster()
        Current number of active Broadcaster borrowed from the pool
      • implementation

        U implementation()
        Return the current native pool implementation. For example, the GenericObjectPool from Apache Common will be returned if the UnboundedApachePoolableProvider is used.
        Returns:
        the current native pool implementation