SyncComplete (apache-cassandra API)
Date: 2018-02-14

org.apache.cassandra.repair.messages

## Class SyncComplete

- java.lang.Object
- - org.apache.cassandra.repair.messages.RepairMessage
  - - org.apache.cassandra.repair.messages.SyncComplete

-     public class SyncComplete
      extends RepairMessage

  Since:
    2.0

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.cassandra.repair.messages.RepairMessage

      `RepairMessage.MessageSerializer<T extends RepairMessage>, RepairMessage.RepairMessageSerializer, RepairMessage.Type`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `NodePair` | `nodes` nodes that involved in this sync
    `static RepairMessage.MessageSerializer` | `serializer`
    `boolean` | `success` true if sync success, false otherwise

    - ### Fields inherited from class org.apache.cassandra.repair.messages.RepairMessage

      `desc, messageType`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SyncComplete(RepairJobDesc desc, java.net.InetAddress endpoint1, java.net.InetAddress endpoint2, boolean success)`
    `SyncComplete(RepairJobDesc desc, NodePair nodes, boolean success)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object o)`
    `int` | `hashCode()`

    - ### Methods inherited from class org.apache.cassandra.repair.messages.RepairMessage

      `createMessage`

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

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

- - ### Field Detail

    - #### serializer

          public static final RepairMessage.MessageSerializer serializer

    - #### nodes

          public final NodePair nodes

      nodes that involved in this sync

    - #### success

          public final boolean success

      true if sync success, false otherwise

  - ### Constructor Detail

    - #### SyncComplete

          public SyncComplete(RepairJobDesc desc,
                              NodePair nodes,
                              boolean success)

    - #### SyncComplete

          public SyncComplete(RepairJobDesc desc,
                              java.net.InetAddress endpoint1,
                              java.net.InetAddress endpoint2,
                              boolean success)

  - ### Method Detail

    - #### equals

          public boolean equals(java.lang.Object o)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

Copyright © 2018 The Apache Software Foundation