/**
  * @summary get the mapping from tier alias to the paths of the directories in the tier
  * @return the response object
  */
 @GET
 @Path(GET_DIRECTORY_PATHS_ON_TIERS)
 @ReturnType("java.util.SortedMap<String, java.util.List<String>>")
 public Response getDirectoryPathsOnTiers() {
   SortedMap<String, List<String>> tierToDirPaths = new TreeMap<>(getTierAliasComparator());
   tierToDirPaths.putAll(mStoreMeta.getDirectoryPathsOnTiers());
   return RestUtils.createResponse(tierToDirPaths);
 }
 /**
  * @summary get the mapping from tier alias to the used bytes of the tier, the keys are in the
  *     order from tier aliases with smaller ordinals to those with larger ones.
  * @return the response object
  */
 @GET
 @Path(GET_USED_BYTES_ON_TIERS)
 @ReturnType("java.util.SortedMap<String, Long>")
 public Response getUsedBytesOnTiers() {
   SortedMap<String, Long> usedBytesOnTiers = new TreeMap<>(getTierAliasComparator());
   for (Map.Entry<String, Long> tierBytes : mStoreMeta.getUsedBytesOnTiers().entrySet()) {
     usedBytesOnTiers.put(tierBytes.getKey(), tierBytes.getValue());
   }
   return RestUtils.createResponse(usedBytesOnTiers);
 }
 /**
  * @summary get the used bytes of the worker
  * @return the response object
  */
 @GET
 @Path(GET_USED_BYTES)
 @ReturnType("java.lang.Long")
 public Response getUsedBytes() {
   return RestUtils.createResponse(mStoreMeta.getUsedBytes());
 }
 /**
  * @summary get the total capacity of the worker in bytes
  * @return the response object
  */
 @GET
 @Path(GET_CAPACITY_BYTES)
 @ReturnType("java.lang.Long")
 public Response getCapacityBytes() {
   return RestUtils.createResponse(mStoreMeta.getCapacityBytes());
 }