File tree Expand file tree Collapse file tree
trunk/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 11---
2- refs/heads/master: 51a9a804df74a1bb8e85c2b2e5f8571ef783ba30
2+ refs/heads/master: 302a937773699d3348db0d17ea6a78ebeccbbc52
33refs/heads/travis: dae77e558b884bc1b165155482d76c8e40b0fca4
44refs/heads/gh-pages: 229631582f8957646f81e92ae5a326504f48ee5b
55refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
Original file line number Diff line number Diff line change @@ -468,12 +468,6 @@ public boolean failOnFlowControlLimits() {
468468 return failOnFlowControlLimits ;
469469 }
470470
471- /** Retrieves a snapshot of the publisher current {@link PublisherStats statistics}. */
472- public PublisherStats getStats () {
473- // TODO: Implement this.
474- throw new UnsupportedOperationException ();
475- }
476-
477471 /**
478472 * Schedules immediate publishing of any outstanding messages and waits until all are processed.
479473 *
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 @@ -365,11 +365,6 @@ public void run() {
365365 }
366366 }
367367
368- public SubscriberStats getStats () {
369- // TODO: Implement me
370- return null ;
371- }
372-
373368 /** Subscription which the subscriber is subscribed to. */
374369 public String getSubscription () {
375370 return subscription ;
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