5 commented on code in PR #66:
URL: https://github.com/apache/cassandra-sidecar/pull/66#discussion_r1303469172
##########
client/src/main/java/org/apache/cassandra/sidecar/client/RequestContext.java:
##########
@@ -173,6 +177,26 @@ public Builder retryPolicy(RetryPolicy retryPolicy)
return this;
}
+ /**
+ * Sets the {@code request} to be a {@link SidecarHealthRequest} and
returns a reference to this Builder enabling method chaining
Review Comment:
Done.
##########
client/src/main/java/org/apache/cassandra/sidecar/client/RequestContext.java:
##########
@@ -173,6 +177,26 @@ public Builder retryPolicy(RetryPolicy retryPolicy)
return this;
}
+ /**
+ * Sets the {@code request} to be a {@link SidecarHealthRequest} and
returns a reference to this Builder enabling method chaining
+ *
+ * @return a reference to this Builder
+ */
+ public Builder sidecarHealthRequest()
+ {
+ return request(SIDECAR_HEALTH_REQUEST);
+ }
+
+ /**
+ * Sets the {@code request} to be a {@link CassandraHealthRequest} and
returns a reference to this Builder enabling method chaining
Review Comment:
Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]