Interface TapeDrivePool

    • Method Detail

      • checkoutDriveService

        TapeDriveService checkoutDriveService​(java.lang.Integer driveIndex)
                                       throws java.lang.InterruptedException
        Retrieves and removes the head of this pool, waiting if necessary until an element becomes available.
        Returns:
        TapeDriveService
        Throws:
        java.lang.InterruptedException
      • pushDriveService

        void pushDriveService​(TapeDriveService tapeDriveService)
                       throws java.lang.InterruptedException
        Return or add TapeDriveService to the pool
        Parameters:
        tapeDriveService -
        Throws:
        java.lang.InterruptedException
      • drives

        java.util.Set<java.util.Map.Entry<java.lang.Integer,​TapeDriveService>> drives()