|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.planx.xmlstore.regions.RegionConfiguration
public class RegionConfiguration
| Field Summary | |
|---|---|
int |
CACHE_SIZE
Maximum number of regions to keep in the memory cache. |
boolean |
DO_SHARE_NEW
If true new regions will be compacted before saving. |
boolean |
ENABLE_SHARER
If true the sharer will run as a background thread. |
int |
POLICY
If POLICY_INSTANCE is null the value of a
default policy as defined in the static fields of this class. |
static int |
POLICY_FIRST
|
CanonicPolicy |
POLICY_INSTANCE
An implementation of a canonical node chooseing policy. |
static int |
POLICY_LEAST_INTER_REGION
|
int |
REGION_SIZE
Minimum region size in bytes. |
long |
SHARER_PERIOD
If the sharer is enabled, the number of milli seconds between invocations. |
boolean |
USE_HASH_SHARER
If true a hash sharer will be used instead of MSD. |
| Constructor Summary | |
|---|---|
RegionConfiguration()
|
|
| Method Summary | |
|---|---|
static RegionConfiguration |
environmentConfiguration()
Returns a RegionConfiguration with values of fields filled
in from environment properties with corresponding names. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int POLICY_FIRST
public static final int POLICY_LEAST_INTER_REGION
public int REGION_SIZE
public int CACHE_SIZE
public boolean USE_HASH_SHARER
true a hash sharer will be used instead of MSD.
public boolean DO_SHARE_NEW
true new regions will be compacted before saving.
public boolean ENABLE_SHARER
true the sharer will run as a background thread.
public long SHARER_PERIOD
public CanonicPolicy POLICY_INSTANCE
null to choose using POLICY instead.
public int POLICY
POLICY_INSTANCE is null the value of a
default policy as defined in the static fields of this class.
| Constructor Detail |
|---|
public RegionConfiguration()
| Method Detail |
|---|
public static RegionConfiguration environmentConfiguration()
RegionConfiguration with values of fields filled
in from environment properties with corresponding names.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||