Index
All Classes and Interfaces|All Packages|Serialized Form
C
- close() - Method in interface com.cotani.ranking.api.RankingService
-
Starts asynchronous shutdown and rejects new queries and registrations.
- closeAsync() - Method in interface com.cotani.ranking.api.RankingService
-
Begins asynchronous shutdown, rejects new queries and registrations, and completes after admitted underlying statistics queries finish.
- com.cotani.ranking - package com.cotani.ranking
- com.cotani.ranking.api - package com.cotani.ranking.api
- CotaniRankings - Class in com.cotani.ranking
-
Factories for the
cotani-rankingmodule.
D
- defaults() - Static method in record class com.cotani.ranking.api.RankingServiceOptions
- definition() - Method in record class com.cotani.ranking.api.RankingSnapshot
-
Returns the value of the
definitionrecord component.
E
- entries() - Method in record class com.cotani.ranking.api.RankingSnapshot
-
Returns the value of the
entriesrecord component. - equals(Object) - Method in record class com.cotani.ranking.api.RankingDefinition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cotani.ranking.api.RankingEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cotani.ranking.api.RankingId
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cotani.ranking.api.RankingServiceOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cotani.ranking.api.RankingSnapshot
-
Indicates whether some other object is "equal to" this one.
F
- findDefinition(RankingId) - Method in interface com.cotani.ranking.api.RankingService
-
Returns a registered definition, if present.
- fromStatistics(StatisticService) - Static method in class com.cotani.ranking.CotaniRankings
-
Creates a ranking service over a caller-owned statistics service.
- fromStatistics(StatisticService, RankingServiceOptions) - Static method in class com.cotani.ranking.CotaniRankings
-
Creates a ranking service with explicit operational bounds.
- fromStatistics(StatisticService, RankingServiceOptions, Clock) - Static method in class com.cotani.ranking.CotaniRankings
-
Creates a ranking service with explicit operational bounds and clock.
G
- generatedAt() - Method in record class com.cotani.ranking.api.RankingSnapshot
-
Returns the value of the
generatedAtrecord component.
H
- hashCode() - Method in record class com.cotani.ranking.api.RankingDefinition
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cotani.ranking.api.RankingEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cotani.ranking.api.RankingId
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cotani.ranking.api.RankingServiceOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cotani.ranking.api.RankingSnapshot
-
Returns a hash code value for this object.
I
- id() - Method in record class com.cotani.ranking.api.RankingDefinition
-
Returns the value of the
idrecord component.
M
- maxEntries() - Method in record class com.cotani.ranking.api.RankingDefinition
-
Returns the value of the
maxEntriesrecord component. - maxPendingQueries() - Method in record class com.cotani.ranking.api.RankingServiceOptions
-
Returns the value of the
maxPendingQueriesrecord component.
O
- of(String) - Static method in record class com.cotani.ranking.api.RankingId
P
- playerId() - Method in record class com.cotani.ranking.api.RankingEntry
-
Returns the value of the
playerIdrecord component.
Q
- queryTimeout() - Method in record class com.cotani.ranking.api.RankingServiceOptions
-
Returns the value of the
queryTimeoutrecord component.
R
- rank() - Method in record class com.cotani.ranking.api.RankingEntry
-
Returns the value of the
rankrecord component. - RankingDefinition - Record Class in com.cotani.ranking.api
-
Immutable definition that maps a named ranking to one stored statistic.
- RankingDefinition(RankingId, StatisticId, int) - Constructor for record class com.cotani.ranking.api.RankingDefinition
-
Creates an instance of a
RankingDefinitionrecord class. - RankingEntry - Record Class in com.cotani.ranking.api
-
One deterministic position in a ranking snapshot.
- RankingEntry(int, UUID, long) - Constructor for record class com.cotani.ranking.api.RankingEntry
-
Creates an instance of a
RankingEntryrecord class. - RankingException - Exception Class in com.cotani.ranking.api
-
Base exception for expected ranking-domain failures.
- RankingException(String) - Constructor for exception class com.cotani.ranking.api.RankingException
- rankingId() - Method in exception class com.cotani.ranking.api.RankingNotFoundException
- RankingId - Record Class in com.cotani.ranking.api
-
Stable identifier for one named ranking.
- RankingId(String) - Constructor for record class com.cotani.ranking.api.RankingId
-
Creates an instance of a
RankingIdrecord class. - RankingNotFoundException - Exception Class in com.cotani.ranking.api
-
Raised when a query references a ranking that has not been registered.
- RankingNotFoundException(RankingId) - Constructor for exception class com.cotani.ranking.api.RankingNotFoundException
- RankingService - Interface in com.cotani.ranking.api
-
Asynchronous named ranking views backed by a caller-owned statistics service.
- RankingServiceOptions - Record Class in com.cotani.ranking.api
-
Operational bounds for ranking queries.
- RankingServiceOptions(Duration, int) - Constructor for record class com.cotani.ranking.api.RankingServiceOptions
-
Creates an instance of a
RankingServiceOptionsrecord class. - RankingSnapshot - Record Class in com.cotani.ranking.api
-
Immutable, bounded view of one ranking at a point in time.
- RankingSnapshot(RankingDefinition, List, Instant) - Constructor for record class com.cotani.ranking.api.RankingSnapshot
-
Creates an instance of a
RankingSnapshotrecord class. - register(RankingDefinition) - Method in interface com.cotani.ranking.api.RankingService
-
Registers a ranking definition; duplicate ids are rejected.
S
- statisticId() - Method in record class com.cotani.ranking.api.RankingDefinition
-
Returns the value of the
statisticIdrecord component.
T
- topAsync(RankingId, int) - Method in interface com.cotani.ranking.api.RankingService
-
Loads a bounded immutable snapshot ordered by value descending and UUID ascending.
- toString() - Method in record class com.cotani.ranking.api.RankingDefinition
-
Returns a string representation of this record class.
- toString() - Method in record class com.cotani.ranking.api.RankingEntry
-
Returns a string representation of this record class.
- toString() - Method in record class com.cotani.ranking.api.RankingId
-
Returns a string representation of this record class.
- toString() - Method in record class com.cotani.ranking.api.RankingServiceOptions
-
Returns a string representation of this record class.
- toString() - Method in record class com.cotani.ranking.api.RankingSnapshot
-
Returns a string representation of this record class.
V
- value() - Method in record class com.cotani.ranking.api.RankingEntry
-
Returns the value of the
valuerecord component. - value() - Method in record class com.cotani.ranking.api.RankingId
-
Returns the value of the
valuerecord component.
W
- withQueryTimeout(CompletionStage) - Method in record class com.cotani.ranking.api.RankingServiceOptions
-
Applies a caller-visible timeout without blocking the calling thread.
All Classes and Interfaces|All Packages|Serialized Form