Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
| Package | Description |
|---|---|
| com.aoindustries.util.persistent |
| Modifier and Type | Field and Description |
|---|---|
protected ProtectionLevel |
AbstractPersistentBuffer.protectionLevel |
| Modifier and Type | Method and Description |
|---|---|
ProtectionLevel |
PersistentBuffer.getProtectionLevel()
Gets the protection level currently enforced by the buffer.
|
ProtectionLevel |
AbstractPersistentBuffer.getProtectionLevel() |
ProtectionLevel |
PersistentBlockBuffer.getProtectionLevel()
Gets the protection level currently implemented by the buffer.
|
ProtectionLevel |
AbstractPersistentBlockBuffer.getProtectionLevel() |
static ProtectionLevel |
ProtectionLevel.valueOf(String name)
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 Type | Method and Description |
|---|---|
static PersistentBuffer |
PersistentCollections.getPersistentBuffer(RandomAccessFile raf,
ProtectionLevel protectionLevel,
long maximumCapacity)
Selects the most efficient
PersistentBuffer for the current
machine and the provided maximum buffer size. |
| Constructor and Description |
|---|
AbstractPersistentBuffer(ProtectionLevel protectionLevel) |
LargeMappedPersistentBuffer(File file,
ProtectionLevel protectionLevel)
Creates a buffer.
|
LargeMappedPersistentBuffer(RandomAccessFile raf,
ProtectionLevel protectionLevel)
Creates a buffer using the provided
RandomAccessFile. |
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 provided
RandomAccessFile. |
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 provided
RandomAccessFile. |
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.
|
Copyright © 2000–2016 AO Industries, Inc.. All rights reserved.