Skip to content

Commit 69abb06

Browse files
committed
doc nits
1 parent 788e31e commit 69abb06

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/com/arpnetworking/clusteraggregator/configuration/ClusterAggregatorConfiguration.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -551,17 +551,17 @@ public Builder setReaggregationTimeout(final Duration value) {
551551

552552
/**
553553
* How often an aggregator actor should check for liveliness. An actor is considered live
554-
* if any data is received between subsequent checks.
554+
* if any data is received between consecutive checks.
555555
*
556-
* This control is useful for culling aggregator instances for very infrequently occurring
557-
* dimension sets, especially if the application is long-lived.
556+
* This control is useful for culling instances which aggregate very infrequent dimension
557+
* sets, especially if the application itself is long-lived.
558558
*
559559
* This must be greater than the reaggregation timeout, otherwise an actor could be
560560
* incorrectly marked as stale before flushing its data.
561561
*
562562
* Optional. Defaults to twice the reaggregation timeout. Cannot be null.
563563
*
564-
* @param value Timeout from period start to wait for all data to arrive.
564+
* @param value Timeout between consecutive liveliness checks.
565565
* @return This instance of {@link Builder}.
566566
*/
567567
public Builder setAggregatorLivelinessTimeout(final Duration value) {
@@ -604,7 +604,7 @@ public Builder setCalculateClusterAggregations(final Boolean value) {
604604
}
605605

606606
/**
607-
* Validate that the aggregator liveliness timeout is less than the reaggregation timeout.
607+
* Validate that the aggregator liveliness timeout is greater than the reaggregation timeout.
608608
*
609609
* @param aggregatorLivelinessTimeout the configured liveliness timeout
610610
* @return true if the given value is valid

0 commit comments

Comments
 (0)