Interface KeyValueStateRepository<T>
- 
- Type Parameters:
- T- type of the state object stored in this repository
 - All Known Implementing Classes:
- DefaultKeyValueStateRepository
 
 public interface KeyValueStateRepository<T>A key-value repository for the connector state.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Tfetch(String key)Fetches the state value stored under the provided key in this repository.voidupdate(String key, T value)Updates the provided state value, stored under the provided key, in this repository.
 
- 
- 
- 
Method Detail- 
fetchT fetch(String key) Fetches the state value stored under the provided key in this repository.- Parameters:
- key- key associated with the state value
- Returns:
- object stored under the provided key in this repository
- Throws:
- KeyNotFoundException- if no object under provided key exists in this repository
 
 
- 
 
-