use of com.hazelcast.instance.SimpleMemberImpl in project hazelcast by hazelcast.
the class SerializationTest method testMemberLeftException_usingSimpleMember.
@Test
public void testMemberLeftException_usingSimpleMember() throws Exception {
String uuid = UuidUtil.newUnsecureUuidString();
String host = "127.0.0.1";
int port = 5000;
Member member = new SimpleMemberImpl(MemberVersion.of("3.8.0"), uuid, new InetSocketAddress(host, port));
testMemberLeftException(uuid, host, port, member);
}
use of com.hazelcast.instance.SimpleMemberImpl in project hazelcast by hazelcast.
the class SerializationTest method testMemberLeftException_withLiteSimpleMemberImpl.
@Test
public void testMemberLeftException_withLiteSimpleMemberImpl() throws Exception {
String uuid = UuidUtil.newUnsecureUuidString();
String host = "127.0.0.1";
int port = 5000;
Member member = new SimpleMemberImpl(MemberVersion.of("3.8.0"), uuid, new InetSocketAddress(host, port), true);
testMemberLeftException(uuid, host, port, member);
}
Aggregations