Class RandomAccessFileBuffer

java.lang.Object
com.aoapps.persistence.AbstractPersistentBuffer
com.aoapps.persistence.RandomAccessFileBuffer
All Implemented Interfaces:
PersistentBuffer, Closeable, AutoCloseable

public class RandomAccessFileBuffer extends AbstractPersistentBuffer
Uses RandomAccessFile for persistence. Obtains a shared lock on the channel for read-only mode or an exclusive lock for write mode. The lock is held until the buffer is closed.
Author:
AO Industries, Inc.