static public void announceGMSGroupStopComplete(String clusterName, ActionReport report) { if (report != null) { GMSAnnounceSupplementalInfo gmsInfo = report.getResultType(GMSAnnounceSupplementalInfo.class); if (gmsInfo != null && gmsInfo.gmsInitiated) { GMSConstants.shutdownState groupShutdownState = GMSConstants.shutdownState.COMPLETED; try { if (gmsInfo.gms != null) { gmsInfo.gms.announceGroupShutdown(clusterName, groupShutdownState); } } catch (Throwable t) { // ensure gms group startup announcement does not interfere with starting cluster. GMS_LOGGER.log(LogLevel.WARNING, GMS_GROUP_STOP_EXCEPTION, t.getLocalizedMessage()); } } } }
try { gms.announceGroupShutdown(clusterName, GMSConstants.shutdownState.INITIATED); gmsStopCluster = true; } catch (Throwable t) {