@Override public long getSpanFullGCCollectionCount() { long current = getFullGCCollectionCount(); if (lastFullGCCollectionCount == -1) { lastFullGCCollectionCount = current; return 0; } else { long result = current - lastFullGCCollectionCount; lastFullGCCollectionCount = current; return result; } }
@Override public String getOSName() { return getSystemProperty("os.name"); }
@Override public long getSpanYoungGCCollectionCount() { long current = getYoungGCCollectionCount(); if (lastYoungGCCollectionCount == -1) { lastYoungGCCollectionCount = current; return 0; } else { long result = current - lastYoungGCCollectionCount; lastYoungGCCollectionCount = current; return result; } }
@Override public long getSpanFullGCCollectionTime() { long current = getFullGCCollectionTime(); if (lastFullGCCollectionTime == -1) { lastFullGCCollectionTime = current; return 0; } else { long result = current - lastFullGCCollectionTime; lastFullGCCollectionTime = current; return result; } }
@Override public long getSpanYoungGCCollectionTime() { long current = getYoungGCCollectionTime(); if (lastYoungGCCollectionTime == -1) { lastYoungGCCollectionTime = current; return 0; } else { long result = current - lastYoungGCCollectionTime; lastYoungGCCollectionTime = current; return result; } }
@Override public String getJavaVersion() { return getSystemProperty("java.version"); }
@Override public long getSpanFullGCCollectionCount() { long current = getFullGCCollectionCount(); if (lastFullGCCollectionCount == -1) { lastFullGCCollectionCount = current; return 0; } else { long result = current - lastFullGCCollectionCount; lastFullGCCollectionCount = current; return result; } }
@Override public long getSpanYoungGCCollectionCount() { long current = getYoungGCCollectionCount(); if (lastYoungGCCollectionCount == -1) { lastYoungGCCollectionCount = current; return 0; } else { long result = current - lastYoungGCCollectionCount; lastYoungGCCollectionCount = current; return result; } }
@Override public long getSpanFullGCCollectionTime() { long current = getFullGCCollectionTime(); if (lastFullGCCollectionTime == -1) { lastFullGCCollectionTime = current; return 0; } else { long result = current - lastFullGCCollectionTime; lastFullGCCollectionTime = current; return result; } }
@Override public long getSpanYoungGCCollectionTime() { long current = getYoungGCCollectionTime(); if (lastYoungGCCollectionTime == -1) { lastYoungGCCollectionTime = current; return 0; } else { long result = current - lastYoungGCCollectionTime; lastYoungGCCollectionTime = current; return result; } }
@Override public String getFileEncode() { return getSystemProperty("file.encoding"); }
@Override public String getArch() { return getSystemProperty("os.arch"); }
@Override public String getJavaLibraryPath() { return getSystemProperty("java.library.path"); }
@Override public String getJavaVersion() { return getSystemProperty("java.version"); }
@Override public String getJavaHome() { return getSystemProperty("java.home"); }
@Override public String getArch() { return getSystemProperty("os.arch"); }
@Override public String getOSName() { return getSystemProperty("os.name"); }
@Override public String getOSVersion() { return getSystemProperty("os.version"); }
@Override public String getJavaLibraryPath() { return getSystemProperty("java.library.path"); }
@Override public String getFileEncode() { return getSystemProperty("file.encoding"); }