public class SimpleMetadataStore extends java.lang.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 |
---|---|
java.lang.String |
get(java.lang.String key)
Reads a value for the given key from this MetadataStore.
|
void |
put(java.lang.String key,
java.lang.String value)
Writes a key value pair to this MetadataStore.
|
java.lang.String |
remove(java.lang.String key)
Remove a value for the given key from this MetadataStore.
|
public void put(java.lang.String key, java.lang.String value)
MetadataStore
put
in interface MetadataStore
public java.lang.String get(java.lang.String key)
MetadataStore
get
in interface MetadataStore
public java.lang.String remove(java.lang.String key)
MetadataStore
remove
in interface MetadataStore