Opens a TtlDB. Database is opened in read-write mode without default TTL. @param options org.rocksdb.Options instance. @param db_path path to database. @return TtlDB instance. @throws RocksDBException thrown if an error occurs within the native part of the library.
(final Options options, final String db_path)
| 64 | * part of the library. |
| 65 | */ |
| 66 | public static TtlDB open(final Options options, final String db_path) |
| 67 | throws RocksDBException { |
| 68 | return open(options, db_path, 0, false); |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * <p>Opens a TtlDB.</p> |