/** * Gets all the objects stored by the internal (L1) cache. * @return an enumeration of objects in internal cache. */ public Enumeration elements() { return _internal.elements(); }
/** * Gets all the objects stored by the internal (L1) cache. * @return an enumeration of objects in internal cache. */ public Enumeration elements() { return internal.elements(); }
/** * Gets all the objects stored by the internal (L1) cache. * @return an enumeration of objects in internal cache. */ public Enumeration elements() { return internal.elements(); }
/** * Update all dirty cache objects to the underlying RecordManager. */ protected void updateCacheEntries() throws IOException { Enumeration<CacheEntry> enume = cache.elements(); while ( enume.hasMoreElements() ) { CacheEntry entry = enume.nextElement(); if ( entry.isDirty ) { recMgr.update( entry.recid, entry.obj, entry.serializer ); entry.isDirty = false; } } }
/** * Update all dirty cache objects to the underlying RecordManager. */ protected void updateCacheEntries() throws IOException { Enumeration<CacheEntry> enume = cache.elements(); while ( enume.hasMoreElements() ) { CacheEntry entry = enume.nextElement(); if ( entry.isDirty ) { recordManager.update( entry.recid, entry.obj, entry.serializer ); entry.isDirty = false; } } }
/** * Update all dirty cache objects to the underlying RecordManager. */ protected void updateCacheEntries() throws IOException { Enumeration<CacheEntry> enume = cache.elements(); while ( enume.hasMoreElements() ) { CacheEntry entry = enume.nextElement(); if ( entry.isDirty ) { recordManager.update( entry.recid, entry.obj, entry.serializer ); entry.isDirty = false; } } }