public interface SyncableStore<T> extends Store<T>
Modifier and Type | Method and Description |
---|---|
void |
add(T obj)
Inserts an item into the store
|
void |
delete(T obj)
Removes an item from the store
|
String |
getKey(T obj)
Get the key for the given object
|
void |
resync()
Sends a resync event for each item.
|
void |
retainAll(Set<String> nextKeys)
Retain only the values with keys in the given set
|
void |
update(T obj)
Sets an item in the store to its updated state.
|
void add(T obj)
obj
- objectvoid update(T obj)
obj
- objectvoid delete(T obj)
obj
- objectvoid resync()
String getKey(T obj)
obj
- objectCopyright © 2015–2022 Red Hat. All rights reserved.