1 3 package org.jgroups.protocols; 4 5 import org.jgroups.util.List; 6 import org.jgroups.util.Util; 7 8 import java.io.Serializable ; 9 10 11 12 13 17 public class Digest implements Serializable { 18 public long[] highest_seqnos=null; public final List msgs=new List(); public Digest(int size) { 22 highest_seqnos=new long[size]; 23 } 24 25 public String toString() { 26 StringBuffer retval=new StringBuffer (); 27 retval.append(Util.array2String(highest_seqnos) + " (" + msgs.size() + " msgs)"); 28 return retval.toString(); 29 } 30 31 } 32 | Popular Tags |