public class DefaultEvictionContext extends java.lang.Object implements IEvictionContext
Constructor and Description |
---|
DefaultEvictionContext(java.lang.Long referenceTime) |
DefaultEvictionContext(java.lang.Long referenceTime,
java.lang.Long currentCount) |
DefaultEvictionContext(java.lang.Long referenceTime,
java.lang.Long currentCount,
java.lang.Long slidingCount) |
DefaultEvictionContext(java.lang.Long referenceTime,
java.lang.Long currentCount,
java.lang.Long slidingCount,
java.lang.Long slidingInterval) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCurrentCount() |
java.lang.Long |
getReferenceTime() |
java.lang.Long |
getSlidingCount() |
java.lang.Long |
getSlidingInterval() |
public DefaultEvictionContext(java.lang.Long referenceTime)
public DefaultEvictionContext(java.lang.Long referenceTime, java.lang.Long currentCount)
public DefaultEvictionContext(java.lang.Long referenceTime, java.lang.Long currentCount, java.lang.Long slidingCount)
public DefaultEvictionContext(java.lang.Long referenceTime, java.lang.Long currentCount, java.lang.Long slidingCount, java.lang.Long slidingInterval)
public java.lang.Long getReferenceTime()
getReferenceTime
in interface IEvictionContext
public java.lang.Long getSlidingCount()
getSlidingCount
in interface IEvictionContext
public java.lang.Long getSlidingInterval()
getSlidingInterval
in interface IEvictionContext
public java.lang.Long getCurrentCount()
getCurrentCount
in interface IEvictionContext