private final OpInstanceCache cache;
private int maxOpSize;
public Reader(DataInputStream in,int logVersion,int maxOpSize) {
this.logVersion = logVersion;
this.checksum = new PureJavaCrc32();
this.in = new DataInputStream(new CheckedInputStream(in, this.checksum));
this.cache = new OpInstanceCache();
this.maxOpSize = maxOpSize;
}