File tree Expand file tree Collapse file tree
google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/spi/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -467,8 +467,8 @@ public boolean failOnFlowControlLimits() {
467467 return failOnFlowControlLimits ;
468468 }
469469
470- /** Retrieves a snapshot of the publisher current {@link PublisherStats statistics} . */
471- public PublisherStats getStats () {
470+ /** Retrieves a snapshot of the publisher current statistics. */
471+ private PublisherStats getStats () {
472472 // TODO: Implement this.
473473 throw new UnsupportedOperationException ();
474474 }
Original file line number Diff line number Diff line change 2323 * Publisher}.
2424 */
2525@ AutoValue
26- public abstract class PublisherStats {
26+ abstract class PublisherStats {
2727 /** Number of successfully published messages. */
2828 public abstract long getAckedMessages ();
2929
Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ public void run() {
356356 }
357357 }
358358
359- public SubscriberStats getStats () {
359+ private SubscriberStats getStats () {
360360 // TODO: Implement me
361361 return null ;
362362 }
Original file line number Diff line number Diff line change 2323 * Subscriber}.
2424 */
2525@ AutoValue
26- public abstract class SubscriberStats {
27-
26+ abstract class SubscriberStats {
27+
2828 @ AutoValue
2929 //TODO: Finish implementation.
3030 public abstract static class Stats {}
You can’t perform that action at this time.
0 commit comments