CavalliumDBEngine/src/main/java/it/cavallium/dbengine/database/disk/UnreleasableReadOptions.java

20 lines
387 B
Java
Raw Normal View History

package it.cavallium.dbengine.database.disk;
import org.rocksdb.*;
public class UnreleasableReadOptions extends ReadOptions {
public UnreleasableReadOptions() {
}
public UnreleasableReadOptions(ReadOptions readOptions) {
super(readOptions);
}
@Override
public void close() {
throw new UnsupportedOperationException("Can't close " + this.getClass().getSimpleName());
}
}