|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.util.SeqnoWatchPredicate
public class SeqnoWatchPredicate
Implements a WatchPredicate to identify that a particular sequence number has been reached. This returns true for any sequence number equal to or higher than the number we are seeking.
| Constructor Summary | |
|---|---|
SeqnoWatchPredicate(long seqno)
|
|
| Method Summary | |
|---|---|
long |
getSeqno()
|
boolean |
match(ReplDBMSHeader event)
Return true if the sequence number is greater than or equal to what we are seeking. |
java.lang.String |
toString()
Returns the class name and the seqno for which we waiting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SeqnoWatchPredicate(long seqno)
| Method Detail |
|---|
public boolean match(ReplDBMSHeader event)
match in interface WatchPredicate<ReplDBMSHeader>WatchPredicate.match(java.lang.Object)public long getSeqno()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||