Package org.apache.solr.store.blockcache
Class BlockCacheLocation
- java.lang.Object
-
- org.apache.solr.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 int
getBankId()
int
getBlock()
The block within the bank.long
getLastAccess()
long
getNumberOfAccesses()
boolean
isRemoved()
void
setBankId(int bankId)
void
setBlock(int block)
The block within the bank.void
setRemoved(boolean removed)
void
touch()
-
-
-
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)
-
-