Device defines an eXtremeDB memory device.
public abstract static class Device
{
public enum Kind
{
Data,
DiskCache,
TransactionLog,
AsyncBuffer,
PipeBuffer
};
protected Device(Kind kind)
{
this.kind = kind.ordinal();
}
int kind;
};
All memory device instances are of a specific subclass of Device whose constructor provides the enumerated value of kind defined as follows:
Data
|
Used for database data (disk or memory) |
DiskCache
|
Used for the disk cache |
TransactionLog
|
Used for the transaction log |
AsyncBuffer
|
Used as the asynchronous buffer for eXtremeDB High Availability applications |
PipeBuffer
|
Used as the pipe buffer for eXtremeDB Transaction Logging applications |