1 8 9 package com.sleepycat.je.log; 10 11 import java.io.IOException ; 12 import java.nio.ByteBuffer ; 13 14 import com.sleepycat.je.DatabaseException; 15 16 20 public interface LogSource { 21 22 25 void release() throws DatabaseException; 26 27 31 ByteBuffer getBytes(long fileOffset) throws IOException ; 32 33 37 ByteBuffer getBytes(long fileOffset, int numBytes) 38 throws IOException ; 39 } 40 | Popular Tags |