CavalliumDBEngine/src/main/java/it/cavallium/dbengine/database/LLSingleton.java

12 lines
273 B
Java
Raw Normal View History

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
}