public class SimpleMetadataStore extends Object implements MetadataStore
MetadataStore that uses an in-memory map only.
The metadata will not be persisted across application restarts.| Constructor and Description |
|---|
SimpleMetadataStore() |
| Modifier and Type | Method and Description |
|---|---|
String |
get(String key)
Reads a value for the given key from this MetadataStore.
|
void |
put(String key,
String value)
Writes a key value pair to this MetadataStore.
|
String |
remove(String key)
Remove a value for the given key from this MetadataStore.
|
public void put(String key, String value)
MetadataStoreput in interface MetadataStorepublic String get(String key)
MetadataStoreget in interface MetadataStorepublic String remove(String key)
MetadataStoreremove in interface MetadataStoreCopyright © 2016. All rights reserved.