Interface NexusTaskHandler
- All Known Implementing Classes:
NexusTaskHandlerImpl,WorkerCommandTaskHandler
public interface NexusTaskHandler
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanstart()Start the handler if the handler has any registered services.
-
Method Details
-
start
boolean start()Start the handler if the handler has any registered services. It is an error to start a handler more than once.- Returns:
- True if this handler can handle at least one nexus service.
-
handle
NexusTaskHandler.Result handle(NexusTask task, com.uber.m3.tally.Scope metricsScope) throws TimeoutException - Throws:
TimeoutException
-