| | |
| | | /**
|
| | | * ServerStatus encapsulates runtime status information about the server
|
| | | * including some information about the system environment.
|
| | | * |
| | | *
|
| | | * @author James Moger
|
| | | * |
| | | *
|
| | | */
|
| | | public class ServerStatus implements Serializable {
|
| | |
|
| | |
| | |
|
| | | public final String releaseDate;
|
| | |
|
| | | public final boolean isGO;
|
| | |
|
| | | public final Map<String, String> systemProperties;
|
| | |
|
| | | public final long heapMaximum;
|
| | |
| | |
|
| | | public volatile long heapFree;
|
| | |
|
| | | public boolean isGO;
|
| | |
|
| | | public String servletContainer;
|
| | |
|
| | | public ServerStatus(boolean isGO) {
|
| | | public ServerStatus() {
|
| | | this.bootDate = new Date();
|
| | | this.version = Constants.getVersion();
|
| | | this.releaseDate = Constants.getBuildDate();
|
| | | this.isGO = isGO;
|
| | |
|
| | | this.heapMaximum = Runtime.getRuntime().maxMemory();
|
| | |
|