2020-12-07 22:15:18 +01:00
|
|
|
package it.cavallium.dbengine.database;
|
|
|
|
|
|
|
|
import org.jetbrains.annotations.Nullable;
|
2021-01-30 10:52:14 +01:00
|
|
|
import reactor.core.publisher.Mono;
|
2020-12-07 22:15:18 +01:00
|
|
|
|
|
|
|
public interface LLSingleton extends LLKeyValueDatabaseStructure {
|
|
|
|
|
2021-01-30 10:52:14 +01:00
|
|
|
Mono<byte[]> get(@Nullable LLSnapshot snapshot);
|
2020-12-07 22:15:18 +01:00
|
|
|
|
2021-01-30 10:52:14 +01:00
|
|
|
Mono<Void> set(byte[] value);
|
2020-12-07 22:15:18 +01:00
|
|
|
}
|