Skip to content

Commit

Permalink
Correct PassThroughMergePolicy documentation [DOC-174] (#1315)
Browse files Browse the repository at this point in the history
Per the code and javadoc this should read ".. unless the incoming entry
is null."

Javadoc :

`Merges data structure entries from source to destination directly
unless the merging entry is {@code null}`
  • Loading branch information
gareth-johnston authored Oct 7, 2024
1 parent e72cc27 commit 5314007
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modules/wan/pages/configuring-for-map-and-cache.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ the target map if it does not exist in the target map.
* `HigherHitsMergePolicy`: Incoming entry merges from the source map to
the target map if the source entry has more hits than the target one.
* `PassThroughMergePolicy`: Incoming entry merges from the source map to
the target map unless the incoming entry is not null.
the target map unless the incoming entry is null.
* `ExpirationTimeMergePolicy`: Incoming entry merges from the source map to
the target map if the source entry will expire later than the destination entry.
Please note that this merge policy can only be used when the clusters' clocks are in sync.
Expand Down Expand Up @@ -169,7 +169,7 @@ the target cache if it does not exist in the target cache.
* `HigherHitsMergePolicy`: Incoming entry merges from the source cache to
the target cache if the source entry has more hits than the target one.
* `PassThroughMergePolicy`: Incoming entry merges from the source cache to
the target cache unless the incoming entry is not null.
the target cache unless the incoming entry is null.
* `ExpirationTimeMergePolicy`: Incoming entry merges from the source cache to
the target cache if the source entry will expire later than the destination entry.
Please note that this merge policy can only be used when the clusters' clocks are in sync.
Expand Down

0 comments on commit 5314007

Please sign in to comment.