public class InMemoryJSONStorageExtension extends Object implements StorageExtension
| Constructor and Description |
|---|
InMemoryJSONStorageExtension() |
InMemoryJSONStorageExtension(ConcurrentMap<Object,Object> database) |
InMemoryJSONStorageExtension(String name,
ConcurrentMap<Object,Object> database) |
| Modifier and Type | Method and Description |
|---|---|
Task<Void> |
clearState(RemoteReference<?> reference,
Object state) |
String |
getName() |
Task<Boolean> |
readState(RemoteReference<?> reference,
Object state) |
Task<Void> |
stop() |
Task<Void> |
writeState(RemoteReference<?> reference,
Object state) |
public InMemoryJSONStorageExtension()
public InMemoryJSONStorageExtension(ConcurrentMap<Object,Object> database)
public InMemoryJSONStorageExtension(String name, ConcurrentMap<Object,Object> database)
public String getName()
getName in interface StorageExtensionpublic Task<Void> clearState(RemoteReference<?> reference, Object state)
clearState in interface StorageExtensionpublic Task<Boolean> readState(RemoteReference<?> reference, Object state)
readState in interface StorageExtensionpublic Task<Void> writeState(RemoteReference<?> reference, Object state)
writeState in interface StorageExtensionCopyright © 2017 Electronic Arts Inc. All rights reserved.