CavalliumDBEngine/src/main/java/it/cavallium/dbengine/database/disk/UpdateAtomicResultCurrent.java
2022-10-02 03:09:50 +02:00

15 lines
310 B
Java

package it.cavallium.dbengine.database.disk;
import io.netty5.buffer.Buffer;
import io.netty5.util.Send;
public record UpdateAtomicResultCurrent(Buffer current) implements UpdateAtomicResult {
@Override
public void close() {
if (current != null && current.isAccessible()) {
current.close();
}
}
}