|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.util.HeartbeatWatchPredicate
public class HeartbeatWatchPredicate
Implements a WatchPredicate that returns true when we see an event that is marked as a heartbeat.
| Constructor Summary | |
|---|---|
HeartbeatWatchPredicate(java.lang.String name)
|
|
| Method Summary | |
|---|---|
boolean |
match(ReplDBMSHeader event)
Return true if we have a ReplDBMSEvent instance *and* it has a matching heartbeat name. |
java.lang.String |
toString()
Returns the class name and the event for which we waiting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HeartbeatWatchPredicate(java.lang.String name)
| Method Detail |
|---|
public boolean match(ReplDBMSHeader event)
match in interface WatchPredicate<ReplDBMSHeader>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 | |||||||||