public class PagedBlockMeta extends Object implements BlockMeta
Constructor and Description |
---|
PagedBlockMeta(long blockId,
long blockSize,
PagedBlockStoreDir dir) |
Modifier and Type | Method and Description |
---|---|
long |
getBlockId() |
BlockStoreLocation |
getBlockLocation() |
long |
getBlockSize() |
PagedBlockStoreDir |
getDir() |
StorageDir |
getParentDir() |
String |
getPath() |
public PagedBlockMeta(long blockId, long blockSize, PagedBlockStoreDir dir)
blockId
- blockSize
- dir
- the directory that stores the pages of this blockpublic long getBlockId()
getBlockId
in interface BlockMeta
public BlockStoreLocation getBlockLocation()
getBlockLocation
in interface BlockMeta
public long getBlockSize()
getBlockSize
in interface BlockMeta
public StorageDir getParentDir()
getParentDir
in interface BlockMeta
public PagedBlockStoreDir getDir()
Copyright © 2023. All Rights Reserved.