public class RocksDbApiClient extends AbstractRocksDbApi<Void>
| Constructor and Description |
|---|
RocksDbApiClient(MethodHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
backupDatabase(Void ctx,
BackupDatabaseRequest request,
Observer<com.google.protobuf.Empty> observer)
Backup database
|
void |
compactDatabase(Void ctx,
CompactDatabaseRequest request,
Observer<com.google.protobuf.Empty> observer)
Compact database
|
void |
describeDatabase(Void ctx,
DescribeDatabaseRequest request,
Observer<HttpBody> observer)
Get a text-dump describing a database
This operation can be used to debug the inner workings of RocksDB database.
|
void |
describeRocksDb(Void ctx,
com.google.protobuf.Empty request,
Observer<HttpBody> observer)
Get a text-dump with general RocksDB info
|
void |
listDatabases(Void ctx,
com.google.protobuf.Empty request,
Observer<ListRocksDbDatabasesResponse> observer)
List databases
|
void |
listTablespaces(Void ctx,
com.google.protobuf.Empty request,
Observer<ListRocksDbTablespacesResponse> observer)
List tablespaces
|
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototypepublic RocksDbApiClient(MethodHandler handler)
public final void listTablespaces(Void ctx, com.google.protobuf.Empty request, Observer<ListRocksDbTablespacesResponse> observer)
List tablespaces
listTablespaces in class AbstractRocksDbApi<Void>public final void backupDatabase(Void ctx, BackupDatabaseRequest request, Observer<com.google.protobuf.Empty> observer)
Backup database
backupDatabase in class AbstractRocksDbApi<Void>public final void listDatabases(Void ctx, com.google.protobuf.Empty request, Observer<ListRocksDbDatabasesResponse> observer)
List databases
listDatabases in class AbstractRocksDbApi<Void>public final void compactDatabase(Void ctx, CompactDatabaseRequest request, Observer<com.google.protobuf.Empty> observer)
Compact database
compactDatabase in class AbstractRocksDbApi<Void>public final void describeRocksDb(Void ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer)
Get a text-dump with general RocksDB info
describeRocksDb in class AbstractRocksDbApi<Void>public final void describeDatabase(Void ctx, DescribeDatabaseRequest request, Observer<HttpBody> observer)
Get a text-dump describing a database This operation can be used to debug the inner workings of RocksDB database. For example the property rocksdb.estimate-table-readers-mem will provide an estimation of how much memory is used by the index and filter cache of RocksDB (note that the memory used by RocksDB is outside the java heap space). See also: https://github.com/facebook/rocksdb/blob/master/include/rocksdb/db.h The response contains a dump of various rocksdb properties for each column family. The single value properties are presented in a "name: value" list. The multiline properties are preceded by a line including the property name between dashes.
describeDatabase in class AbstractRocksDbApi<Void>Copyright © 2020 Space Applications Services. All rights reserved.