2021-10-20 01:51:34 +02:00
|
|
|
package it.cavallium.dbengine.database.disk;
|
|
|
|
|
2022-03-16 13:47:56 +01:00
|
|
|
import io.netty5.buffer.api.Buffer;
|
|
|
|
import io.netty5.buffer.api.Send;
|
2021-10-20 01:51:34 +02:00
|
|
|
|
2022-05-20 18:31:05 +02:00
|
|
|
public record UpdateAtomicResultCurrent(Buffer current) implements UpdateAtomicResult {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void close() {
|
|
|
|
if (current != null && current.isAccessible()) {
|
|
|
|
current.close();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|