Package com.zendesk.maxwell.bootstrap
Class BootstrapController
- java.lang.Object
-
- com.zendesk.maxwell.util.RunLoopProcess
-
- com.zendesk.maxwell.bootstrap.BootstrapController
-
- All Implemented Interfaces:
StoppableTask
public class BootstrapController extends RunLoopProcess
-
-
Field Summary
-
Fields inherited from class com.zendesk.maxwell.util.RunLoopProcess
taskState
-
-
Constructor Summary
Constructors Constructor Description BootstrapController(ConnectionPool maxwellConnectionPool, AbstractProducer producer, SynchronousBootstrapper bootstrapper, String clientID, boolean syncMode, Long currentSchemaID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setCurrentSchemaID(long schemaID)
boolean
shouldSkip(RowMap row)
protected void
work()
-
Methods inherited from class com.zendesk.maxwell.util.RunLoopProcess
awaitStop, beforeStart, beforeStop, interrupt, requestStop, runLoop
-
-
-
-
Constructor Detail
-
BootstrapController
public BootstrapController(ConnectionPool maxwellConnectionPool, AbstractProducer producer, SynchronousBootstrapper bootstrapper, String clientID, boolean syncMode, Long currentSchemaID)
-
-
Method Detail
-
work
protected void work() throws Exception
- Specified by:
work
in classRunLoopProcess
- Throws:
Exception
-
setCurrentSchemaID
public void setCurrentSchemaID(long schemaID)
-
shouldSkip
public boolean shouldSkip(RowMap row) throws IOException
- Throws:
IOException
-
-