Class PromotionPolicy

java.lang.Object
com.helix.core.cache.PromotionPolicy

public class PromotionPolicy extends Object
Evaluates access counters to determine whether a cache entry qualifies for tier promotion.
  • Field Details

  • Constructor Details

    • PromotionPolicy

      public PromotionPolicy()
  • Method Details

    • incrementAndGetAccesses

      public int incrementAndGetAccesses()
    • getAccesses

      public int getAccesses()
    • shouldPromoteToL2

      public boolean shouldPromoteToL2()
    • shouldPromoteToL1

      public boolean shouldPromoteToL1()