public long getGcTimeMillis() {
    return gcTimeMillis;
  }
Returns the amount of time (in milliseconds) spent on garbage collection.

@return the amount of time (in milliseconds) spent on garbage collection
geode-core/src/main/java/org/apache/geode/management/JVMMetrics.java