public class AtomicFsBackend extends LocalFileContextBackend
| Constructor and Description |
|---|
AtomicFsBackend(ContextBackendConfig config) |
| Modifier and Type | Method and Description |
|---|---|
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
|
exists, renamepublic AtomicFsBackend(ContextBackendConfig config)
public byte[] get(String key) throws Exception
ContextBackendget in interface ContextBackendget in class LocalFileContextBackendkey - keyExceptionpublic void put(String key, byte[] value) throws Exception
ContextBackendput in interface ContextBackendput in class LocalFileContextBackendkey - keyvalue - contentExceptionpublic void remove(String key)
ContextBackendremove in interface ContextBackendremove in class LocalFileContextBackendkey - keyCopyright © 2021. All rights reserved.