Package org.exoplatform.services.cache
Interface CacheInfo
-
- All Known Implementing Classes:
ListenerContext
public interface CacheInfoProvides information about a cache.- Version:
- $Revision$
- Author:
- Julien Viet
- eXo level API
- Platform
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetLiveTime()Returns the cache entry life time in seconds.intgetMaxSize()Returns the cache max size.StringgetName()Returns the cache name.intgetSize()Returns the cache size.
-
-
-
Method Detail
-
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
-
-