* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / FirebirdSql.Data.Firebird / FirebirdSql.Data.Firebird / Services / FbServerConfig.cs
1 /*
2  *      Firebird ADO.NET Data provider for .NET and Mono 
3  * 
4  *         The contents of this file are subject to the Initial 
5  *         Developer's Public License Version 1.0 (the "License"); 
6  *         you may not use this file except in compliance with the 
7  *         License. You may obtain a copy of the License at 
8  *         http://www.firebirdsql.org/index.php?op=doc&id=idpl
9  *
10  *         Software distributed under the License is distributed on 
11  *         an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either 
12  *         express or implied. See the License for the specific 
13  *         language governing rights and limitations under the License.
14  * 
15  *      Copyright (c) 2002, 2005 Carlos Guzman Alvarez
16  *      All Rights Reserved.
17  */
18
19 using System;
20
21 namespace FirebirdSql.Data.Firebird.Services
22 {
23         /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/overview/*'/>
24         public struct FbServerConfig
25         {
26                 #region Fields
27
28                 private int lockMemSize;
29                 private int lockSemCount;
30                 private int lockSignal;
31                 private int eventMemorySize;
32                 private int prioritySwitchDelay;
33                 private int minMemory;
34                 private int maxMemory;
35                 private int lockGrantOrder;
36                 private int anyLockMemory;
37                 private int anyLockSemaphore;
38                 private int anyLockSignal;
39                 private int anyEventMemory;
40                 private int lockHashSlots;
41                 private int deadlockTimeout;
42                 private int lockRequireSpins;
43                 private int connectionTimeout;
44                 private int dummyPacketInterval;
45                 private int ipcMapSize;
46                 private int defaultDbCachePages;
47
48                 #endregion
49
50                 #region Properties
51
52                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="LockMemSize"]/*'/>
53                 public int LockMemSize
54                 {
55                         get { return this.lockMemSize; }
56                         set { this.lockMemSize = value; }
57                 }
58
59                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="LockSemCount"]/*'/>
60                 public int LockSemCount
61                 {
62                         get { return this.lockSemCount; }
63                         set { this.lockSemCount = value; }
64                 }
65
66                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="LockSignal"]/*'/>
67                 public int LockSignal
68                 {
69                         get { return this.lockSignal; }
70                         set { this.lockSignal = value; }
71                 }
72
73                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="EventMemorySize"]/*'/>
74                 public int EventMemorySize
75                 {
76                         get { return this.eventMemorySize; }
77                         set { this.eventMemorySize = value; }
78                 }
79
80                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="PrioritySwitchDelay"]/*'/>
81                 public int PrioritySwitchDelay
82                 {
83                         get { return this.prioritySwitchDelay; }
84                         set { this.prioritySwitchDelay = value; }
85                 }
86
87                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="MinMemory"]/*'/>
88                 public int MinMemory
89                 {
90                         get { return this.minMemory; }
91                         set { this.minMemory = value; }
92                 }
93
94                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="MaxMemory"]/*'/>
95                 public int MaxMemory
96                 {
97                         get { return this.maxMemory; }
98                         set { this.maxMemory = value; }
99                 }
100
101                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="LockGrantOrder"]/*'/>
102                 public int LockGrantOrder
103                 {
104                         get { return this.lockGrantOrder; }
105                         set { this.lockGrantOrder = value; }
106                 }
107
108                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="AnyLockMemory"]/*'/>
109                 public int AnyLockMemory
110                 {
111                         get { return this.anyLockMemory; }
112                         set { this.anyLockMemory = value; }
113                 }
114
115                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="AnyLockSemaphore"]/*'/>
116                 public int AnyLockSemaphore
117                 {
118                         get { return this.anyLockSemaphore; }
119                         set { this.anyLockSemaphore = value; }
120                 }
121
122                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="AnyLockSignal"]/*'/>
123                 public int AnyLockSignal
124                 {
125                         get { return this.anyLockSignal; }
126                         set { this.anyLockSignal = value; }
127                 }
128
129                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="AnyEventMemory"]/*'/>
130                 public int AnyEventMemory
131                 {
132                         get { return this.anyEventMemory; }
133                         set { this.anyEventMemory = value; }
134                 }
135
136                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="LockHashSlots"]/*'/>
137                 public int LockHashSlots
138                 {
139                         get { return this.lockHashSlots; }
140                         set { this.lockHashSlots = value; }
141                 }
142
143                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="DeadlockTimeout"]/*'/>
144                 public int DeadlockTimeout
145                 {
146                         get { return this.deadlockTimeout; }
147                         set { this.deadlockTimeout = value; }
148                 }
149
150                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="LockRequireSpins"]/*'/>
151                 public int LockRequireSpins
152                 {
153                         get { return this.lockRequireSpins; }
154                         set { this.lockRequireSpins = value; }
155                 }
156
157                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="ConnectionTimeout"]/*'/>
158                 public int ConnectionTimeout
159                 {
160                         get { return this.connectionTimeout; }
161                         set { this.connectionTimeout = value; }
162                 }
163
164                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="DummyPacketInterval"]/*'/>
165                 public int DummyPacketInterval
166                 {
167                         get { return this.dummyPacketInterval; }
168                         set { this.dummyPacketInterval = value; }
169                 }
170
171                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="IpcMapSize"]/*'/>
172                 public int IpcMapSize
173                 {
174                         get { return this.ipcMapSize; }
175                         set { this.ipcMapSize = value; }
176                 }
177
178                 /// <include file='Doc/en_EN/FbService.xml'     path='doc/struct[@name="FbServerConfig"]/field[@name="DefaultDbCachePages"]/*'/>
179                 public int DefaultDbCachePages
180                 {
181                         get { return this.defaultDbCachePages; }
182                         set { this.defaultDbCachePages = value; }
183                 }
184
185
186                 #endregion
187         }
188 }