Skip to content

Commit

Permalink
adjust comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bohhyang committed Nov 21, 2024
1 parent 8c2133c commit fcba9b6
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,15 @@ void addUriSpecificProperty(String clusterName,

/**
* Get announce mode of the server. Some server may have different announce mode, e.g. dual write mode, force announce
* mode. NOTE the order of the enum shows the migration progress. The ordinal is used in JMX --- each number higher
* means one more step completed in the migration --- which can ease devs to know the status.
* mode.
*/
AnnounceMode getAnnounceMode();

/**
* NOTE the order in this enum shows the migration progress from an old service registry to a new one.
* The ordinal is used in JMX --- each number higher means one more step completed in the migration --- which can
* ease devs to know the status.
*/
enum AnnounceMode
{
STATIC_OLD_SR_ONLY, // statically only announce to old service registry
Expand Down

0 comments on commit fcba9b6

Please sign in to comment.