public int getTotalThreads() {
    return totalThreads;
  }
Returns the number of threads in use.

@return the number of threads in use
geode-core/src/main/java/org/apache/geode/management/JVMMetrics.java