V - The value type, these follow
JavaBean conventions.public interface LongObjStore<V> extends Store<Long,V>
Store| Modifier and Type | Method and Description |
|---|---|
Mono<Void> |
delete(long id)
Deletes a value associated with the provided id.
|
default Mono<Void> |
delete(Long id)
Deletes a value associated with the provided id.
|
Mono<Void> |
delete(Publisher<Long> ids)
Deletes the values associated with the provided ids.
|
Mono<Void> |
deleteInRange(long start,
long end)
Deletes values within a range of ids.
|
default Mono<Void> |
deleteInRange(Long start,
Long end)
Deletes values within a range of ids.
|
default Flux<Tuple2<Long,V>> |
entries()
Gets a stream of all entries in the data source.
|
Mono<V> |
find(long id)
Attempts to find the value associated with the provided id.
|
default Mono<V> |
find(Long id)
Attempts to find the value associated with the provided id.
|
Flux<V> |
findInRange(long start,
long end)
Retrieves all stored values with ids within a provided range.
|
default Flux<V> |
findInRange(Long start,
Long end)
Retrieves all stored values with ids within a provided range.
|
default Flux<LongObjTuple2<V>> |
longObjEntries()
Gets a stream of all entries in the data source.
|
default Mono<Void> |
save(Long key,
V value)
Stores a key value pair.
|
default Mono<Void> |
save(Publisher<Tuple2<Long,V>> entryStream)
Stores key value pairs.
|
Mono<Void> |
saveWithLong(long key,
V value)
Stores a key value pair.
|
Mono<Void> |
saveWithLong(Publisher<LongObjTuple2<V>> entryStream)
Stores key value pairs.
|
deleteAll, invalidatecount, keys, valuesdefault Mono<Void> save(Long key, V value)
StoreMono<Void> saveWithLong(long key, V value)
key - The key representing the value.value - The value.default Mono<Void> save(Publisher<Tuple2<Long,V>> entryStream)
StoreMono<Void> saveWithLong(Publisher<LongObjTuple2<V>> entryStream)
entryStream - A flux providing the key value pairs.default Mono<V> find(Long id)
ReadOnlyStorefind in interface ReadOnlyStore<Long,V>id - The id to search with.Mono<V> find(long id)
id - The id to search with.default Flux<V> findInRange(Long start, Long end)
ReadOnlyStorefindInRange in interface ReadOnlyStore<Long,V>start - The starting key (inclusive).end - The ending key (exclusive).Flux<V> findInRange(long start, long end)
start - The starting key (inclusive).end - The ending key (exclusive).default Mono<Void> delete(Long id)
StoreMono<Void> delete(long id)
id - The id of the value to delete.Mono<Void> delete(Publisher<Long> ids)
Storedefault Mono<Void> deleteInRange(Long start, Long end)
StoredeleteInRange in interface Store<Long,V>start - The starting key (inclusive).end - The ending key (exclusive).Mono<Void> deleteInRange(long start, long end)
start - The starting key (inclusive).end - The ending key (exclusive).default Flux<Tuple2<Long,V>> entries()
ReadOnlyStoreentries in interface ReadOnlyStore<Long,V>default Flux<LongObjTuple2<V>> longObjEntries()