Uses of Class
org.kohsuke.github.GHRateLimit.Record
-
Uses of GHRateLimit.Record in org.kohsuke.github
Modifier and TypeClassDescriptionstatic class
A limit record used as a placeholder when the actual limit is not known.Modifier and TypeMethodDescriptionGHRateLimit.getCore()
The core object provides the rate limit status for all non-search-related resources in the REST API.GHRateLimit.getGraphQL()
The graphql record provides the rate limit status for the GraphQL API.GHRateLimit.getIntegrationManifest()
The integration manifest record provides the rate limit status for the GitHub App Manifest code conversion endpoint.GHRateLimit.getSearch()
The search record provides the rate limit status for the Search API.Modifier and TypeMethodDescriptionprotected boolean
RateLimitChecker.checkRateLimit
(GHRateLimit.Record rateLimitRecord, long count) Decides whether the current request exceeds the allowed "rate limit" budget.protected boolean
RateLimitChecker.LiteralValue.checkRateLimit
(GHRateLimit.Record record, long count) Check rate limit.protected final boolean
RateLimitChecker.sleepUntilReset
(GHRateLimit.Record record) Sleep until reset.