RepetitionInfo.
| Modifier and Type | Field and Description |
|---|---|
| private final int | currentRepetition
Record Component accessed by currentRepetition(). |
| private final AtomicInteger | failureCount
Record Component accessed by failureCount(). |
| private final int | failureThreshold
Record Component accessed by failureThreshold(). |
| private final int | totalRepetitions
Record Component accessed by totalRepetitions(). |
| Access | Constructor and Description |
|---|---|
| pack-priv | DefaultRepetitionInfo(int currentRepetition, int totalRepetitions, AtomicInteger failureCount, int failureThreshold)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public AtomicInteger | |
| public int | |
| public int | getCurrentRepetition()
Implements org. Get the current repetition of the corresponding
|
| public int | getFailureCount()
Implements org. Get the current number of repetitions of the corresponding
|
| public int | getFailureThreshold()
Implements org. Get the configured failure threshold of the corresponding
|
| public int | getTotalRepetitions()
Implements org. Get the total number of repetitions of the corresponding
|
| public final int | |
| public String | toString()
Implements abstract java. Returns a string representation of the record. |
| public int |
| currentRepetition | back to summary |
|---|---|
| private final int currentRepetition Record Component accessed by currentRepetition(). | |
| failureCount | back to summary |
|---|---|
| private final AtomicInteger failureCount Record Component accessed by failureCount(). | |
| failureThreshold | back to summary |
|---|---|
| private final int failureThreshold Record Component accessed by failureThreshold(). | |
| totalRepetitions | back to summary |
|---|---|
| private final int totalRepetitions Record Component accessed by totalRepetitions(). | |
| DefaultRepetitionInfo | back to summary |
|---|---|
| pack-priv DefaultRepetitionInfo(int currentRepetition, int totalRepetitions, AtomicInteger failureCount, int failureThreshold) | |
| currentRepetition | back to summary |
|---|---|
| public int currentRepetition() Record Component getter of currentRepetition. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| failureCount | back to summary |
|---|---|
| public AtomicInteger failureCount() Record Component getter of failureCount. | |
| failureThreshold | back to summary |
|---|---|
| public int failureThreshold() Record Component getter of failureThreshold. | |
| getCurrentRepetition | back to summary |
|---|---|
| public int getCurrentRepetition() Implements org. Doc from org. Get the current repetition of the corresponding
| |
| getFailureCount | back to summary |
|---|---|
| public int getFailureCount() Implements org. Doc from org. Get the current number of repetitions of the corresponding
| |
| getFailureThreshold | back to summary |
|---|---|
| public int getFailureThreshold() Implements org. Doc from org. Get the configured failure threshold of the corresponding
| |
| getTotalRepetitions | back to summary |
|---|---|
| public int getTotalRepetitions() Implements org. Doc from org. Get the total number of repetitions of the corresponding
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.
| |
| totalRepetitions | back to summary |
|---|---|
| public int totalRepetitions() Record Component getter of totalRepetitions. | |