Interface LoadStep

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.github.akurilov.commons.concurrent.AsyncRunnable

        com.github.akurilov.commons.concurrent.AsyncRunnable.State
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.github.akurilov.commons.concurrent.AsyncRunnable await()  
      boolean await​(long timeout, java.util.concurrent.TimeUnit timeUnit)  
      void close()  
      java.lang.String getTypeName()  
      java.lang.String loadStepId()  
      java.util.List<? extends AllMetricsSnapshot> metricsSnapshots()  
      long runId()  
      com.github.akurilov.commons.concurrent.AsyncRunnable start()  
      com.github.akurilov.commons.concurrent.AsyncRunnable stop()  
      • Methods inherited from interface com.github.akurilov.commons.concurrent.AsyncRunnable

        isClosed, isInitial, isShutdown, isStarted, isStopped, shutdown, state
    • Method Detail

      • loadStepId

        java.lang.String loadStepId()
                             throws java.rmi.RemoteException
        Returns:
        the step id
        Throws:
        java.rmi.RemoteException
      • runId

        long runId()
            throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • getTypeName

        java.lang.String getTypeName()
                              throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • metricsSnapshots

        java.util.List<? extends AllMetricsSnapshot> metricsSnapshots()
                                                               throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • start

        com.github.akurilov.commons.concurrent.AsyncRunnable start()
                                                            throws java.rmi.RemoteException
        Specified by:
        start in interface com.github.akurilov.commons.concurrent.AsyncRunnable
        Throws:
        java.rmi.RemoteException
      • await

        com.github.akurilov.commons.concurrent.AsyncRunnable await()
                                                            throws java.lang.InterruptedException,
                                                                   java.rmi.RemoteException
        Specified by:
        await in interface com.github.akurilov.commons.concurrent.AsyncRunnable
        Throws:
        java.lang.InterruptedException
        java.rmi.RemoteException
      • await

        boolean await​(long timeout,
                      java.util.concurrent.TimeUnit timeUnit)
               throws java.lang.InterruptedException,
                      java.rmi.RemoteException
        Specified by:
        await in interface com.github.akurilov.commons.concurrent.AsyncRunnable
        Throws:
        java.lang.InterruptedException
        java.rmi.RemoteException
      • stop

        com.github.akurilov.commons.concurrent.AsyncRunnable stop()
                                                           throws java.rmi.RemoteException
        Specified by:
        stop in interface com.github.akurilov.commons.concurrent.AsyncRunnable
        Throws:
        java.rmi.RemoteException
      • close

        void close()
            throws java.io.IOException
        Specified by:
        close in interface com.github.akurilov.commons.concurrent.AsyncRunnable
        Throws:
        java.io.IOException