Package com.github.twitch4j.pubsub
Class TwitchPubSubConnectionPool.TwitchPubSubConnectionPoolBuilder<C extends TwitchPubSubConnectionPool,B extends TwitchPubSubConnectionPool.TwitchPubSubConnectionPoolBuilder<C,B>>
java.lang.Object
com.github.twitch4j.common.pool.AbstractConnectionPool.AbstractConnectionPoolBuilder<C,C2,B>
com.github.twitch4j.common.pool.SubscriptionConnectionPool.SubscriptionConnectionPoolBuilder<C,X,Y,Z,C2,B2>
com.github.twitch4j.common.pool.TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder<TwitchPubSub,PubSubRequest,PubSubSubscription,Boolean,TwitchPubSubBuilder,C,B>
com.github.twitch4j.pubsub.TwitchPubSubConnectionPool.TwitchPubSubConnectionPoolBuilder<C,B>
- Enclosing class:
- TwitchPubSubConnectionPool
public abstract static class TwitchPubSubConnectionPool.TwitchPubSubConnectionPoolBuilder<C extends TwitchPubSubConnectionPool,B extends TwitchPubSubConnectionPool.TwitchPubSubConnectionPoolBuilder<C,B>>
extends TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder<TwitchPubSub,PubSubRequest,PubSubSubscription,Boolean,TwitchPubSubBuilder,C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract C
build()
connectionBackoffStrategy
(IBackoffStrategy connectionBackoffStrategy) WebSocket Connection Backoff Strategyprotected abstract B
self()
toString()
Methods inherited from class com.github.twitch4j.common.pool.TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder
advancedConfiguration, connectionEventManager, eventManager, executor, proxyConfig
Methods inherited from class com.github.twitch4j.common.pool.SubscriptionConnectionPool.SubscriptionConnectionPoolBuilder
disposeUnusedConnections, maxSubscriptionsPerConnection
-
Constructor Details
-
TwitchPubSubConnectionPoolBuilder
public TwitchPubSubConnectionPoolBuilder()
-
-
Method Details
-
connectionBackoffStrategy
WebSocket Connection Backoff Strategy- Returns:
this
.
-
self
-
build
-
toString
-