Skip to content

Commit 0212f4f

Browse files
authored
---
yaml --- r: 5347 b: refs/heads/master c: 302a937 h: refs/heads/master i: 5345: c265f48 5343: 21c167f
1 parent a0c7529 commit 0212f4f

5 files changed

Lines changed: 4 additions & 15 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 51a9a804df74a1bb8e85c2b2e5f8571ef783ba30
2+
refs/heads/master: 302a937773699d3348db0d17ea6a78ebeccbbc52
33
refs/heads/travis: dae77e558b884bc1b165155482d76c8e40b0fca4
44
refs/heads/gh-pages: 229631582f8957646f81e92ae5a326504f48ee5b
55
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444

trunk/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/spi/v1/Publisher.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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
*

trunk/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/spi/v1/PublisherStats.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
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

trunk/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/spi/v1/Subscriber.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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;

trunk/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/spi/v1/SubscriberStats.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
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 {}

0 commit comments

Comments
 (0)