org.apache.hadoop.hdfs.qjournal.protocol

## Interface QJournalProtocolProtos.QJournalProtocolService.Interface

- All Known Implementing Classes:
    QJournalProtocolProtos.QJournalProtocolService.Stub
  Enclosing class:
    QJournalProtocolProtos.QJournalProtocolService

      public static interface QJournalProtocolProtos.QJournalProtocolService.Interface

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `acceptRecovery(com.google.protobuf.RpcController controller, QJournalProtocolProtos.AcceptRecoveryRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.AcceptRecoveryResponseProto> done)` `rpc acceptRecovery(.hadoop.hdfs.qjournal.AcceptRecoveryRequestProto) returns (.hadoop.hdfs.qjournal.AcceptRecoveryResponseProto);`
    `void` | `canRollBack(com.google.protobuf.RpcController controller, QJournalProtocolProtos.CanRollBackRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.CanRollBackResponseProto> done)` `rpc canRollBack(.hadoop.hdfs.qjournal.CanRollBackRequestProto) returns (.hadoop.hdfs.qjournal.CanRollBackResponseProto);`
    `void` | `discardSegments(com.google.protobuf.RpcController controller, QJournalProtocolProtos.DiscardSegmentsRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.DiscardSegmentsResponseProto> done)` `rpc discardSegments(.hadoop.hdfs.qjournal.DiscardSegmentsRequestProto) returns (.hadoop.hdfs.qjournal.DiscardSegmentsResponseProto);`
    `void` | `doFinalize(com.google.protobuf.RpcController controller, QJournalProtocolProtos.DoFinalizeRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.DoFinalizeResponseProto> done)` `rpc doFinalize(.hadoop.hdfs.qjournal.DoFinalizeRequestProto) returns (.hadoop.hdfs.qjournal.DoFinalizeResponseProto);`
    `void` | `doPreUpgrade(com.google.protobuf.RpcController controller, QJournalProtocolProtos.DoPreUpgradeRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.DoPreUpgradeResponseProto> done)` `rpc doPreUpgrade(.hadoop.hdfs.qjournal.DoPreUpgradeRequestProto) returns (.hadoop.hdfs.qjournal.DoPreUpgradeResponseProto);`
    `void` | `doRollback(com.google.protobuf.RpcController controller, QJournalProtocolProtos.DoRollbackRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.DoRollbackResponseProto> done)` `rpc doRollback(.hadoop.hdfs.qjournal.DoRollbackRequestProto) returns (.hadoop.hdfs.qjournal.DoRollbackResponseProto);`
    `void` | `doUpgrade(com.google.protobuf.RpcController controller, QJournalProtocolProtos.DoUpgradeRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.DoUpgradeResponseProto> done)` `rpc doUpgrade(.hadoop.hdfs.qjournal.DoUpgradeRequestProto) returns (.hadoop.hdfs.qjournal.DoUpgradeResponseProto);`
    `void` | `finalizeLogSegment(com.google.protobuf.RpcController controller, QJournalProtocolProtos.FinalizeLogSegmentRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.FinalizeLogSegmentResponseProto> done)` `rpc finalizeLogSegment(.hadoop.hdfs.qjournal.FinalizeLogSegmentRequestProto) returns (.hadoop.hdfs.qjournal.FinalizeLogSegmentResponseProto);`
    `void` | `format(com.google.protobuf.RpcController controller, QJournalProtocolProtos.FormatRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.FormatResponseProto> done)` `rpc format(.hadoop.hdfs.qjournal.FormatRequestProto) returns (.hadoop.hdfs.qjournal.FormatResponseProto);`
    `void` | `getEditLogManifest(com.google.protobuf.RpcController controller, QJournalProtocolProtos.GetEditLogManifestRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.GetEditLogManifestResponseProto> done)` `rpc getEditLogManifest(.hadoop.hdfs.qjournal.GetEditLogManifestRequestProto) returns (.hadoop.hdfs.qjournal.GetEditLogManifestResponseProto);`
    `void` | `getJournalCTime(com.google.protobuf.RpcController controller, QJournalProtocolProtos.GetJournalCTimeRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.GetJournalCTimeResponseProto> done)` `rpc getJournalCTime(.hadoop.hdfs.qjournal.GetJournalCTimeRequestProto) returns (.hadoop.hdfs.qjournal.GetJournalCTimeResponseProto);`
    `void` | `getJournaledEdits(com.google.protobuf.RpcController controller, QJournalProtocolProtos.GetJournaledEditsRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.GetJournaledEditsResponseProto> done)` `rpc getJournaledEdits(.hadoop.hdfs.qjournal.GetJournaledEditsRequestProto) returns (.hadoop.hdfs.qjournal.GetJournaledEditsResponseProto);`
    `void` | `getJournalState(com.google.protobuf.RpcController controller, QJournalProtocolProtos.GetJournalStateRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.GetJournalStateResponseProto> done)` `rpc getJournalState(.hadoop.hdfs.qjournal.GetJournalStateRequestProto) returns (.hadoop.hdfs.qjournal.GetJournalStateResponseProto);`
    `void` | `heartbeat(com.google.protobuf.RpcController controller, QJournalProtocolProtos.HeartbeatRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.HeartbeatResponseProto> done)` `rpc heartbeat(.hadoop.hdfs.qjournal.HeartbeatRequestProto) returns (.hadoop.hdfs.qjournal.HeartbeatResponseProto);`
    `void` | `isFormatted(com.google.protobuf.RpcController controller, QJournalProtocolProtos.IsFormattedRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.IsFormattedResponseProto> done)` `rpc isFormatted(.hadoop.hdfs.qjournal.IsFormattedRequestProto) returns (.hadoop.hdfs.qjournal.IsFormattedResponseProto);`
    `void` | `journal(com.google.protobuf.RpcController controller, QJournalProtocolProtos.JournalRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.JournalResponseProto> done)` `rpc journal(.hadoop.hdfs.qjournal.JournalRequestProto) returns (.hadoop.hdfs.qjournal.JournalResponseProto);`
    `void` | `newEpoch(com.google.protobuf.RpcController controller, QJournalProtocolProtos.NewEpochRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.NewEpochResponseProto> done)` `rpc newEpoch(.hadoop.hdfs.qjournal.NewEpochRequestProto) returns (.hadoop.hdfs.qjournal.NewEpochResponseProto);`
    `void` | `prepareRecovery(com.google.protobuf.RpcController controller, QJournalProtocolProtos.PrepareRecoveryRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.PrepareRecoveryResponseProto> done)` `rpc prepareRecovery(.hadoop.hdfs.qjournal.PrepareRecoveryRequestProto) returns (.hadoop.hdfs.qjournal.PrepareRecoveryResponseProto);`
    `void` | `purgeLogs(com.google.protobuf.RpcController controller, QJournalProtocolProtos.PurgeLogsRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.PurgeLogsResponseProto> done)` `rpc purgeLogs(.hadoop.hdfs.qjournal.PurgeLogsRequestProto) returns (.hadoop.hdfs.qjournal.PurgeLogsResponseProto);`
    `void` | `startLogSegment(com.google.protobuf.RpcController controller, QJournalProtocolProtos.StartLogSegmentRequestProto request, com.google.protobuf.RpcCallback<QJournalProtocolProtos.StartLogSegmentResponseProto> done)` `rpc startLogSegment(.hadoop.hdfs.qjournal.StartLogSegmentRequestProto) returns (.hadoop.hdfs.qjournal.StartLogSegmentResponseProto);`

