geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/ClientHealthMonitor.java
public synchronized static void shutdownInstance() {
    refCount--;
    if (_instance == null)
      return;
    if (refCount > 0)
      return;
    _instance.shutdown();

    boolean interrupted = false; // Don't clear, let join fail if already interrupted
    try {
      if (_instance._clientMonitor != null) {
        _instance._clientMonitor.join();
      }
    } catch (InterruptedException e) {
      interrupted = true;
      if (logger.isDebugEnabled()) {
        logger.debug(":Interrupted joining with the ClientHealthMonitor Thread", e);
      }
    } finally {
      if (interrupted) {
        Thread.currentThread().interrupt();
      }
    }
    _instance = null;
    refCount = 0;
  }
/**
   * Shuts down the singleton <code>ClientHealthMonitor</code> instance.
   */
Shuts down the singleton ClientHealthMonitor instance.
Shuts down the singleton ClientHealthMonitor instance .
public synchronized static void shutdownInstance() {
    refCount--;
    if (_instance == null)
      return;
    if (refCount > 0)
      return;
    _instance.shutdown();
    boolean interrupted = false; 
    try {
      if (_instance._clientMonitor != null) {
        _instance._clientMonitor.join();
      }
    } catch (InterruptedException e) {
      interrupted = true;
      if (logger.isDebugEnabled()) {
        logger.debug(":Interrupted joining with the ClientHealthMonitor Thread", e);
      }
    } finally {
      if (interrupted) {
        Thread.currentThread().interrupt();
      }
    }
    _instance = null;
    refCount = 0;
  }
public synchronized static void shutdownInstance ( ) { refCount -- ; if ( _instance == null ) return ; if ( refCount > 0 ) return ; _instance . shutdown ( ) ; boolean interrupted = false ; try { if ( _instance . _clientMonitor != null ) { _instance . _clientMonitor . join ( ) ; } } catch ( InterruptedException e ) { interrupted = true ; if ( logger . isDebugEnabled ( ) ) { logger . debug ( ":Interrupted joining with the ClientHealthMonitor Thread" , e ) ; } } finally { if ( interrupted ) { Thread . currentThread ( ) . interrupt ( ) ; } } _instance = null ; refCount = 0 ; }
Shuts down the singleton <code>ClientHealthMonitor</code> instance.
Shuts down the singleton <code > ClientHealthMonitor< / code > instance .
// Don't clear, let join fail if already interrupted