@ThreadSafe public final class UIFileBlockInfo extends Object
Constructor and Description |
---|
UIFileBlockInfo(FileBlockInfo fileBlockInfo)
Creates a new instance of
UIFileBlockInfo . |
UIFileBlockInfo(long blockId,
long blockLength,
long blockLastAccessTimeMs,
String tierAlias)
Creates a new instance of
UIFileBlockInfo . |
Modifier and Type | Method and Description |
---|---|
long |
getBlockLength() |
long |
getID() |
long |
getLastAccessTimeMs() |
List<String> |
getLocations() |
boolean |
isInTier(String tierAlias) |
public UIFileBlockInfo(FileBlockInfo fileBlockInfo)
UIFileBlockInfo
.fileBlockInfo
- underlying FileBlockInfo
public UIFileBlockInfo(long blockId, long blockLength, long blockLastAccessTimeMs, String tierAlias)
UIFileBlockInfo
.blockId
- the block idblockLength
- the block lengthblockLastAccessTimeMs
- the block last access time in millisecondstierAlias
- the tier alias of the blockpublic boolean isInTier(String tierAlias)
tierAlias
- the alias for the tierpublic long getBlockLength()
public long getID()
public long getLastAccessTimeMs()
Copyright © 2023. All Rights Reserved.