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