Package org.yamcs.protobuf
Class RocksDbApiClient
- java.lang.Object
-
- org.yamcs.protobuf.AbstractRocksDbApi<Void>
-
- org.yamcs.protobuf.RocksDbApiClient
-
public class RocksDbApiClient extends AbstractRocksDbApi<Void>
-
-
Constructor Summary
Constructors Constructor Description RocksDbApiClient(MethodHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbackupDatabase(Void ctx, BackupDatabaseRequest request, Observer<com.google.protobuf.Empty> observer)Backup databasevoidcompactDatabase(Void ctx, CompactDatabaseRequest request, Observer<com.google.protobuf.Empty> observer)Compact databasevoiddescribeDatabase(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.voiddescribeRocksDb(Void ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer)Get a text-dump with general RocksDB infovoidlistDatabases(Void ctx, com.google.protobuf.Empty request, Observer<ListRocksDbDatabasesResponse> observer)List databasesvoidlistTablespaces(Void ctx, com.google.protobuf.Empty request, Observer<ListRocksDbTablespacesResponse> observer)List tablespaces-
Methods inherited from class org.yamcs.protobuf.AbstractRocksDbApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
-
-
-
Constructor Detail
-
RocksDbApiClient
public RocksDbApiClient(MethodHandler handler)
-
-
Method Detail
-
listTablespaces
public final void listTablespaces(Void ctx, com.google.protobuf.Empty request, Observer<ListRocksDbTablespacesResponse> observer)
List tablespaces
- Specified by:
listTablespacesin classAbstractRocksDbApi<Void>
-
backupDatabase
public final void backupDatabase(Void ctx, BackupDatabaseRequest request, Observer<com.google.protobuf.Empty> observer)
Backup database
- Specified by:
backupDatabasein classAbstractRocksDbApi<Void>
-
listDatabases
public final void listDatabases(Void ctx, com.google.protobuf.Empty request, Observer<ListRocksDbDatabasesResponse> observer)
List databases
- Specified by:
listDatabasesin classAbstractRocksDbApi<Void>
-
compactDatabase
public final void compactDatabase(Void ctx, CompactDatabaseRequest request, Observer<com.google.protobuf.Empty> observer)
Compact database
- Specified by:
compactDatabasein classAbstractRocksDbApi<Void>
-
describeRocksDb
public final void describeRocksDb(Void ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer)
Get a text-dump with general RocksDB info
- Specified by:
describeRocksDbin classAbstractRocksDbApi<Void>
-
describeDatabase
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.
- Specified by:
describeDatabasein classAbstractRocksDbApi<Void>
-
-