Interface TapeRobotPool

    • Method Detail

      • checkoutRobotService

        TapeRobotService checkoutRobotService()
                                       throws java.lang.InterruptedException
        Retrieves and removes the head of this pool, waiting if necessary until an element becomes available.
        Returns:
        TapeRobotService
        Throws:
        java.lang.InterruptedException
      • checkoutRobotService

        TapeRobotService checkoutRobotService​(long timeout,
                                              java.util.concurrent.TimeUnit unit)
                                       throws java.lang.InterruptedException
        Retrieves and removes the head of this queue, waiting up to the specified wait time if necessary for an element to become available.
        Parameters:
        timeout -
        unit -
        Returns:
        TapeRobotService
        Throws:
        java.lang.InterruptedException
      • pushRobotService

        void pushRobotService​(TapeRobotService tapeRobotService)
                       throws java.lang.InterruptedException
        Return or add TapeRobotService to the pool
        Parameters:
        tapeRobotService -
        Throws:
        java.lang.InterruptedException
      • getLibraryIdentifier

        java.lang.String getLibraryIdentifier()