hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/ksm/KeySpaceManager.java
@Override
  public List<KsmVolumeArgs> listAllVolumes(String prefix, String prevKey, int
      maxKeys) throws IOException {
    try {
      metrics.incNumVolumeLists();
      return volumeManager.listVolumes(null, prefix, prevKey, maxKeys);
    } catch (Exception ex) {
      metrics.incNumVolumeListFails();
      throw ex;
    }
  }
/**
   * Lists volume all volumes in the cluster.
   *
   * @param prefix - Filter prefix -- Return only entries that match this.
   * @param prevKey - Previous key -- List starts from the next from the
   * prevkey
   * @param maxKeys - Max number of keys to return.
   * @return List of Volumes.
   * @throws IOException
   */
Lists volume all volumes in the cluster.
@param prefix - Filter prefix -- Return only entries that match this.
@param prevKey - Previous key -- List starts from the next from the
prevkey
@param maxKeys - Max number of keys to return.
@return List of Volumes.
Lists volume all volumes in the cluster . @param prefix - Filter prefix -- Return only entries that match this . @param prevKey - Previous key -- List starts from the next from the prevkey @param maxKeys - Max number of keys to return . @return List of Volumes .
@Override
  public List<KsmVolumeArgs> listAllVolumes(String prefix, String prevKey, int
      maxKeys) throws IOException {
    try {
      metrics.incNumVolumeLists();
      return volumeManager.listVolumes(null, prefix, prevKey, maxKeys);
    } catch (Exception ex) {
      metrics.incNumVolumeListFails();
      throw ex;
    }
  }
@ Override public List < KsmVolumeArgs > listAllVolumes ( String prefix , String prevKey , int maxKeys ) throws IOException { try { metrics . incNumVolumeLists ( ) ; return volumeManager . listVolumes ( null , prefix , prevKey , maxKeys ) ; } catch ( Exception ex ) { metrics . incNumVolumeListFails ( ) ; throw ex ; } }
Lists volume all volumes in the cluster.
Lists volume all volumes in the cluster .