Interface Tracking
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DefaultTracking
The Tracking interface provides a mechanism to start and manage the tracking of messages by a given set of handlers.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the tracking process, releasing any resources held by it.default RegistrationStarts the tracking process using the specified Fluxzero instance and the provided handlers.Starts tracking messages using the provided Fluxzero and a list of handlers.
-
Method Details
-
start
Starts the tracking process using the specified Fluxzero instance and the provided handlers.- Parameters:
fluxzero- the Fluxzero instance to be used for trackinghandlers- the handlers responsible for processing tracked messages- Returns:
- a Registration instance that can be used to manage and cancel the tracking process
-
start
Starts tracking messages using the provided Fluxzero and a list of handlers.- Parameters:
fluxzero- the Fluxzero used to manage the message tracking processhandlers- a list of handlers that process the tracked messages- Returns:
- a Registration instance that can be used to cancel the tracking process
-
close
void close()Closes the tracking process, releasing any resources held by it. This method is invoked automatically whenFluxzerois shut down.- Specified by:
closein interfaceAutoCloseable
-