
public class MemoryJSONStore extends AbstractJSONStore implements JSONStore
| Constructor and Description |
|---|
MemoryJSONStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
delete(String id) |
void |
init() |
com.google.gson.JsonObject |
load(String id) |
void |
save(String id,
com.google.gson.JsonObject jsonObject) |
beginTransaction, commitTransaction, deleteFromArray, deleteFromObject, loadWithPrefix, rollbackTransaction, saveToArray, saveToObject, supportsTransactionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeginTransaction, commitTransaction, deleteFromArray, deleteFromObject, loadWithPrefix, rollbackTransaction, saveToArray, saveToObject, supportsTransactionspublic void init()
throws IOException
init in interface JSONStoreIOExceptionpublic com.google.gson.JsonObject load(String id) throws IOException
load in interface JSONStoreIOExceptionpublic void save(String id, com.google.gson.JsonObject jsonObject) throws IOException
save in interface JSONStoreIOExceptionpublic void delete(String id) throws IOException
delete in interface JSONStoreIOExceptionCopyright © 2017. All rights reserved.