cache = CacheBuilder.newBuilder()
.maximumSize(tableCacheSize)
.removalListener(new RemovalListener<Long, TableAndFile>() {
public void onRemoval(RemovalNotification<Long, TableAndFile> notification) {
Table table = notification.getValue().getTable();
finalizer.addCleanup(table, table.closer());
}
})
.build(new CacheLoader<Long, TableAndFile>() {
public TableAndFile load(Long fileNumber)
throws IOException {