@Generated(value="org.yamcs.maven.ServiceGenerator",
date="2024-09-01T14:02:01.026201499Z")
public class RocksDbApiClient
extends AbstractRocksDbApi<Void>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidbackupDatabase(Void ctx, BackupDatabaseRequest request, Observer<com.google.protobuf.Empty> observer) Backup databasefinal voidcompactDatabase(Void ctx, CompactDatabaseRequest request, Observer<com.google.protobuf.Empty> observer) Compact databasefinal voiddescribeDatabase(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.final voiddescribeRocksDb(Void ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer) Get a text-dump with general RocksDB infofinal voidlistDatabases(Void ctx, com.google.protobuf.Empty request, Observer<ListRocksDbDatabasesResponse> observer) List databasesfinal voidlistTablespaces(Void ctx, com.google.protobuf.Empty request, Observer<ListRocksDbTablespacesResponse> observer) List tablespacesMethods inherited from class org.yamcs.protobuf.AbstractRocksDbApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
RocksDbApiClient
-
-
Method Details
-
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>
-