コード例 #1
0
 /** 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();
 }
コード例 #2
0
 /**
  * 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();
 }