Interface Volume
- All Superinterfaces:
org.apache.hadoop.yarn.event.EventHandler<VolumeEvent>
- All Known Implementing Classes:
VolumeImpl
@Private
@Unstable
public interface Volume
extends org.apache.hadoop.yarn.event.EventHandler<VolumeEvent>
Major volume interface at RM's view, it maintains the volume states and
state transition according to the CSI volume lifecycle.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.CsiAdaptorProtocolorg.apache.hadoop.yarn.server.volume.csi.VolumeIdorg.apache.hadoop.yarn.server.volume.csi.VolumeMetaDatavoidsetClient(org.apache.hadoop.yarn.api.CsiAdaptorProtocol client) Methods inherited from interface org.apache.hadoop.yarn.event.EventHandler
handle
-
Method Details
-
getVolumeState
VolumeState getVolumeState() -
getVolumeId
org.apache.hadoop.yarn.server.volume.csi.VolumeId getVolumeId() -
getVolumeMeta
org.apache.hadoop.yarn.server.volume.csi.VolumeMetaData getVolumeMeta() -
getClient
org.apache.hadoop.yarn.api.CsiAdaptorProtocol getClient() -
setClient
void setClient(org.apache.hadoop.yarn.api.CsiAdaptorProtocol client)
-