- - ### Method Detail

    - #### isFormatted

          void isFormatted(com.google.protobuf.RpcController controller,
                           QJournalProtocolProtos.IsFormattedRequestProto request,
                           com.google.protobuf.RpcCallback<QJournalProtocolProtos.IsFormattedResponseProto> done)

      `rpc isFormatted(.hadoop.hdfs.qjournal.IsFormattedRequestProto) returns (.hadoop.hdfs.qjournal.IsFormattedResponseProto);`

    - #### getJournalCTime

          void getJournalCTime(com.google.protobuf.RpcController controller,
                               QJournalProtocolProtos.GetJournalCTimeRequestProto request,
                               com.google.protobuf.RpcCallback<QJournalProtocolProtos.GetJournalCTimeResponseProto> done)

      `rpc getJournalCTime(.hadoop.hdfs.qjournal.GetJournalCTimeRequestProto) returns (.hadoop.hdfs.qjournal.GetJournalCTimeResponseProto);`

    - #### doPreUpgrade

          void doPreUpgrade(com.google.protobuf.RpcController controller,
                            QJournalProtocolProtos.DoPreUpgradeRequestProto request,
                            com.google.protobuf.RpcCallback<QJournalProtocolProtos.DoPreUpgradeResponseProto> done)

      `rpc doPreUpgrade(.hadoop.hdfs.qjournal.DoPreUpgradeRequestProto) returns (.hadoop.hdfs.qjournal.DoPreUpgradeResponseProto);`

    - #### doUpgrade

          void doUpgrade(com.google.protobuf.RpcController controller,
                         QJournalProtocolProtos.DoUpgradeRequestProto request,
                         com.google.protobuf.RpcCallback<QJournalProtocolProtos.DoUpgradeResponseProto> done)

      `rpc doUpgrade(.hadoop.hdfs.qjournal.DoUpgradeRequestProto) returns (.hadoop.hdfs.qjournal.DoUpgradeResponseProto);`

    - #### doFinalize

          void doFinalize(com.google.protobuf.RpcController controller,
                          QJournalProtocolProtos.DoFinalizeRequestProto request,
                          com.google.protobuf.RpcCallback<QJournalProtocolProtos.DoFinalizeResponseProto> done)

      `rpc doFinalize(.hadoop.hdfs.qjournal.DoFinalizeRequestProto) returns (.hadoop.hdfs.qjournal.DoFinalizeResponseProto);`

    - #### canRollBack

          void canRollBack(com.google.protobuf.RpcController controller,
                           QJournalProtocolProtos.CanRollBackRequestProto request,
                           com.google.protobuf.RpcCallback<QJournalProtocolProtos.CanRollBackResponseProto> done)

      `rpc canRollBack(.hadoop.hdfs.qjournal.CanRollBackRequestProto) returns (.hadoop.hdfs.qjournal.CanRollBackResponseProto);`

    - #### doRollback

          void doRollback(com.google.protobuf.RpcController controller,
                          QJournalProtocolProtos.DoRollbackRequestProto request,
                          com.google.protobuf.RpcCallback<QJournalProtocolProtos.DoRollbackResponseProto> done)

      `rpc doRollback(.hadoop.hdfs.qjournal.DoRollbackRequestProto) returns (.hadoop.hdfs.qjournal.DoRollbackResponseProto);`

    - #### discardSegments

          void discardSegments(com.google.protobuf.RpcController controller,
                               QJournalProtocolProtos.DiscardSegmentsRequestProto request,
                               com.google.protobuf.RpcCallback<QJournalProtocolProtos.DiscardSegmentsResponseProto> done)

      `rpc discardSegments(.hadoop.hdfs.qjournal.DiscardSegmentsRequestProto) returns (.hadoop.hdfs.qjournal.DiscardSegmentsResponseProto);`

    - #### getJournalState

          void getJournalState(com.google.protobuf.RpcController controller,
                               QJournalProtocolProtos.GetJournalStateRequestProto request,
                               com.google.protobuf.RpcCallback<QJournalProtocolProtos.GetJournalStateResponseProto> done)

      `rpc getJournalState(.hadoop.hdfs.qjournal.GetJournalStateRequestProto) returns (.hadoop.hdfs.qjournal.GetJournalStateResponseProto);`

    - #### newEpoch

          void newEpoch(com.google.protobuf.RpcController controller,
                        QJournalProtocolProtos.NewEpochRequestProto request,
                        com.google.protobuf.RpcCallback<QJournalProtocolProtos.NewEpochResponseProto> done)

      `rpc newEpoch(.hadoop.hdfs.qjournal.NewEpochRequestProto) returns (.hadoop.hdfs.qjournal.NewEpochResponseProto);`

    - #### format

          void format(com.google.protobuf.RpcController controller,
                      QJournalProtocolProtos.FormatRequestProto request,
                      com.google.protobuf.RpcCallback<QJournalProtocolProtos.FormatResponseProto> done)

      `rpc format(.hadoop.hdfs.qjournal.FormatRequestProto) returns (.hadoop.hdfs.qjournal.FormatResponseProto);`

    - #### journal

          void journal(com.google.protobuf.RpcController controller,
                       QJournalProtocolProtos.JournalRequestProto request,
                       com.google.protobuf.RpcCallback<QJournalProtocolProtos.JournalResponseProto> done)

      `rpc journal(.hadoop.hdfs.qjournal.JournalRequestProto) returns (.hadoop.hdfs.qjournal.JournalResponseProto);`

    - #### heartbeat

          void heartbeat(com.google.protobuf.RpcController controller,
                         QJournalProtocolProtos.HeartbeatRequestProto request,
                         com.google.protobuf.RpcCallback<QJournalProtocolProtos.HeartbeatResponseProto> done)

      `rpc heartbeat(.hadoop.hdfs.qjournal.HeartbeatRequestProto) returns (.hadoop.hdfs.qjournal.HeartbeatResponseProto);`

    - #### startLogSegment

          void startLogSegment(com.google.protobuf.RpcController controller,
                               QJournalProtocolProtos.StartLogSegmentRequestProto request,
                               com.google.protobuf.RpcCallback<QJournalProtocolProtos.StartLogSegmentResponseProto> done)

      `rpc startLogSegment(.hadoop.hdfs.qjournal.StartLogSegmentRequestProto) returns (.hadoop.hdfs.qjournal.StartLogSegmentResponseProto);`

    - #### finalizeLogSegment

          void finalizeLogSegment(com.google.protobuf.RpcController controller,
                                  QJournalProtocolProtos.FinalizeLogSegmentRequestProto request,
                                  com.google.protobuf.RpcCallback<QJournalProtocolProtos.FinalizeLogSegmentResponseProto> done)

      `rpc finalizeLogSegment(.hadoop.hdfs.qjournal.FinalizeLogSegmentRequestProto) returns (.hadoop.hdfs.qjournal.FinalizeLogSegmentResponseProto);`

    - #### purgeLogs

          void purgeLogs(com.google.protobuf.RpcController controller,
                         QJournalProtocolProtos.PurgeLogsRequestProto request,
                         com.google.protobuf.RpcCallback<QJournalProtocolProtos.PurgeLogsResponseProto> done)

      `rpc purgeLogs(.hadoop.hdfs.qjournal.PurgeLogsRequestProto) returns (.hadoop.hdfs.qjournal.PurgeLogsResponseProto);`

    - #### getEditLogManifest

          void getEditLogManifest(com.google.protobuf.RpcController controller,
                                  QJournalProtocolProtos.GetEditLogManifestRequestProto request,
                                  com.google.protobuf.RpcCallback<QJournalProtocolProtos.GetEditLogManifestResponseProto> done)

      `rpc getEditLogManifest(.hadoop.hdfs.qjournal.GetEditLogManifestRequestProto) returns (.hadoop.hdfs.qjournal.GetEditLogManifestResponseProto);`

    - #### getJournaledEdits

          void getJournaledEdits(com.google.protobuf.RpcController controller,
                                 QJournalProtocolProtos.GetJournaledEditsRequestProto request,
                                 com.google.protobuf.RpcCallback<QJournalProtocolProtos.GetJournaledEditsResponseProto> done)

      `rpc getJournaledEdits(.hadoop.hdfs.qjournal.GetJournaledEditsRequestProto) returns (.hadoop.hdfs.qjournal.GetJournaledEditsResponseProto);`

    - #### prepareRecovery

          void prepareRecovery(com.google.protobuf.RpcController controller,
                               QJournalProtocolProtos.PrepareRecoveryRequestProto request,
                               com.google.protobuf.RpcCallback<QJournalProtocolProtos.PrepareRecoveryResponseProto> done)

      `rpc prepareRecovery(.hadoop.hdfs.qjournal.PrepareRecoveryRequestProto) returns (.hadoop.hdfs.qjournal.PrepareRecoveryResponseProto);`

    - #### acceptRecovery

          void acceptRecovery(com.google.protobuf.RpcController controller,
                              QJournalProtocolProtos.AcceptRecoveryRequestProto request,
                              com.google.protobuf.RpcCallback<QJournalProtocolProtos.AcceptRecoveryResponseProto> done)

      `rpc acceptRecovery(.hadoop.hdfs.qjournal.AcceptRecoveryRequestProto) returns (.hadoop.hdfs.qjournal.AcceptRecoveryResponseProto);`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.