Package org.apache.solr.blockcache
Class BlockCacheLocation
java.lang.Object
org.apache.solr.blockcache.BlockCacheLocation
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetBlock()The block within the bank.longlongbooleanvoidsetBankId(int bankId) voidsetBlock(int block) The block within the bank.voidsetRemoved(boolean removed) voidtouch()
-
Constructor Details
-
BlockCacheLocation
public BlockCacheLocation()
-
-
Method Details
-
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)
-