//-----------------------------------------------------------------------
// 
//     Copyright (c) Microsoft Corporation.
// 
//-----------------------------------------------------------------------
namespace Microsoft.Isam.Esent.Interop.Windows7
{
    /// 
    /// System parameters that have been added to the Windows 7 version of ESENT.
    /// 
    public static class Windows7Param
    {
        /// 
        /// This parameter sets the number of logs that esent will defer database
        /// flushes for. This can be used to increase database recoverability if
        /// failures cause logfiles to be lost.
        /// 
        public const JET_param WaypointLatency = (JET_param)153;
        /// 
        /// Turn on/off automatic sequential B-tree defragmentation tasks (On by 
        /// default, but also requires  flags / .RetrieveHintTableScan* 
        /// to trigger on any given tables).
        /// 
        public const JET_param DefragmentSequentialBTrees = (JET_param)160;
        /// 
        /// Determine how frequently B-tree density is checked (Note: currently not
        /// implemented).
        /// 
        public const JET_param DefragmentSequentialBTreesDensityCheckFrequency = (JET_param)161;
        /// 
        /// This parameter is used to retrieve the chunk size of long-value
        /// (blob) data. Setting and retrieving data in multiples of this 
        /// size increases efficiency.
        /// 
        public const JET_param LVChunkSizeMost = (JET_param)163;
        /// 
        /// Maximum number of bytes that can be grouped for a coalesced read operation.
        /// 
        public const JET_param MaxCoalesceReadSize = (JET_param)164;
        /// 
        /// Maximum number of bytes that can be grouped for a coalesced write operation.
        /// 
        public const JET_param MaxCoalesceWriteSize = (JET_param)165;
        /// 
        /// Maximum number of bytes that can be gapped for a coalesced read IO operation.
        /// 
        public const JET_param MaxCoalesceReadGapSize = (JET_param)166;
        /// 
        /// Maximum number of bytes that can be gapped for a coalesced write IO operation.
        /// 
        public const JET_param MaxCoalesceWriteGapSize = (JET_param)167;
        /// 
        /// Enable Database Maintenance during recovery.
        /// 
        public const JET_param EnableDbScanInRecovery = (JET_param)169;
        /// 
        /// Throttling of the database scan, in milliseconds.
        /// 
        public const JET_param DbScanThrottle = (JET_param)170;
        /// 
        /// Minimum interval to repeat the database scan, in seconds.
        /// 
        public const JET_param DbScanIntervalMinSec = (JET_param)171;
        /// 
        /// Maximum interval to allow the database scan to finish, in seconds.
        /// 
        public const JET_param DbScanIntervalMaxSec = (JET_param)172;
    }
}