Configuration parameters used to determine locations of files, sizes of buffer pool and journal allocation, policies and other parameters required during Persistit initialization.
An application can construct and set up a Configuration using setXXX methods directly. Alternatively, the configuration can be specified in a set of properties that are read and interpreted by the Configuration. This object is used directly or indirectly by the following methods:
Configuration directly.Configuration from the supplied Properties.Configuration from the loaded Properties. Configuration from the loaded Properties. When parsing Properties values this class implements a simple substitution mechanism so that, for example, a common directory path may be referenced by multiple properties as shown here: In this example the property named datapath = /var/lib/persistit journalpath = ${datapath}/akiban_journal volume.1=${datapath}/hwdemo,create,pageSize:16K,\ initialSize:10M,extensionSize:10M,maximumSize:1G datapath has no special meaning other than as a substitution parameter.
| |