git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6978 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 15 years ago
parent 22dbbcfa56
commit dec1419bc3

@ -92,7 +92,6 @@ public final class ConcurrentARC<K, V> implements ARC<K, V> {
for (ARC<K, V> a: this.arc) a.clear();
}
@Override
public final int size() {
int s = 0;
for (ARC<K, V> a: this.arc) s += a.size();

@ -125,7 +125,6 @@ public final class SimpleARC<K, V> implements ARC<K, V> {
* get the size of the ARC. this returns the sum of main and ghost cache
* @return the complete number of entries in the ARC cache
*/
@Override
public final synchronized int size() {
return this.levelA.size() + this.levelB.size();
}

Loading…
Cancel
Save