Skip to content
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

Clean up time-based APIs for throttle and delay. #1289

Merged
merged 1 commit into from
Jan 5, 2015
Merged

Conversation

JakeWharton
Copy link
Collaborator

No description provided.

@JakeWharton JakeWharton force-pushed the jw/time-unit branch 3 times, most recently from 862af04 to 1241cfa Compare January 5, 2015 06:37
private int throttleBytesPerPeriod = Integer.MAX_VALUE;
private long throttlePeriod = 1;
private TimeUnit throttleUnit = TimeUnit.SECONDS;
private long throttleBytesPerPeriod = Long.MAX_VALUE;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol int? What is this, java.io streams?

@swankjesse
Copy link
Collaborator

LGTM

JakeWharton added a commit that referenced this pull request Jan 5, 2015
Clean up time-based APIs for throttle and delay.
@JakeWharton JakeWharton merged commit 5f44ca7 into master Jan 5, 2015
@JakeWharton JakeWharton deleted the jw/time-unit branch January 5, 2015 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants