@InterfaceAudience.Private
 @InterfaceStability.Unstable
public interface VolumeManager
| Modifier and Type | Method and Description | 
|---|---|
| Volume | addOrGetVolume(Volume volume)Start to supervise on a volume. | 
| org.apache.hadoop.yarn.api.CsiAdaptorProtocol | getAdaptorByDriverName(String driverName)Returns the csi-driver-adaptor client from cache by the given driver name. | 
| VolumeStates | getVolumeStates() | 
| void | registerCsiDriverAdaptor(String driverName,
                        org.apache.hadoop.yarn.api.CsiAdaptorProtocol client)Register a csi-driver-adaptor to the volume manager. | 
| ScheduledFuture<VolumeProvisioningResults> | schedule(VolumeProvisioningTask volumeProvisioningTask,
        int delaySecond)Execute volume provisioning tasks as backend threads. | 
VolumeStates getVolumeStates()
Volume addOrGetVolume(Volume volume)
volume - ScheduledFuture<VolumeProvisioningResults> schedule(VolumeProvisioningTask volumeProvisioningTask, int delaySecond)
volumeProvisioningTask - delaySecond - void registerCsiDriverAdaptor(String driverName, org.apache.hadoop.yarn.api.CsiAdaptorProtocol client)
driverName - client - org.apache.hadoop.yarn.api.CsiAdaptorProtocol getAdaptorByDriverName(String driverName)
driverName - Copyright © 2008–2023 Apache Software Foundation. All rights reserved.