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
InterruptedException
void pushDriveService(TapeDriveService tapeDriveService) throws InterruptedException
tapeDriveService
- InterruptedException
Set<Map.Entry<Integer,TapeDriveService>> drives()
Copyright © 2019 Vitam. All rights reserved.