Gets all tierViews before certain tierView. Throws an {@link IllegalArgumentException} if the
tierAlias is not found.

@param tierAlias the alias of a tierView
@return the list of {@link StorageTierView}
778860
public List<StorageTierView> getTierViewsBelow(String tierAlias) {
    int ordinal = getTierView(tierAlias).getTierViewOrdinal();
    return mTierViews.subList(ordinal + 1, mTierViews.size());
  }
735562
@Override
	public List<BundlePath> getItemPathList(Map<String, String> variants) {
		return getItemPathList(bundlePathMapping.getItemPathList(), variants);
	}
1250165
public LinkedHashMap<String, String> getTierToBrokerMap()
  {
    return tierToBrokerMap == null ? new LinkedHashMap<>(
        ImmutableMap.of(
            DruidServer.DEFAULT_TIER, defaultBrokerServiceName
        )
    ) : tierToBrokerMap;
  }
539174
public List<StorageTier> getTiersBelow(String tierAlias) {
    int ordinal = getTier(tierAlias).getTierOrdinal();
    return mTiers.subList(ordinal + 1, mTiers.size());
  }
1063459
public static StorageTier newStorageTier(String tierAlias)
      throws BlockAlreadyExistsException, IOException, WorkerOutOfSpaceException {
    StorageTier ret = new StorageTier(tierAlias);
    ret.initStorageTier();
    return ret;
  }
1228702
public Set getAliases() {
    Set result = new java.util.TreeSet();
    synchronized (aliases) {
      result.addAll(aliases.values());
    }
    return (result);
  }
1065671
@Override
	public List<CommerceVirtualOrderItem> findAll() {
		return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
289657
public function listTiers($optParams = array()) {
      $params = array();
      $params = array_merge($params, $optParams);
      $data = $this->__call('list', array($params));
      if ($this->useObjects()) {
        return new Google_TiersListResponse($data);
      } else {
        return $data;
      }
    }
1188339
public java.util.List<LoadBalancerDescription> getLoadBalancerDescriptions() {
        if (loadBalancerDescriptions == null) {
            loadBalancerDescriptions = new com.amazonaws.internal.SdkInternalList<LoadBalancerDescription>();
        }
        return loadBalancerDescriptions;
    }
494036
public RestoreObjectRequest withTier(Tier tier) {
        this.tier = tier == null ? null : tier.toString();
        return this;
    }
375852
@java.lang.Deprecated
  public java.util.Map<java.lang.String, alluxio.grpc.TierList> getCurrentBlocksOnTiers() {
    return getCurrentBlocksOnTiersMap();
  }
1197611
public Alias getAlias(String aliasName) {
        Alias result = null;
        for (Alias item : getAliasesList()) {
            if (item.getName().equals(aliasName)) {
                result = item;
            }
        }
        return result;
    }
305769
@Override
    public List<T> getAll(final Collection<String> ids) {
        if (ids == null || ids.size() == 0) {
            return Collections.<T> emptyList();
        }

        // we need a List of ids to partition
        final List<String> idList;
        if (ids instanceof List) {
            idList = (List<String>) ids;
        } else {
            idList = Lists.newArrayList(ids);
        }

        // fetch records in groups of X
        List<T> result = null;
        for (final List<String> partition : Lists.partition(idList, config.getPartitionSize())) {
            result = doGetAll(result, partition);
        }

        // make sure we always return non-null list
        if (result == null) {
            return Collections.<T> emptyList();
        }
        return result;
    }
1051819
public com.google.protobuf.ByteString
      getTierAliasBytes() {
    java.lang.Object ref = tierAlias_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      tierAlias_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }
1250275
public java.lang.String getTierName() {
    java.lang.Object ref = tierName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (bs.isValidUtf8()) {
        tierName_ = s;
      }
      return s;
    }
  }
1096969
private function iterateTiers($tiers, &$result)
    {
        reset($tiers);
        $uuid = key($tiers);
        $tier = array_shift($tiers);

        $found = false;
        if (is_array($result)) {
            foreach ($result as &$node) {
                if ($node['id'] === $uuid) {
                    $node['_embedded']['nodes'] = $tier;
                    $found = true;
                    break;
                }
            }
        }

        if (!$tiers) {
            return;
        }

        if (!$found) {
            throw new \RuntimeException(
                sprintf(
                    'Could not find target node in with UUID "%s" in tier. This should not happen.',
                    $uuid
                )
            );
        }

        $this->iterateTiers($tiers, $node['_embedded']['nodes']);
    }
859398
@Nullable
  public StorageTierView getNextTier(StorageTierView tierView) {
    int nextOrdinal = tierView.getTierViewOrdinal() + 1;
    if (nextOrdinal < mTierViews.size()) {
      return mTierViews.get(nextOrdinal);
    }
    return null;
  }