}
}
private LinkedList buildElementInfo( String cacheName ) throws Exception
{
CompositeCache cache =
( CompositeCache ) cacheHub.getCache( cacheName );
Object[] keys = cache.getMemoryCache().getKeyArray();
Arrays.sort( keys );
LinkedList records = new LinkedList();
ICacheElement element;
IElementAttributes attributes;
CacheElementInfo elementInfo;
DateFormat format = DateFormat.getDateTimeInstance( DateFormat.SHORT,
DateFormat.SHORT );
long now = System.currentTimeMillis();
for ( int i = 0; i < keys.length; i++ )
{
element =
cache.getMemoryCache().getQuiet( (Serializable) keys[ i ] );
attributes = element.getElementAttributes();
elementInfo = new CacheElementInfo();