Search in sources :

Example 1 with HookInvoker

use of com.alibaba.datax.core.container.util.HookInvoker in project DataX by alibaba.

the class JobContainer method invokeHooks.

/**
     * 调用外部hook
     */
private void invokeHooks() {
    Communication comm = super.getContainerCommunicator().collect();
    HookInvoker invoker = new HookInvoker(CoreConstant.DATAX_HOME + "/hook", configuration, comm.getCounter());
    invoker.invokeAll();
}
Also used : HookInvoker(com.alibaba.datax.core.container.util.HookInvoker) Communication(com.alibaba.datax.core.statistics.communication.Communication)

Aggregations

HookInvoker (com.alibaba.datax.core.container.util.HookInvoker)1 Communication (com.alibaba.datax.core.statistics.communication.Communication)1