/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.shardingsphere.cluster.heartbeat.response;

import lombok.Getter;

import java.util.Map;

/**
 * Heart beat response.
 */
@Getter
public final class HeartBeatResponse {
    
    private Map<String, HeartBeatResult> heartBeatResultMap;
    
    public HeartBeatResponse(final Map<String, HeartBeatResult> heartBeatResultMap) {
        this.heartBeatResultMap = heartBeatResultMap;
    }
}

@@ -882,16 +882,45 @@
 etter;%0A%0A
+import java.util.Collection;%0A
 import j
@@ -1034,32 +1034,43 @@
 ate Map%3CString, 
+Collection%3C
 HeartBeatResult%3E
@@ -1061,32 +1061,33 @@
 HeartBeatResult%3E
+%3E
  heartBeatResult
@@ -1143,16 +1143,27 @@
 String, 
+Collection%3C
 HeartBea
@@ -1170,16 +1170,17 @@
 tResult%3E
+%3E
  heartBe

revise heart beat response