Package alluxio.worker.block.meta
Interface TempBlockMeta
-
public interface TempBlockMeta
Represents the metadata of an uncommitted block in Alluxio managed storage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getBlockId()
BlockStoreLocation
getBlockLocation()
long
getBlockSize()
java.lang.String
getCommitPath()
StorageDir
getParentDir()
java.lang.String
getPath()
long
getSessionId()
void
setBlockSize(long newSize)
-
-
-
Method Detail
-
getBlockSize
long getBlockSize()
- Returns:
- the block size
-
getPath
java.lang.String getPath()
- Returns:
- the block path
-
getBlockId
long getBlockId()
- Returns:
- the block id
-
getBlockLocation
BlockStoreLocation getBlockLocation()
- Returns:
- location of the block
-
getParentDir
StorageDir getParentDir()
- Returns:
- the parent directory
-
getCommitPath
java.lang.String getCommitPath()
- Returns:
- the commit path
-
getSessionId
long getSessionId()
- Returns:
- the session id
-
setBlockSize
void setBlockSize(long newSize)
- Parameters:
newSize
- block size to use
-
-