Interface BatchingStateRestoreCallback
- All Superinterfaces:
- StateRestoreCallback
Interface for batching restoration of a 
StateStore
 It is expected that implementations of this class will not call the StateRestoreCallback.restore(byte[], byte[]) method.- 
Method SummaryModifier and TypeMethodDescriptiondefault voidrestore(byte[] key, byte[] value) voidrestoreAll(Collection<KeyValue<byte[], byte[]>> records) Called to restore a number of records.
- 
Method Details- 
restoreAllCalled to restore a number of records. This method is called repeatedly until theStateStoreis fulled restored.- Parameters:
- records- the records to restore.
 
- 
restoredefault void restore(byte[] key, byte[] value) - Specified by:
- restorein interface- StateRestoreCallback
 
 
-