package org.warp.jcwdb; import java.io.IOException; import java.util.function.BiConsumer; import java.util.function.BiPredicate; import java.util.function.Consumer; public interface IndexManager extends Cleanable { T get(long index, DBReader reader) throws IOException; int getType(long index) throws IOException; long getHash(long index) throws IOException; long add(DBDataOutput writer) throws IOException; FullIndexDetails addAndGetDetails(DBDataOutput writer) throws IOException; IndexDetails set(long index, DBDataOutput writer) throws IOException; void setFlushingAllowed(long index, boolean isUnloadingAllowed); void delete(long index) throws IOException; boolean has(long index); void close() throws IOException; }