public class MostUsableSpaceStrategy extends DiskAllocationStrategy
DiskAllocationStrategy implementation that allocates the disk with the most usable space.| Constructor and Description |
|---|
MostUsableSpaceStrategy() |
@Nonnull public Disk allocateDisk(@Nonnull List<Disk> disks) throws IOException
DiskAllocationStrategyDisk entry.allocateDisk in class DiskAllocationStrategydisks - the entries from which to allocate a disk. The list has at least one elementIOException - if any mandatory field is missing from the Disk entryCopyright © 2016. All rights reserved.