Class RocksDbApi

java.lang.Object
org.yamcs.protobuf.AbstractRocksDbApi<Context>
org.yamcs.http.api.RocksDbApi
All Implemented Interfaces:
org.yamcs.api.Api<Context>

public class RocksDbApi extends org.yamcs.protobuf.AbstractRocksDbApi<Context>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    backupDatabase(Context ctx, org.yamcs.protobuf.BackupDatabaseRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
     
    void
    compactDatabase(Context ctx, org.yamcs.protobuf.CompactDatabaseRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
     
    void
    describeDatabase(Context ctx, org.yamcs.protobuf.DescribeDatabaseRequest request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)
     
    void
    describeRocksDb(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)
     
    void
    listDatabases(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListRocksDbDatabasesResponse> observer)
     
    void
    listTablespaces(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListRocksDbTablespacesResponse> observer)
     

    Methods inherited from class org.yamcs.protobuf.AbstractRocksDbApi

    callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RocksDbApi

      public RocksDbApi()
  • Method Details

    • listTablespaces

      public void listTablespaces(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListRocksDbTablespacesResponse> observer)
      Specified by:
      listTablespaces in class org.yamcs.protobuf.AbstractRocksDbApi<Context>
    • backupDatabase

      public void backupDatabase(Context ctx, org.yamcs.protobuf.BackupDatabaseRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
      Specified by:
      backupDatabase in class org.yamcs.protobuf.AbstractRocksDbApi<Context>
    • listDatabases

      public void listDatabases(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListRocksDbDatabasesResponse> observer)
      Specified by:
      listDatabases in class org.yamcs.protobuf.AbstractRocksDbApi<Context>
    • compactDatabase

      public void compactDatabase(Context ctx, org.yamcs.protobuf.CompactDatabaseRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
      Specified by:
      compactDatabase in class org.yamcs.protobuf.AbstractRocksDbApi<Context>
    • describeRocksDb

      public void describeRocksDb(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)
      Specified by:
      describeRocksDb in class org.yamcs.protobuf.AbstractRocksDbApi<Context>
    • describeDatabase

      public void describeDatabase(Context ctx, org.yamcs.protobuf.DescribeDatabaseRequest request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)
      Specified by:
      describeDatabase in class org.yamcs.protobuf.AbstractRocksDbApi<Context>