Skip to content

hide Publisher and Subscriber's getStats() #1555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -468,12 +468,6 @@ public boolean failOnFlowControlLimits() {
return failOnFlowControlLimits;
}

/** Retrieves a snapshot of the publisher current {@link PublisherStats statistics}. */
public PublisherStats getStats() {
// TODO: Implement this.
throw new UnsupportedOperationException();
}

/**
* Schedules immediate publishing of any outstanding messages and waits until all are processed.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* Publisher}.
*/
@AutoValue
public abstract class PublisherStats {
abstract class PublisherStats {
/** Number of successfully published messages. */
public abstract long getAckedMessages();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,11 +365,6 @@ public void run() {
}
}

public SubscriberStats getStats() {
// TODO: Implement me
return null;
}

/** Subscription which the subscriber is subscribed to. */
public String getSubscription() {
return subscription;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* Subscriber}.
*/
@AutoValue
public abstract class SubscriberStats {
abstract class SubscriberStats {

@AutoValue
//TODO: Finish implementation.
public abstract static class Stats {}
Expand Down