Package com.zendesk.maxwell.schema
Class ReadOnlyMysqlPositionStore
- java.lang.Object
-
- com.zendesk.maxwell.schema.MysqlPositionStore
-
- com.zendesk.maxwell.schema.ReadOnlyMysqlPositionStore
-
public class ReadOnlyMysqlPositionStore extends MysqlPositionStore
a schema position object that doesn't write its position out. useful for "replay" mode.
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyMysqlPositionStore(ConnectionPool pool, Long serverID, String clientID, boolean gtidMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longheartbeat()voidset(Position p)-
Methods inherited from class com.zendesk.maxwell.schema.MysqlPositionStore
cleanupOldRecoveryInfos, formatRecoveryFailure, get, getAllRecoveryInfos, getAllRecoveryInfos, getLastHeartbeatSent, getLatestFromAnyClient, getRecoveryInfo, getRecoveryInfo, heartbeat, positionFromResultSet
-
-
-
-
Constructor Detail
-
ReadOnlyMysqlPositionStore
public ReadOnlyMysqlPositionStore(ConnectionPool pool, Long serverID, String clientID, boolean gtidMode)
-
-
Method Detail
-
set
public void set(Position p)
- Overrides:
setin classMysqlPositionStore
-
heartbeat
public long heartbeat() throws Exception- Overrides:
heartbeatin classMysqlPositionStore- Throws:
Exception
-
-