R - Record to store by this interface.CachedRecordStore@Private
@Evolving
public abstract class RecordStore<R extends BaseRecord>
extends java.lang.Object
| Modifier | Constructor | Description |
|---|---|---|
protected |
RecordStore(java.lang.Class<R> clazz,
StateStoreDriver stateStoreDriver) |
Create a new store for records.
|
| Modifier and Type | Method | Description |
|---|---|---|
StateStoreDriver |
getDriver() |
Get the State Store driver.
|
java.lang.Class<R> |
getRecordClass() |
Report a required record to the data store.
|
static <T extends RecordStore<?>> |
newInstance(java.lang.Class<T> clazz,
StateStoreDriver driver) |
Build a state store API implementation interface.
|
protected RecordStore(java.lang.Class<R> clazz, StateStoreDriver stateStoreDriver)
clazz - Class of the record to store.stateStoreDriver - Driver for the State Store.public java.lang.Class<R> getRecordClass()
public StateStoreDriver getDriver()
public static <T extends RecordStore<?>> T newInstance(java.lang.Class<T> clazz, StateStoreDriver driver)
T - Instance of type RecordStore.clazz - The specific interface implementation to createdriver - The StateStoreDriver implementation in use.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.