use of org.apache.geode.distributed.internal.membership.gms.GMSMember in project geode by apache.
the class GMSHealthMonitorJUnitTest method createGMSMember.
private GMSMember createGMSMember(short version, int viewId, long msb, long lsb) throws UnknownHostException {
GMSMember gmsMember = new GMSMember();
gmsMember.setVersionOrdinal(version);
gmsMember.setBirthViewId(viewId);
gmsMember.setUUID(new UUID(msb, lsb));
gmsMember.setInetAddr(InetAddress.getLocalHost());
return gmsMember;
}
Aggregations