/** returns a string representation of this identifier, ignoring the toString cache */ public String toStringNoCache() { StringBuffer sb = new StringBuffer("identity(") .append(getDSMembership()) .append(",connection=") .append(uniqueId); if (identity != null) { DurableClientAttributes dca = getDurableAttributes(); if (dca.getId().length() > 0) { sb.append(",durableAttributes=").append(getDurableAttributes()).append(')').toString(); } } return sb.toString(); }
/** * Returns this <code>ClientProxyMembershipID</code>'s durable id. * * @return this <code>ClientProxyMembershipID</code>'s durable id * @since 5.5 */ public String getDurableId() { DurableClientAttributes dca = getDurableAttributes(); return dca == null ? "" : dca.getId(); }