Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
Metrics
Library
Commits
a73b8947
Commit
a73b8947
authored
Aug 17, 2021
by
irl
⌨
Browse files
Update ExtraInfoDescriptor.java
parent
5f36dd90
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/torproject/descriptor/ExtraInfoDescriptor.java
View file @
a73b8947
...
...
@@ -142,13 +142,13 @@ public interface ExtraInfoDescriptor extends Descriptor {
/**
* Get the version number in the overload-ratelimits line or
* {@code
-1L
} if no overload-ratelimits line is present.
* {@code
0
} if no overload-ratelimits line is present.
*
* @return version number or {@code
-1L
}
* @return version number or {@code
0
}
*
* @since 2.18.0
*/
long
getOverloadRatelimitsVersion
();
int
getOverloadRatelimitsVersion
();
/**
* Get the server's history exhausted bandwidth as a timestamp of the
...
...
@@ -204,11 +204,11 @@ public interface ExtraInfoDescriptor extends Descriptor {
/**
* Get the version number in the overload-fd-exhausted line.
*
* @return version or {@code
-1L
}
* @return version or {@code
0
}
*
* @since 2.18.0
*/
long
getOverloadFdExhaustedVersion
();
int
getOverloadFdExhaustedVersion
();
/**
* Get the server's descriptor exhaustion as a timestamp.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment