Map<ParticipantId, Participant> participantMap = cluster.getParticipantMap();
for (ParticipantId participantId : participantMap.keySet()) {
Participant participant = participantMap.get(participantId);
ContainerConfig config = participant.getContainerConfig();
if (config != null) {
ContainerState containerState = config.getState();
if (!participant.isAlive() && ContainerState.CONNECTED.equals(containerState)) {
// Need to mark as disconnected if process died
LOG.info("Participant " + participantId + " died, marking as DISCONNECTED");
updateContainerState(cache, accessor, keyBuilder, cluster, null, participantId,
ContainerState.DISCONNECTED);