/** * Shuts down the client. This stops the internal actor system and actors. */ public void shutdown() throws Exception { synchronized (this) { try { finalizeCluster(); } finally { actorSystemLoader.shutdown(); } if (highAvailabilityServices != null) { highAvailabilityServices.close(); } } }
/** * Shuts down the client. This stops the internal actor system and actors. */ public void shutdown() throws Exception { synchronized (this) { actorSystemLoader.shutdown(); if (!sharedHaServices && highAvailabilityServices != null) { highAvailabilityServices.close(); } } }