aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-07-26 14:40:09 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-07-29 10:31:31 +0200
commitf0b34e1199e974237c78870a4fca510c23addccd (patch)
treeee3610ec41d3cf3ef4f769dfb9b0fa66581b4c7e /sonar-plugin-api/src
parent8259e91b4177a2e08a4ef72bef474db06da4e87b (diff)
downloadsonarqube-f0b34e1199e974237c78870a4fca510c23addccd.tar.gz
sonarqube-f0b34e1199e974237c78870a4fca510c23addccd.zip
SONAR-7899 configure container of "startup followers"
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java7
1 files changed, 6 insertions, 1 deletions
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();