/* (non-Javadoc)
* @see org.apache.excalibur.store.Store#free()
*/
public void free() {
// TODO Find a better way
MemoryCache memoryCache = this.cacheManager.getCache(region).getMemoryCache();
Object[] keys = memoryCache.getKeyArray();
if ( keys != null && keys.length > 0 ) {
final Object key = keys[0];
try {
memoryCache.remove((Serializable)key);
} catch (Exception ignore) {
}
}
}