public interface KeyValueStore
Modifier and Type | Method and Description |
---|---|
void |
beginTransaction() |
void |
clear() |
void |
close() |
void |
commitTransaction() |
boolean |
contains(String key) |
boolean |
contains(String key,
String value) |
long |
count(String key) |
void |
delete(String key) |
void |
delete(String key,
String value) |
Iterator<String> |
getAll(String key) |
String |
getOne(String key) |
void |
init() |
void |
replace(String key,
String value) |
void |
rollbackTransaction() |
void |
set(String key,
String value) |
boolean |
supportsTransactions() |
void init() throws IOException
IOException
void close()
boolean contains(String key)
void delete(String key)
long count(String key)
void clear()
boolean supportsTransactions()
void beginTransaction()
void commitTransaction()
void rollbackTransaction()
Copyright © 2017. All rights reserved.