public interface TapeRobotPool
| Modifier and Type | Method and Description |
|---|---|
TapeRobotService |
checkoutRobotService()
Retrieves and removes the head of this pool, waiting if necessary
until an element becomes available.
|
TapeRobotService |
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.
|
String |
getLibraryIdentifier() |
TapeCatalogService |
getTapeCatalogService() |
void |
pushRobotService(TapeRobotService tapeRobotService)
Return or add TapeRobotService to the pool
|
TapeRobotService checkoutRobotService() throws InterruptedException
InterruptedExceptionTapeRobotService checkoutRobotService(long timeout, TimeUnit unit) throws InterruptedException
timeout - unit - InterruptedExceptionvoid pushRobotService(TapeRobotService tapeRobotService) throws InterruptedException
tapeRobotService - InterruptedExceptionString getLibraryIdentifier()
TapeCatalogService getTapeCatalogService()
Copyright © 2019 Vitam. All rights reserved.