com.cloud.storage.Volume.getChainInfo()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(0.9k)|赞(0)|评价(0)|浏览(93)

本文整理了Java中com.cloud.storage.Volume.getChainInfo()方法的一些代码示例,展示了Volume.getChainInfo()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Volume.getChainInfo()方法的具体详情如下:
包路径:com.cloud.storage.Volume
类名称:Volume
方法名:getChainInfo

Volume.getChainInfo介绍

暂无

代码示例

代码示例来源:origin: apache/cloudstack

public VolumeTO(Volume volume, StoragePool pool) {
  this.id = volume.getId();
  this.name = volume.getName();
  this.path = volume.getPath();
  this.size = volume.getSize();
  this.type = volume.getVolumeType();
  this.storagePoolType = pool.getPoolType();
  this.storagePoolUuid = pool.getUuid();
  this.mountPoint = volume.getFolder();
  this.chainInfo = volume.getChainInfo();
  this.chainSize = volume.getVmSnapshotChainSize();
  if (volume.getDeviceId() != null)
    this.deviceId = volume.getDeviceId();
}

代码示例来源:origin: apache/cloudstack

poolId = that.getPoolId();
attached = that.getAttached();
chainInfo = that.getChainInfo();
templateId = that.getTemplateId();
deviceId = that.getDeviceId();

相关文章