getRefreshTime

getCurrentSize

getEntryLifeTime

public int getEntryLifeTime()

Returns:

seconds. A non-positive value indicates that entries never expire.

Since:

3.0

getMaxSize

public int getMaxSize()

Since:

3.0

getRefreshPeriod

public long getRefreshPeriod()

Return the interval, in milliseconds, between refreshing the entire cache. If a non-positive value is returned that means the cache is never refreshed, rather each entry's lifetime is individually timed using the interval returned by getEntryLifeTime().

Since:

3.0

getGets

public long getGets()

Return the number of times get() has been called.

Since:

3.0

getHits

public long getHits()

Return the number of times get() has been called and returned an entry from the cache.

Since:

3.0

getMisses

public long getMisses()

Return the number of times get() has been called and failed to return an entry.

Since:

3.0

getPuts

public long getPuts()

Returns the number of times put() has been called.

Since:

3.0

getRefreshes

public long getRefreshes()

Return the number of times the cache was entirely cleared, either manually via a JMX operation, or automatically after the cache's refresh period expired.