Skip to content

Commit

Permalink
Comment on NOT_SET
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveCTurner committed Aug 21, 2021
1 parent eab60c3 commit bd8ef0c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
*/
public class ClusterStatePublicationEvent {

/**
* Sentinel value so that we can assert each field is set once and only once on each successful event, and at most once on each failure.
*/
private static final long NOT_SET = -1L;

private final String summary;
Expand Down

0 comments on commit bd8ef0c

Please sign in to comment.