@WireService(value=discord4j.store.api.service.StoreService.class) public class JdkStoreService extends Object implements StoreService
JdkStore
instances.Constructor and Description |
---|
JdkStoreService() |
Modifier and Type | Method and Description |
---|---|
Mono<Void> |
dispose() |
boolean |
hasGenericStores() |
boolean |
hasLongObjStores() |
void |
init(StoreContext context) |
<K extends Comparable<K>,V> |
provideGenericStore(Class<K> keyClass,
Class<V> valueClass) |
<V> LongObjStore<V> |
provideLongObjStore(Class<V> valueClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public boolean hasGenericStores()
hasGenericStores
in interface StoreService
public <K extends Comparable<K>,V> Store<K,V> provideGenericStore(Class<K> keyClass, Class<V> valueClass)
provideGenericStore
in interface StoreService
public boolean hasLongObjStores()
hasLongObjStores
in interface StoreService
public <V> LongObjStore<V> provideLongObjStore(Class<V> valueClass)
provideLongObjStore
in interface StoreService
public void init(StoreContext context)
init
in interface StoreService
public Mono<Void> dispose()
dispose
in interface StoreService