public interface ShardingStoreRegistry
Modifier and Type | Method and Description |
---|---|
boolean |
containsStore(Class<?> valueClass) |
<K extends Comparable<K>,V extends Serializable> |
getKeyStore(Class<V> valueClass,
int shardId) |
<K extends Comparable<K>,V extends Serializable> |
getValueStore(Class<K> key,
Class<V> value) |
<V extends Serializable,K extends Comparable<K>> |
putStore(Class<V> valueClass,
discord4j.store.api.Store<K,V> store) |
boolean containsStore(Class<?> valueClass)
<V extends Serializable,K extends Comparable<K>> void putStore(Class<V> valueClass, discord4j.store.api.Store<K,V> store)
<K extends Comparable<K>,V extends Serializable> discord4j.store.api.Store<K,V> getValueStore(Class<K> key, Class<V> value)
<K extends Comparable<K>,V extends Serializable> Set<K> getKeyStore(Class<V> valueClass, int shardId)