Class HandlerMiddleware

  • All Implemented Interfaces:
    Middleware

    public class HandlerMiddleware
    extends java.lang.Object
    implements Middleware
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handle​(Job job, java.util.concurrent.Callable<java.lang.Void> next)
      Middleware handles that would be called
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • handle

        public void handle​(Job job,
                           java.util.concurrent.Callable<java.lang.Void> next)
                    throws java.lang.Exception
        Description copied from interface: Middleware
        Middleware handles that would be called
        Specified by:
        handle in interface Middleware
        Parameters:
        job - job object
        next - next middleware in chain
        Throws:
        java.lang.Exception - any exception