Interface NexusTaskHandler

All Known Implementing Classes:
NexusTaskHandlerImpl, WorkerCommandTaskHandler

public interface NexusTaskHandler
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    handle(NexusTask task, com.uber.m3.tally.Scope metricsScope)
     
    boolean
    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