Skip to content

Commit

Permalink
Fix InstrumentedEhcache for Ehcache 2.5.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
codahale committed Nov 16, 2011
1 parent fd67e01 commit 10d5967
Showing 1 changed file with 45 additions and 0 deletions.
Expand Up @@ -627,6 +627,51 @@ public void loadAll(Collection keys, Object argument) throws CacheException {
cache.loadAll(keys, argument);
}

@Override
public void unpinAll() {
cache.unpinAll();
}

@Override
public boolean isPinned(Object o) {
return cache.isPinned(o);
}

@Override
public void setPinned(Object o, boolean b) {
cache.setPinned(o, b);
}

@Override
public void putAll(Collection<Element> elements) throws IllegalArgumentException, IllegalStateException, CacheException {
cache.putAll(elements);
}

@Override
public Map<Object, Element> getAll(Collection<?> objects) throws IllegalStateException, CacheException, NullPointerException {
return cache.getAll(objects);
}

@Override
public void removeAll(Collection<?> objects) throws IllegalStateException, NullPointerException {
cache.removeAll(objects);
}

@Override
public void removeAll(Collection<?> objects, boolean b) throws IllegalStateException, NullPointerException {
cache.removeAll(objects, b);
}

@Override
public long calculateOnDiskSize() throws IllegalStateException, CacheException {
return cache.calculateOnDiskSize();
}

@Override
public boolean hasAbortedSizeOf() {
return cache.hasAbortedSizeOf();
}

@Override
public void put(Element element) throws IllegalArgumentException, IllegalStateException, CacheException {
final long start = System.nanoTime();
Expand Down

0 comments on commit 10d5967

Please sign in to comment.