Class NoopProcessTracer
java.lang.Object
com.kingsrook.qqq.backend.core.processes.tracing.NoopProcessTracer
- All Implemented Interfaces:
ProcessTracerInterface
Implementation of ProcessTracerInterface that does nothing (no-op).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleMessage(RunBackendStepInput runBackendStepInput, ProcessTracerMessage message) Called when the (application, custom) process step code itself decides to trace something.voidhandleProcessBreak(RunProcessInput runProcessInput, RunProcessOutput runProcessOutput, Exception processException) Called when a process break occurs, e.g., between backend and frontend steps (but only if there are no more backend steps in the queue).voidhandleProcessFinish(RunProcessInput runProcessInput, RunProcessOutput runProcessOutput, Exception processException) Called after the last (backend) step of a process.voidhandleProcessResume(RunProcessInput runProcessInput) Called when a process is resumed, e.g., after a "break" occurs between backend steps and frontend steps.voidhandleProcessStart(RunProcessInput runProcessInput) Called when a new process is started.voidhandleStepFinish(RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) Called when a (backend) step finishes.voidhandleStepStart(RunBackendStepInput runBackendStepInput) Called when a (backend) step is started.
-
Constructor Details
-
NoopProcessTracer
public NoopProcessTracer()
-
-
Method Details
-
handleProcessStart
Description copied from interface:ProcessTracerInterfaceCalled when a new process is started.- Specified by:
handleProcessStartin interfaceProcessTracerInterface
-
handleProcessResume
Description copied from interface:ProcessTracerInterfaceCalled when a process is resumed, e.g., after a "break" occurs between backend steps and frontend steps.- Specified by:
handleProcessResumein interfaceProcessTracerInterface
-
handleStepStart
Description copied from interface:ProcessTracerInterfaceCalled when a (backend) step is started.- Specified by:
handleStepStartin interfaceProcessTracerInterface
-
handleMessage
Description copied from interface:ProcessTracerInterfaceCalled when the (application, custom) process step code itself decides to trace something. We imagine various subclasses of ProcessTracerMessage to be created, to communicate more specific data for the tracer implementation.- Specified by:
handleMessagein interfaceProcessTracerInterface
-
handleStepFinish
public void handleStepFinish(RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) Description copied from interface:ProcessTracerInterfaceCalled when a (backend) step finishes.- Specified by:
handleStepFinishin interfaceProcessTracerInterface
-
handleProcessBreak
public void handleProcessBreak(RunProcessInput runProcessInput, RunProcessOutput runProcessOutput, Exception processException) Description copied from interface:ProcessTracerInterfaceCalled when a process break occurs, e.g., between backend and frontend steps (but only if there are no more backend steps in the queue).- Specified by:
handleProcessBreakin interfaceProcessTracerInterface
-
handleProcessFinish
public void handleProcessFinish(RunProcessInput runProcessInput, RunProcessOutput runProcessOutput, Exception processException) Description copied from interface:ProcessTracerInterfaceCalled after the last (backend) step of a process.- Specified by:
handleProcessFinishin interfaceProcessTracerInterface
-