Interface | Description |
---|---|
InvalidationStrategy |
A contract to determine how a Store invalidation should happen on a shard session terminating.
|
KeyStore<K extends Comparable<K>> | |
KeyStoreRegistry |
Registry that holds all
Store and KeyStore instances in order to support a
ShardAwareStoreService creating and invalidating on a per-shard basis. |
MemberRequestFilter |
A filter to customize the guild member request strategy.
|
ShardCoordinator |
A
ShardCoordinator defines key operations to leverage shard coordination across boundaries. |
ShardingStrategy |
Strategy to build sharding
GatewayClient instances. |
Class | Description |
---|---|
DefaultShardingStrategy | |
DefaultShardingStrategy.Builder |
A
ShardingStrategy builder. |
GatewayBootstrap<O extends GatewayOptions> |
Builder to create a shard group connecting to Discord Gateway to produce a
GatewayDiscordClient . |
JdkKeyStore<K extends Comparable<K>> |
A repository for the entity keys tracked by each shard.
|
JdkKeyStoreRegistry |
Registry implementation that is backed by JDK collections like
Map instances to hold multiple
Store and JdkKeyStore , using the value Class they hold as key. |
LocalShardCoordinator |
A centralized local
ShardCoordinator that can operate on a single JVM instance to coordinate Gateway
connection and identifying attempts across multiple shards. |
ShardAwareStore<K extends Comparable<K>,V> |
A custom and generic
Store implementation that keeps track of the shard particular entities are cached, in
order to allow orderly cleanup if a specific shard needs to invalidate their cache. |
ShardAwareStoreService |
Factory that delegates the creation of the store to a backing factory and then wraps it into a
ShardAwareStore . |