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)
MetadataStore
put
in interface MetadataStore
public String get(String key)
MetadataStore
get
in interface MetadataStore
public String remove(String key)
MetadataStore
remove
in interface MetadataStore
Copyright © 2018. All rights reserved.