Esempio n. 1
0
 /**
  * Request an amount of space for a block in its storage directory. The block must be a temporary
  * block.
  *
  * @param sessionId The id of the client
  * @param blockId The id of the block to allocate space to
  * @param additionalBytes The amount of bytes to allocate
  * @throws BlockDoesNotExistException if blockId can not be found, or some block in eviction plan
  *     cannot be found
  * @throws WorkerOutOfSpaceException if requested space can not be satisfied
  * @throws IOException if blocks in {@link tachyon.worker.block.evictor.EvictionPlan} fail to be
  *     moved or deleted on file system
  */
 public void requestSpace(long sessionId, long blockId, long additionalBytes)
     throws BlockDoesNotExistException, WorkerOutOfSpaceException, IOException {
   mBlockStore.requestSpace(sessionId, blockId, additionalBytes);
 }