@Override
    public String getEmailMessage(String pinpointUrl, String applicationName, String serviceType, String currentTime) {
        StringBuilder message = new StringBuilder();
        for (Map.Entry<String, Boolean> detected : detectedAgents.entrySet()) {
            String agentId = detected.getKey();
            message.append(String.format(" Value of agent(%s) has deadlocked thread during the past 5 mins.", detected.getKey()));
            message.append(String.format(INSPECTOR_LINK_FORMAT, pinpointUrl, applicationName, serviceType, currentTime, agentId, agentId));
            message.append(LINE_FEED);
        }
        return message.toString();
    }
@author Taejin Koo
@author Jongjin.Bae
batch/src/main/java/com/navercorp/pinpoint/batch/alarm/checker/DeadlockChecker.java