Skip to content

Commit 93f2edf

Browse files
authored
---
yaml --- r: 7795 b: refs/heads/tswast-patch-1 c: 302a937 h: refs/heads/master i: 7793: 9046fec 7791: 955d3f9
1 parent d440ed3 commit 93f2edf

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
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: 51a9a804df74a1bb8e85c2b2e5f8571ef783ba30
60+
refs/heads/tswast-patch-1: 302a937773699d3348db0d17ea6a78ebeccbbc52
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/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
*

branches/tswast-patch-1/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

branches/tswast-patch-1/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;

branches/tswast-patch-1/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)