Commit dbb77ec6 authored by Tom Evans's avatar Tom Evans

Merge pull request #275 from caojianlin/master

HazelcastClusterNodeInfo communication has big delay.
parents dd0f2440 45667761
......@@ -45,6 +45,7 @@ public class HazelcastClusterNodeInfo implements ClusterNodeInfo {
public HazelcastClusterNodeInfo(Member member, Long joinedTime) {
hostname = member.getSocketAddress().getHostName();
hostname = member.getSocketAddress().getHostString();
nodeID = NodeID.getInstance(StringUtils.getBytes(member.getUuid()));
this.joinedTime = joinedTime;
seniorMember = ClusterManager.getSeniorClusterMember().equals(StringUtils.getBytes(member.getUuid()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment