public interface DevicePluginScheduler
| Modifier and Type | Method and Description | 
|---|---|
| Set<Device> | allocateDevices(Set<Device> availableDevices,
               int count,
               Map<String,String> env)Called when allocating devices. | 
Set<Device> allocateDevices(Set<Device> availableDevices, int count, Map<String,String> env)
availableDevices - Devices allowed to be chosen from.count - Number of device to be allocated.env - Environment variables of the container.Device allocatedCopyright © 2008–2023 Apache Software Foundation. All rights reserved.