org.apache.hadoop.hdfs.qjournal.protocol

## Class QJournalProtocolProtos.QJournalProtocolService

- java.lang.Object
- - org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.QJournalProtocolService

- All Implemented Interfaces:
    com.google.protobuf.Service
  Direct Known Subclasses:
    QJournalProtocolProtos.QJournalProtocolService.Stub
  Enclosing class:
    QJournalProtocolProtos

      public abstract static class QJournalProtocolProtos.QJournalProtocolService
      extends Object
      implements com.google.protobuf.Service

  Protobuf service `hadoop.hdfs.qjournal.QJournalProtocolService`

       Protocol used to journal edits to a JournalNode.
       See the request and response for details of rpc call.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static interface` | `QJournalProtocolProtos.QJournalProtocolService.BlockingInterface`
    `static interface` | `QJournalProtocolProtos.QJournalProtocolService.Interface`
    `static class` | `QJournalProtocolProtos.QJournalProtocolService.Stub`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `QJournalProtocolService()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract 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` | `callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)`
    `abstract 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);`
    `abstract 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);`
    `abstract 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);`
    `abstract 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);`
    `abstract 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);`
    `abstract 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);`
    `abstract 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);`
    `abstract 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);`
    `static com.google.protobuf.Descriptors.ServiceDescriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.ServiceDescriptor` | `getDescriptorForType()`
    `abstract 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);`
    `abstract 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);`
    `abstract 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);`
    `abstract 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);`
    `com.google.protobuf.Message` | `getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)`
    `com.google.protobuf.Message` | `getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)`
    `abstract 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);`
    `abstract 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);`
    `abstract 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);`
    `static QJournalProtocolProtos.QJournalProtocolService.BlockingInterface` | `newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)`
    `abstract 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);`
    `static com.google.protobuf.BlockingService` | `newReflectiveBlockingService(QJournalProtocolProtos.QJournalProtocolService.BlockingInterface impl)`
    `static com.google.protobuf.Service` | `newReflectiveService(QJournalProtocolProtos.QJournalProtocolService.Interface impl)`
    `static QJournalProtocolProtos.QJournalProtocolService.Stub` | `newStub(com.google.protobuf.RpcChannel channel)`
    `abstract 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);`
    `abstract 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);`
    `abstract 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);`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### QJournalProtocolService

          protected QJournalProtocolService()

  - ### Method Detail

    - #### newReflectiveService

          public static com.google.protobuf.Service newReflectiveService(QJournalProtocolProtos.QJournalProtocolService.Interface impl)

    - #### newReflectiveBlockingService

          public static com.google.protobuf.BlockingService newReflectiveBlockingService(QJournalProtocolProtos.QJournalProtocolService.BlockingInterface impl)

    - #### isFormatted

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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

          public abstract 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);`

    - #### getDescriptor

          public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()

    - #### getDescriptorForType

          public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()

      Specified by:
        `getDescriptorForType` in interface `com.google.protobuf.Service`

    - #### callMethod

          public final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
                                       com.google.protobuf.RpcController controller,
                                       com.google.protobuf.Message request,
                                       com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)

      Specified by:
        `callMethod` in interface `com.google.protobuf.Service`

    - #### getRequestPrototype

          public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)

      Specified by:
        `getRequestPrototype` in interface `com.google.protobuf.Service`

    - #### getResponsePrototype

          public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)

      Specified by:
        `getResponsePrototype` in interface `com.google.protobuf.Service`

    - #### newStub

          public static QJournalProtocolProtos.QJournalProtocolService.Stub newStub(com.google.protobuf.RpcChannel channel)

    - #### newBlockingStub

          public static QJournalProtocolProtos.QJournalProtocolService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)

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