public interface BatchingStateRestoreCallback extends StateRestoreCallback
StateStore
It is expected that implementations of this class will not call the StateRestoreCallback.restore(byte[],
byte[])
method.Modifier and Type | Method and Description |
---|---|
default void |
restore(byte[] key,
byte[] value) |
void |
restoreAll(Collection<KeyValue<byte[],byte[]>> records)
Called to restore a number of records.
|
void restoreAll(Collection<KeyValue<byte[],byte[]>> records)
StateStore
is fulled
restored.records
- the records to restore.default void restore(byte[] key, byte[] value)
restore
in interface StateRestoreCallback