public interface KeyValueStoreProvider extends KeyValueStore
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the content of this Key/Value store provider.
|
void |
close()
Closes this Key/Value store provider.
|
void |
initialize(KeyValueStoreDescriptor descriptor)
Initializes this Key/Value store provider.
|
Stream<String> |
keyStream()
Returns a
Stream of the keys contained in this Key/Value store provider. |
Stream<String> |
keyStream(String prefix)
Returns a
Stream of the keys with the given prefix contained in this Key/Value store provider. |
addAndGet, compareAndSet, compareAndSet, compareAndSet, compareAndSet, get, get, getLong, getLongs, getString, getStrings, put, put, put, put, put, put, setTTL
void initialize(KeyValueStoreDescriptor descriptor)
descriptor
- the store provider descriptorStream<String> keyStream()
Stream
of the keys contained in this Key/Value store provider.
This operation may be slow and should only be used for management or debug purposes.
Stream<String> keyStream(String prefix)
Stream
of the keys with the given prefix contained in this Key/Value store provider.
This operation may be slow and should only be used for management or debug purposes.
void close()
void clear()
Copyright © 2018 Nuxeo. All rights reserved.