public interface TapeDrivePool
| Modifier and Type | Method and Description |
|---|---|
TapeDriveService |
checkoutDriveService(Integer driveIndex)
Retrieves and removes the head of this pool, waiting if necessary
until an element becomes available.
|
Set<Map.Entry<Integer,TapeDriveService>> |
drives() |
void |
pushDriveService(TapeDriveService tapeDriveService)
Return or add TapeDriveService to the pool
|
TapeDriveService checkoutDriveService(Integer driveIndex) throws InterruptedException
InterruptedExceptionvoid pushDriveService(TapeDriveService tapeDriveService) throws InterruptedException
tapeDriveService - InterruptedExceptionSet<Map.Entry<Integer,TapeDriveService>> drives()
Copyright © 2019 Vitam. All rights reserved.