code: public static void main(String[] args) throws Exception {
          try (RocksDbWrapper db = RocksDbWrapper.openReadWrite("/tmp/rocksdb")) {
              db.put("demo", String.valueOf(System.currentTimeMillis()));
          }
  
          try (RocksDbWrapper db = RocksDbWrapper.openReadOnly("/tmp/rocksdb")) {
              byte[] data = db.get("demo1");
              System.out.println(new String(data));
              // db.setWriteOptions(RocksDbUtils.buildWriteOptions());
              // db.delete("demo");
          }
      }
docs: /*----------------------------------------------------------------------