public interface PoolableProvider<T extends Broadcaster,U> extends AtmosphereConfigAware
PoolableBroadcasterFactory
with Broadcaster
Modifier and Type | Method and Description |
---|---|
long |
activeBroadcaster()
Current number of active Broadcaster borrowed from the pool
|
T |
borrowBroadcaster(Object id)
Return a
Broadcaster |
U |
implementation()
Return the current native pool implementation.
|
long |
poolSize()
The current Pool Size
|
<T extends Broadcaster,U> |
returnBroadcaster(T b)
Return a destroyed
Broadcaster instance. |
configure
T borrowBroadcaster(Object id)
Broadcaster
id
- the name of the BroadcasterBroadcaster
<T extends Broadcaster,U> PoolableProvider returnBroadcaster(T b)
Broadcaster
instance.b
- Broadcaster
long poolSize()
long activeBroadcaster()
U implementation()
UnboundedApachePoolableProvider
is used.Copyright © 2016. All rights reserved.