Package | Description |
---|---|
com.persistit |
Implements Persistit™'s core functionality.
|
com.persistit.policy |
Modifier and Type | Method and Description |
---|---|
SplitPolicy |
Persistit.getDefaultSplitPolicy() |
SplitPolicy |
Configuration.getSplitPolicy()
Return the value defined by
Configuration.setSplitPolicy(java.lang.String) . |
Modifier and Type | Method and Description |
---|---|
void |
Persistit.setDefaultSplitPolicy(SplitPolicy policy)
Replace the current default
SplitPolicy . |
void |
Exchange.setSplitPolicy(SplitPolicy policy) |
void |
Configuration.setSplitPolicy(SplitPolicy splitPolicy)
Set the default policy for balancing content between two pages when a
page is split.
|
Modifier and Type | Field and Description |
---|---|
static SplitPolicy |
SplitPolicy.EVEN_BIAS
Allocate as records evenly between left and right pages
|
static SplitPolicy |
SplitPolicy.LEFT_BIAS
Allocate as many records as possible to the left page
|
static SplitPolicy |
SplitPolicy.LEFT90_BIAS
Allocate all records to the left page until it is about 90% full, then
allocate remaining records to the right page.
|
static SplitPolicy |
SplitPolicy.NICE_BIAS
Allocate about 2/3 of records to the left and 1/3 to the right page
|
static SplitPolicy |
SplitPolicy.PACK_BIAS
Equivalent to
LEFT90_BIAS or {RIGHT90_BIAS when records
are being inserted in sequential key order, otherwise equivalent to
NICE_BIAS |
static SplitPolicy |
SplitPolicy.RIGHT_BIAS
Allocate as many records as possible to the right page
|
static SplitPolicy |
SplitPolicy.RIGHT90_BIAS
Allocate all records to the right page until it is about 90% full, then
allocate remaining records to the right page.
|
Modifier and Type | Method and Description |
---|---|
static SplitPolicy |
SplitPolicy.forName(String name) |
Copyright © 2025 Open Identity Platform Community. All rights reserved.