Commit a73b8947 authored by irl's avatar irl
Browse files

Update ExtraInfoDescriptor.java

parent 5f36dd90
......@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment