Class OutboundConnectionInitiator.Result<SuccessType extends OutboundConnectionInitiator.Result.Success>

java.lang.Object
org.apache.cassandra.net.OutboundConnectionInitiator.Result<SuccessType>
Direct Known Subclasses:
OutboundConnectionInitiator.Result.Success
Enclosing class:
OutboundConnectionInitiator<SuccessType extends OutboundConnectionInitiator.Result.Success>

public static class OutboundConnectionInitiator.Result<SuccessType extends OutboundConnectionInitiator.Result.Success> extends Object
The result of the handshake. Handshake has 3 possible outcomes: 1) it can be successful, in which case the channel and version to used is returned in this result. 2) we may decide to disconnect to reconnect with another protocol version (namely, the version is passed in this result). 3) we can have a negotiation failure for an unknown reason. (#sadtrombone)
  • Method Details

    • success

      public SuccessType success()
    • retry

      public org.apache.cassandra.net.OutboundConnectionInitiator.Result.Retry retry()
    • incompatible

      public org.apache.cassandra.net.OutboundConnectionInitiator.Result.Incompatible incompatible()