class GBPTree implements Closeable {

    public void checkpoint( IOLimiter ioLimiter, Consumer<PageCursor> headerWriter )
    {
        try
        {
            checkpoint( ioLimiter, replace( headerWriter ) );
        }
        catch ( IOException e )
        {
            throw new UncheckedIOException( e );
        }
    }

    public  GBPTree( PageCache pageCache, File indexFile, Layout<KEY,VALUE> layout, int tentativePageSize,
            Monitor monitor, Header.Reader headerReader, Consumer<PageCursor> headerWriter,
            RecoveryCleanupWorkCollector recoveryCleanupWorkCollector, boolean readOnly );

}