public class InMemoryStorage extends Object implements LocalStorage
| Constructor and Description |
|---|
InMemoryStorage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Key key) |
Value |
get(Key key) |
List<Key> |
getKeysBeforeTimestamp(long timestamp) |
void |
put(Key key,
Value value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateLastPublishedpublic void put(Key key, Value value)
put in interface LocalStoragepublic Value get(Key key)
get in interface LocalStoragepublic boolean contains(Key key)
contains in interface LocalStoragepublic List<Key> getKeysBeforeTimestamp(long timestamp)
getKeysBeforeTimestamp in interface LocalStorageCopyright © 2016. All Rights Reserved.