public interface ContextBackend
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(String key)
check if key exists in state
|
byte[] |
get(String key)
get content by key
|
void |
put(String key,
byte[] value)
put content by key
|
void |
remove(String key)
remove content by key
|
boolean exists(String key) throws Exception
Exceptionbyte[] get(String key) throws Exception
key - keyExceptionvoid put(String key, byte[] value) throws Exception
key - keyvalue - contentExceptionCopyright © 2021. All rights reserved.