2021-09-06 01:15:13 +02:00
|
|
|
package it.cavallium.dbengine;
|
|
|
|
|
2022-03-16 13:47:56 +01:00
|
|
|
import io.netty5.buffer.api.BufferAllocator;
|
2021-09-06 01:15:13 +02:00
|
|
|
import it.cavallium.dbengine.DbTestUtils.TempDb;
|
|
|
|
import it.cavallium.dbengine.DbTestUtils.TestAllocator;
|
|
|
|
import reactor.core.publisher.Mono;
|
|
|
|
|
|
|
|
public interface TemporaryDbGenerator {
|
|
|
|
|
|
|
|
Mono<TempDb> openTempDb(TestAllocator allocator);
|
|
|
|
|
|
|
|
Mono<Void> closeTempDb(TempDb db);
|
|
|
|
}
|