|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.extractor.mysql.RelayLogTask
public class RelayLogTask
Implements a task that runs in a separate thread to manage relay logs.
| Constructor Summary | |
|---|---|
RelayLogTask(RelayLogClient relayClient)
Creates a new relay log task. |
|
| Method Summary | |
|---|---|
void |
cancel()
Signal that the task should end. |
RelayLogPosition |
getPosition()
Returns the current relay log position. |
boolean |
isFinished()
Returns true if the task has completed. |
void |
run()
Extracts from the relay log until cancelled or we fail. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelayLogTask(RelayLogClient relayClient)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablepublic void cancel()
public boolean isFinished()
public RelayLogPosition getPosition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||