org.mapdb.volume / ReadOnlyVolumeFactory

ReadOnlyVolumeFactory

class ReadOnlyVolumeFactory : VolumeFactory

Wraps volume factory and returns volume as readonly



Constructors

<init> ReadOnlyVolumeFactory(volfab: VolumeFactory)

Wraps volume factory and returns volume as readonly

Properties

volfab val volfab: VolumeFactory

Functions

exists fun exists(file: String?): Boolean
handlesReadonly fun handlesReadonly(): Boolean
makeVolume fun makeVolume(file: String?, readOnly: Boolean, fileLockWait: Long, sliceShift: Int, initSize: Long, fixedSize: Boolean): Volume?

Inherited Functions

makeVolume open fun makeVolume(file: String, readOnly: Boolean): Volume
open fun makeVolume(file: String, readOnly: Boolean, fileLockWait: Long): Volume