|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.util.SourceTimestampWatchPredicate
public class SourceTimestampWatchPredicate
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 | |
|---|---|
SourceTimestampWatchPredicate(java.sql.Timestamp timestamp)
|
|
| Method Summary | |
|---|---|
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 timestamp for which we waiting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SourceTimestampWatchPredicate(java.sql.Timestamp timestamp)
| Method Detail |
|---|
public boolean match(ReplDBMSHeader event)
match in interface WatchPredicate<ReplDBMSHeader>WatchPredicate.match(java.lang.Object)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 | |||||||||