Class MySqlConnectorTask.ServerIdGenerator
java.lang.Object
io.debezium.connector.mysql.legacy.MySqlConnectorTask.ServerIdGenerator
- Enclosing class:
- MySqlConnectorTask
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final longprivate intprivate final long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateServerIdGenerator(long configuredServerId, long configuredOffset) -
Method Summary
-
Field Details
-
configuredServerId
private final long configuredServerId -
offset
private final long offset -
counter
private int counter
-
-
Constructor Details
-
ServerIdGenerator
private ServerIdGenerator(long configuredServerId, long configuredOffset)
-
-
Method Details
-
getNextServerId
public long getNextServerId() -
getConfiguredServerId
public long getConfiguredServerId()
-