public int getActiveCacheSize() {
    return activeConnections;
  }
Returns number of connections currently in use.

@return int Number of active connections
geode-core/src/main/java/org/apache/geode/internal/datasource/AbstractPoolCache.java