org.neo4j.kernel.impl.nioneo.store
Interface PersistenceWindow


public interface PersistenceWindow

A persistence window encapsulates a part of the records (or blocks) in a store and makes it possible to read and write data to those records.


Method Summary
 void close()
           
 void force()
           
 Buffer getBuffer()
          Returns the underlying buffer to this persistence window.
 Buffer getOffsettedBuffer(long id)
           
 int getRecordSize()
           
 long position()
          Returns the current record/block position.
 int size()
          Returns the size of this window meaning the number of records/blocks it encapsulates.
 

Method Detail

getBuffer

Buffer getBuffer()
Returns the underlying buffer to this persistence window.

Returns:
The underlying buffer

getOffsettedBuffer

Buffer getOffsettedBuffer(long id)

getRecordSize

int getRecordSize()

position

long position()
Returns the current record/block position.

Returns:
The current position

size

int size()
Returns the size of this window meaning the number of records/blocks it encapsulates.

Returns:
The window size

force

void force()

close

void close()


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.