VolumeManagerImpl@Private
@Unstable
public interface VolumeManager
| Modifier and Type | Method | Description |
|---|---|---|
Volume |
addOrGetVolume(Volume volume) |
Start to supervise on a volume.
|
org.apache.hadoop.yarn.api.CsiAdaptorProtocol |
getAdaptorByDriverName(java.lang.String driverName) |
Returns the csi-driver-adaptor client from cache by the given driver name.
|
VolumeStates |
getVolumeStates() |
|
void |
registerCsiDriverAdaptor(java.lang.String driverName,
org.apache.hadoop.yarn.api.CsiAdaptorProtocol client) |
Register a csi-driver-adaptor to the volume manager.
|
java.util.concurrent.ScheduledFuture<VolumeProvisioningResults> |
schedule(VolumeProvisioningTask volumeProvisioningTask,
int delaySecond) |
Execute volume provisioning tasks as backend threads.
|
VolumeStates getVolumeStates()
Volume addOrGetVolume(Volume volume)
volume - volume.java.util.concurrent.ScheduledFuture<VolumeProvisioningResults> schedule(VolumeProvisioningTask volumeProvisioningTask, int delaySecond)
volumeProvisioningTask - A provisioning task encapsulates
all the logic required by a storage system to provision a volume.delaySecond - delay Second.void registerCsiDriverAdaptor(java.lang.String driverName,
org.apache.hadoop.yarn.api.CsiAdaptorProtocol client)
driverName - driver name.client - csi adaptor protocol client.org.apache.hadoop.yarn.api.CsiAdaptorProtocol getAdaptorByDriverName(java.lang.String driverName)
driverName - driver name.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.