| Package | Description |
|---|---|
| org.rocksdb |
The RocksDB Java driver
|
| Modifier and Type | Field and Description |
|---|---|
Status |
ByteBufferGetStatus.status |
| Modifier and Type | Method and Description |
|---|---|
Status |
FileOperationInfo.getStatus()
Get the status.
|
Status |
RocksDBException.getStatus()
Get the status returned from RocksDB
|
Status |
TableFileCreationInfo.getStatus()
Get the status indicating whether the creation was successful or not.
|
Status |
TableFileDeletionInfo.getStatus()
Get the status indicating whether the deletion was successful or not.
|
Status |
CompactionJobInfo.status()
Get the status indicating whether the compaction was successful or not.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractEventListener.onBackgroundError(BackgroundErrorReason backgroundErrorReason,
Status backgroundError) |
void |
EventListener.onBackgroundError(BackgroundErrorReason backgroundErrorReason,
Status backgroundError)
A callback function for RocksDB which will be called before setting the
background error status to a non-OK value.
|
boolean |
AbstractEventListener.onErrorRecoveryBegin(BackgroundErrorReason backgroundErrorReason,
Status backgroundError) |
boolean |
EventListener.onErrorRecoveryBegin(BackgroundErrorReason backgroundErrorReason,
Status backgroundError)
A callback function for RocksDB which will be called just before
starting the automatic recovery process for recoverable background
errors, such as NoSpace().
|
void |
AbstractEventListener.onErrorRecoveryCompleted(Status oldBackgroundError) |
void |
EventListener.onErrorRecoveryCompleted(Status oldBackgroundError)
A callback function for RocksDB which will be called once the database
is recovered from read-only mode after an error.
|
| Constructor and Description |
|---|
RocksDBException(Status status) |
RocksDBException(String msg,
Status status) |
TableFileCreationInfo(long fileSize,
TableProperties tableProperties,
Status status,
String dbName,
String columnFamilyName,
String filePath,
int jobId,
byte tableFileCreationReasonValue)
Access is protected as this will only be constructed from
C++ via JNI.
|
Copyright © 2022. All rights reserved.