Interface CacheInfo

All Known Implementing Classes:
ListenerContext

public interface CacheInfo
Provides information about a cache.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the cache entry life time in seconds.
    int
    Returns the cache max size.
    Returns the cache name.
    int
    Returns the cache size.
  • Method Details

    • getName

      String getName()
      Returns the cache name.
      Returns:
      the cache name
    • getMaxSize

      int getMaxSize()
      Returns the cache max size.
      Returns:
      the max size
    • getLiveTime

      long getLiveTime()
      Returns the cache entry life time in seconds.
      Returns:
      the life time
    • getSize

      int getSize()
      Returns the cache size.
      Returns:
      the size