|
|
|
@ -191,7 +191,7 @@ public class SplitTable implements ObjectIndex, Iterable<Row.Entry> {
|
|
|
|
|
while (i.hasNext()) {
|
|
|
|
|
entry = i.next();
|
|
|
|
|
ram = entry.getValue().longValue();
|
|
|
|
|
if (ram > maxram) {
|
|
|
|
|
if (maxf == null || ram > maxram) {
|
|
|
|
|
maxf = entry.getKey();
|
|
|
|
|
maxram = ram;
|
|
|
|
|
}
|
|
|
|
@ -199,7 +199,6 @@ public class SplitTable implements ObjectIndex, Iterable<Row.Entry> {
|
|
|
|
|
|
|
|
|
|
// open next biggest table
|
|
|
|
|
t.remove(maxf);
|
|
|
|
|
if (maxf != null) {
|
|
|
|
|
f = new File(path, maxf);
|
|
|
|
|
Log.logInfo("kelondroSplitTable", "opening partial eco table " + f);
|
|
|
|
|
try {
|
|
|
|
@ -209,7 +208,6 @@ public class SplitTable implements ObjectIndex, Iterable<Row.Entry> {
|
|
|
|
|
}
|
|
|
|
|
tables.put(maxf, table);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// init the thread pool for the keeperOf executor service
|
|
|
|
|
this.executor = new ThreadPoolExecutor(
|
|
|
|
|