Interface TapeRobotPool
-
- All Known Subinterfaces:
TapeLibraryPool
- All Known Implementing Classes:
TapeLibraryPoolImpl
public interface TapeRobotPool
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TapeRobotService
checkoutRobotService()
Retrieves and removes the head of this pool, waiting if necessary until an element becomes available.TapeRobotService
checkoutRobotService(long timeout, java.util.concurrent.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.java.lang.String
getLibraryIdentifier()
TapeCatalogService
getTapeCatalogService()
void
pushRobotService(TapeRobotService tapeRobotService)
Return or add TapeRobotService to the pool
-
-
-
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()
-
getTapeCatalogService
TapeCatalogService getTapeCatalogService()
-
-