Package org.yamcs.protobuf
Class RocksDbApiClient
@Generated(value="org.yamcs.protoc.ServiceGenerator",
date="2024-04-26T10:53:32.338231979Z")
public class RocksDbApiClient
extends AbstractRocksDbApi<Void>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
backupDatabase
(Void ctx, BackupDatabaseRequest request, Observer<com.google.protobuf.Empty> observer) Backup databasefinal void
compactDatabase
(Void ctx, CompactDatabaseRequest request, Observer<com.google.protobuf.Empty> observer) Compact databasefinal 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.final void
describeRocksDb
(Void ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer) Get a text-dump with general RocksDB infofinal void
listDatabases
(Void ctx, com.google.protobuf.Empty request, Observer<ListRocksDbDatabasesResponse> observer) List databasesfinal void
listTablespaces
(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:
listTablespaces
in classAbstractRocksDbApi<Void>
-
backupDatabase
public final void backupDatabase(Void ctx, BackupDatabaseRequest request, Observer<com.google.protobuf.Empty> observer) Backup database
- Specified by:
backupDatabase
in classAbstractRocksDbApi<Void>
-
listDatabases
public final void listDatabases(Void ctx, com.google.protobuf.Empty request, Observer<ListRocksDbDatabasesResponse> observer) List databases
- Specified by:
listDatabases
in classAbstractRocksDbApi<Void>
-
compactDatabase
public final void compactDatabase(Void ctx, CompactDatabaseRequest request, Observer<com.google.protobuf.Empty> observer) Compact database
- Specified by:
compactDatabase
in 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:
describeRocksDb
in 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:
describeDatabase
in classAbstractRocksDbApi<Void>
-