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
|
void |
replace(List<T> list)
Deletes the contents of the store, using instead the given list.
|
void |
resync()
Sends a resync event for each item.
|
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 replace(List<T> list)
list
- list of objectsvoid resync()
Copyright © 2015–2020 Red Hat. All rights reserved.