Ejemplo n.º 1
0
 /**
  * Get the local user temporary folder of the specified user.
  *
  * <p>This method is a wrapper around {@link tachyon.Users#getUserTempFolder(long)}, and as such
  * should be referentially transparent with {@link tachyon.Users#getUserTempFolder(long)}. In the
  * context of {@code this}, this call will output the result of path concat of {@link
  * #mLocalUserFolder} with the provided {@literal userId}.
  *
  * <p>This method differs from {@link #getUserUnderfsTempFolder(long)} in the context of where
  * write operations end up. This temp folder generated lives inside the tachyon file system, and
  * as such, will be stored in memory.
  *
  * @see tachyon.Users#getUserTempFolder(long)
  * @param userId The id of the user
  * @return The local user temporary folder of the specified user
  * @throws TException
  */
 public String getUserTempFolder(long userId) throws TException {
   String ret = mUsers.getUserTempFolder(userId);
   LOG.info("Return UserTempFolder for " + userId + " : " + ret);
   return ret;
 }