Package com.zendesk.maxwell
Class Maxwell
- java.lang.Object
-
- com.zendesk.maxwell.Maxwell
-
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
BufferedMaxwell
,MaxwellWithContext
public class Maxwell extends Object implements Runnable
-
-
Field Summary
Fields Modifier and Type Field Description protected MaxwellConfig
config
protected MaxwellContext
context
protected Replicator
replicator
-
Constructor Summary
Constructors Modifier Constructor Description Maxwell(MaxwellConfig config)
protected
Maxwell(MaxwellContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Position
getInitialPosition()
String
getMaxwellVersion()
static void
main(String[] args)
protected void
onReplicatorEnd()
protected void
onReplicatorStart()
void
restart()
void
run()
void
start()
void
terminate()
-
-
-
Field Detail
-
config
protected MaxwellConfig config
-
context
protected MaxwellContext context
-
replicator
protected Replicator replicator
-
-
Constructor Detail
-
Maxwell
public Maxwell(MaxwellConfig config) throws SQLException, URISyntaxException
- Throws:
SQLException
URISyntaxException
-
Maxwell
protected Maxwell(MaxwellContext context) throws SQLException, URISyntaxException
- Throws:
SQLException
URISyntaxException
-
-