Uses of Enum
com.aoapps.persistence.ProtectionLevel
-
Uses of ProtectionLevel in com.aoapps.persistence
Modifier and TypeFieldDescriptionprotected final ProtectionLevel
AbstractPersistentBuffer.protectionLevel
Modifier and TypeMethodDescriptionAbstractPersistentBlockBuffer.getProtectionLevel()
AbstractPersistentBuffer.getProtectionLevel()
PersistentBlockBuffer.getProtectionLevel()
Gets the protection level currently implemented by the buffer.PersistentBuffer.getProtectionLevel()
Gets the protection level currently enforced by the buffer.static ProtectionLevel
Returns the enum constant of this type with the specified name.static ProtectionLevel[]
ProtectionLevel.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic PersistentBuffer
PersistentCollections.getPersistentBuffer
(RandomAccessFile raf, ProtectionLevel protectionLevel, long maximumCapacity) Selects the most efficientPersistentBuffer
for the current machine and the provided maximum buffer size.ModifierConstructorDescriptionprotected
AbstractPersistentBuffer
(ProtectionLevel protectionLevel) LargeMappedPersistentBuffer
(File file, ProtectionLevel protectionLevel) Creates a buffer.LargeMappedPersistentBuffer
(RandomAccessFile raf, ProtectionLevel protectionLevel) Creates a buffer using the providedRandomAccessFile
.LargeMappedPersistentBuffer
(String name, ProtectionLevel protectionLevel) Creates a buffer.MappedPersistentBuffer
(File file, ProtectionLevel protectionLevel) Creates a buffer.MappedPersistentBuffer
(RandomAccessFile raf, ProtectionLevel protectionLevel) Creates a buffer using the providedRandomAccessFile
.MappedPersistentBuffer
(String name, ProtectionLevel protectionLevel) Creates a buffer.RandomAccessFileBuffer
(File file, ProtectionLevel protectionLevel) Creates a buffer.RandomAccessFileBuffer
(RandomAccessFile raf, ProtectionLevel protectionLevel) Creates a buffer using the providedRandomAccessFile
.RandomAccessFileBuffer
(String name, ProtectionLevel protectionLevel) Creates a buffer.TwoCopyBarrierBuffer
(File file, ProtectionLevel protectionLevel) Creates a buffer.TwoCopyBarrierBuffer
(File file, ProtectionLevel protectionLevel, int sectorSize, long asynchronousCommitDelay, long synchronousCommitDelay) Creates a buffer.TwoCopyBarrierBuffer
(String name, ProtectionLevel protectionLevel) Creates a buffer.