Class MySqlConnectorTask.ServerIdGenerator
- java.lang.Object
-
- io.debezium.connector.mysql.legacy.MySqlConnectorTask.ServerIdGenerator
-
- Enclosing class:
- MySqlConnectorTask
public class MySqlConnectorTask.ServerIdGenerator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private long
configuredServerId
private int
counter
private long
offset
-
Constructor Summary
Constructors Modifier Constructor Description private
ServerIdGenerator(long configuredServerId, long configuredOffset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getConfiguredServerId()
long
getNextServerId()
-