public class ShardAwareStoreService extends Object implements StoreService
ShardAwareStore
.Constructor and Description |
---|
ShardAwareStoreService(KeyStoreRegistry registry,
StoreService backingStoreService) |
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 ShardAwareStoreService(KeyStoreRegistry registry, StoreService backingStoreService)
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