Class BlockCacheLocation
- java.lang.Object
-
- org.apache.solr.hdfs.store.blockcache.BlockCacheLocation
-
public class BlockCacheLocation extends Object
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description BlockCacheLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBankId()intgetBlock()The block within the bank.longgetLastAccess()longgetNumberOfAccesses()booleanisRemoved()voidsetBankId(int bankId)voidsetBlock(int block)The block within the bank.voidsetRemoved(boolean removed)voidtouch()
-
-
-
Method Detail
-
setBlock
public void setBlock(int block)
The block within the bank. This has no relationship to the blockId in BlockCacheKey
-
setBankId
public void setBankId(int bankId)
-
getBlock
public int getBlock()
The block within the bank. This has no relationship to the blockId in BlockCacheKey
-
getBankId
public int getBankId()
-
touch
public void touch()
-
getLastAccess
public long getLastAccess()
-
getNumberOfAccesses
public long getNumberOfAccesses()
-
isRemoved
public boolean isRemoved()
-
setRemoved
public void setRemoved(boolean removed)
-
-