From f0b34e1199e974237c78870a4fca510c23addccd Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 26 Jul 2016 14:40:09 +0200 Subject: SONAR-7899 configure container of "startup followers" --- sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sonar-plugin-api/src') diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java b/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java index f8aa4bd2a2c..3c5c8e463e7 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java @@ -39,6 +39,8 @@ public abstract class Server { /** * Name is misleading, this is an UUID generated * at each startup, so it changes if server is restarted. + * In the context of cluster, the value is shared + * by all the nodes. * @return a non-null UUID. Format can change over versions. */ public abstract String getId(); @@ -47,6 +49,7 @@ public abstract class Server { * UUID generated on demand by system administrators. It is * {@code null} by default on fresh installations. When defined, * value does not change when server is restarted. + * In the context of cluster, value is the same on all nodes. * @since 2.10 */ @CheckForNull @@ -58,7 +61,9 @@ public abstract class Server { public abstract String getVersion(); /** - * Date when server started + * Date when server started. In the context of cluster, this is the + * date of the startup of the first node. Value is the same on all + * cluster nodes. */ public abstract Date getStartedAt(); -- cgit v1.2.3