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, supportsTransactions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
beginTransaction, commitTransaction, deleteFromArray, deleteFromObject, loadWithPrefix, rollbackTransaction, saveToArray, saveToObject, supportsTransactions
public void init() throws IOException
init
in interface JSONStore
IOException
public com.google.gson.JsonObject load(String id) throws IOException
load
in interface JSONStore
IOException
public void save(String id, com.google.gson.JsonObject jsonObject) throws IOException
save
in interface JSONStore
IOException
public void delete(String id) throws IOException
delete
in interface JSONStore
IOException
Copyright © 2017. All rights reserved.