Bypass error
This commit is contained in:
parent
c57a3d2a45
commit
9e66b17e58
@ -55,6 +55,20 @@ import org.rocksdb.WriteOptions;
|
||||
|
||||
public class EmbeddedDB implements RocksDBSyncAPI, Closeable {
|
||||
|
||||
static {
|
||||
//noinspection ThrowableNotThrown
|
||||
var exceptionLoadBypass = new RocksDBException("test");
|
||||
//noinspection ResultOfMethodCallIgnored
|
||||
exceptionLoadBypass.getMessage();
|
||||
try {
|
||||
var clazz = Class.forName("org.rocksdb.RocksDBException");
|
||||
//noinspection ResultOfMethodCallIgnored
|
||||
clazz.getSimpleName();
|
||||
} catch (ClassNotFoundException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
private static final int INITIAL_DIRECT_READ_BYTE_BUF_SIZE_BYTES = 4096;
|
||||
public static final long MAX_TRANSACTION_DURATION_MS = 10_000L;
|
||||
private static final boolean USE_FAST_GET = true;
|
||||
|
Loading…
Reference in New Issue
Block a user