Class TestHelper.CdcRecordFoundBlockingMultiResultSetConsumer
java.lang.Object
io.debezium.connector.sqlserver.util.TestHelper.CdcRecordFoundBlockingMultiResultSetConsumer
- All Implemented Interfaces:
JdbcConnection.BlockingMultiResultSetConsumer
- Enclosing class:
- TestHelper
static class TestHelper.CdcRecordFoundBlockingMultiResultSetConsumer
extends Object
implements JdbcConnection.BlockingMultiResultSetConsumer
A multiple result-set consumer used internally by
TestHelper.waitForCdcRecord(SqlServerConnection, String, CdcRecordHandler)
that allows returning whether the provided TestHelper.CdcRecordHandler detected the expected condition or not.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
-
Field Details
-
handler
-
found
private boolean found
-
-
Constructor Details
-
CdcRecordFoundBlockingMultiResultSetConsumer
CdcRecordFoundBlockingMultiResultSetConsumer(TestHelper.CdcRecordHandler handler)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceJdbcConnection.BlockingMultiResultSetConsumer- Throws:
SQLExceptionInterruptedException
-
isFound
public boolean isFound()
-