Interface TapeRobotPool
- All Known Subinterfaces:
TapeLibraryPool
- All Known Implementing Classes:
TapeLibraryPoolImpl
public interface TapeRobotPool
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves and removes the head of this pool, waiting if necessary until an element becomes available.checkoutRobotService
(long timeout, TimeUnit unit) Retrieves and removes the head of this queue, waiting up to the specified wait time if necessary for an element to become available.void
pushRobotService
(TapeRobotService tapeRobotService) Return or add TapeRobotService to the pool
-
Method Details
-
checkoutRobotService
Retrieves and removes the head of this pool, waiting if necessary until an element becomes available.- Returns:
- TapeRobotService
- Throws:
InterruptedException
-
checkoutRobotService
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:
InterruptedException
-
pushRobotService
Return or add TapeRobotService to the pool- Parameters:
tapeRobotService
-- Throws:
InterruptedException
-
getLibraryIdentifier
String getLibraryIdentifier()
-