T
- The store type@InterfaceStability.Unstable
public interface QueryableStoreType<T>
StateStore
types via the
KafkaStreams
API.QueryableStoreTypes
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(StateStore stateStore)
Called when searching for
StateStore s to see if they
match the type expected by implementors of this interface |
T |
create(StateStoreProvider storeProvider,
String storeName)
Create an instance of T (usually a facade) that developers can use
to query the underlying
StateStore s |
boolean accepts(StateStore stateStore)
StateStore
s to see if they
match the type expected by implementors of this interfacestateStore
- The stateStoreT create(StateStoreProvider storeProvider, String storeName)
StateStore
sstoreProvider
- provides access to all the underlying StateStore instancesstoreName
- The name of the StoreQueryableStoreTypes.KeyValueStoreType