diff options
author | James Moger <james.moger@gitblit.com> | 2011-10-25 17:23:47 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-10-25 17:23:47 -0400 |
commit | 486ee115abb831b2ec78be6777fb1bca9e931df0 (patch) | |
tree | fc25ea7282eb5068a8620f81e8cb9ee9233d2ca2 /src/com/gitblit/models/ServerStatus.java | |
parent | 4c837a1de9f7706c7bfb0cbb14a7082f916826ae (diff) | |
download | gitblit-486ee115abb831b2ec78be6777fb1bca9e931df0.tar.gz gitblit-486ee115abb831b2ec78be6777fb1bca9e931df0.zip |
Documentation. Changed status RPC protection. Status tab for Manager.
Diffstat (limited to 'src/com/gitblit/models/ServerStatus.java')
-rw-r--r-- | src/com/gitblit/models/ServerStatus.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/com/gitblit/models/ServerStatus.java b/src/com/gitblit/models/ServerStatus.java index 8dfc0fbc..1c40b5f4 100644 --- a/src/com/gitblit/models/ServerStatus.java +++ b/src/com/gitblit/models/ServerStatus.java @@ -33,18 +33,23 @@ public class ServerStatus implements Serializable { public final Date bootDate;
+ public final boolean isGO;
+
public final Map<String, String> systemProperties;
- public final long heapSize;
+ public final long heapMaximum;
public volatile long heapAllocated;
public volatile long heapFree;
+
+ public String servletContainer;
- public ServerStatus() {
+ public ServerStatus(boolean isGO) {
bootDate = new Date();
+ this.isGO = isGO;
- heapSize = Runtime.getRuntime().maxMemory();
+ heapMaximum = Runtime.getRuntime().maxMemory();
systemProperties = new TreeMap<String, String>();
put("file.encoding");
|