Class BlockCacheLocation

java.lang.Object
org.apache.solr.blockcache.BlockCacheLocation

public class BlockCacheLocation extends Object
WARNING: This API is experimental and might change in incompatible ways in the next release.
  • 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)