Interface PersistentHistory
- All Superinterfaces:
History, Iterable<History.Entry>
- All Known Implementing Classes:
FileHistory
Persistent
History.- Since:
- 2.3
- Author:
- Jason Dillon
-
Nested Class Summary
Nested classes/interfaces inherited from interface History
History.Entry -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()Flush all items to persistent storage.voidpurge()Purge persistent storage andHistory.clear().Methods inherited from interface History
add, clear, current, entries, entries, get, index, isEmpty, iterator, moveTo, moveToEnd, moveToFirst, moveToLast, next, previous, remove, removeFirst, removeLast, replace, set, sizeMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
flush
Flush all items to persistent storage.- Throws:
IOException- Flush failed
-
purge
Purge persistent storage andHistory.clear().- Throws:
IOException- Purge failed
-