Beispiel #1
0
 @Override
 public void add(final ValueCache cache) {
   for (final byte[] key : cache) {
     final IntList vals = cache.ids(key);
     if (!vals.isEmpty()) add(key, vals.sort().finish());
   }
   finish();
 }
Beispiel #2
0
 @Override
 public void delete(final ValueCache cache) {
   for (final byte[] key : cache) {
     delete(key, cache.ids(key).sort().finish());
   }
 }