public interface ExecuteProcessReporter
extends org.apache.shardingsphere.infra.util.spi.type.optional.OptionalSPI
| 限定符和类型 | 方法和说明 |
|---|---|
void |
report(ExecutionGroupContext<? extends SQLExecutionUnit> executionGroupContext)
Report this connection for proxy.
|
void |
report(org.apache.shardingsphere.infra.binder.QueryContext queryContext,
ExecutionGroupContext<? extends SQLExecutionUnit> executionGroupContext,
ExecuteProcessConstants constants,
org.apache.shardingsphere.infra.util.eventbus.EventBusContext eventBusContext)
Report the summary of this task.
|
void |
report(String executionID,
ExecuteProcessConstants constants,
org.apache.shardingsphere.infra.util.eventbus.EventBusContext eventBusContext)
Report this task on completion.
|
void |
report(String executionID,
SQLExecutionUnit executionUnit,
ExecuteProcessConstants constants,
org.apache.shardingsphere.infra.util.eventbus.EventBusContext eventBusContext)
Report a unit of this task.
|
void |
reportClean(String executionID)
Report clean the task.
|
void |
reportRemove(String executionID)
Report remove process context.
|
void report(ExecutionGroupContext<? extends SQLExecutionUnit> executionGroupContext)
executionGroupContext - execution group contextvoid report(org.apache.shardingsphere.infra.binder.QueryContext queryContext,
ExecutionGroupContext<? extends SQLExecutionUnit> executionGroupContext,
ExecuteProcessConstants constants,
org.apache.shardingsphere.infra.util.eventbus.EventBusContext eventBusContext)
queryContext - query contextexecutionGroupContext - execution group contextconstants - constantseventBusContext - event bus contextvoid report(String executionID, SQLExecutionUnit executionUnit, ExecuteProcessConstants constants, org.apache.shardingsphere.infra.util.eventbus.EventBusContext eventBusContext)
executionID - execution IDexecutionUnit - execution unitconstants - constantseventBusContext - event bus contextvoid report(String executionID, ExecuteProcessConstants constants, org.apache.shardingsphere.infra.util.eventbus.EventBusContext eventBusContext)
executionID - execution IDconstants - constantseventBusContext - event bus contextvoid reportClean(String executionID)
executionID - execution IDvoid reportRemove(String executionID)
executionID - execution IDCopyright © 2022 The Apache Software Foundation. All rights reserved.