eXo Kernel :: Component :: Cache Service 2.5.0-Alpha4

org.exoplatform.services.cache
Interface CacheInfo

All Known Implementing Classes:
ListenerContext

public interface CacheInfo

Provides information about a cache.

Version:
$Revision$
Author:
Julien Viet

Method Summary
 long getLiveTime()
          Returns the cache entry life time in seconds.
 int getMaxSize()
          Returns the cache max size.
 String getName()
          Returns the cache name.
 int getSize()
          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

eXo Kernel :: Component :: Cache Service 2.5.0-Alpha4

Copyright © 2014 eXo Platform SAS. All Rights Reserved.