14 lines
447 B
Java
14 lines
447 B
Java
package org.warp.jcwdb;
|
|
|
|
import java.io.IOException;
|
|
|
|
public interface IndexManager extends Cleanable {
|
|
<T> T get(long index, DBReader<T> reader) throws IOException;
|
|
int getType(long index) throws IOException;
|
|
<T> long add(DBDataOutput<T> writer) throws IOException;
|
|
<T> void set(long index, DBDataOutput<T> writer) throws IOException;
|
|
void delete(long index) throws IOException;
|
|
boolean has(long index);
|
|
void close() throws IOException;
|
|
}
|