2 * Firebird ADO.NET Data provider for .NET and Mono
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
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.
15 * Copyright (c) 2002, 2005 Carlos Guzman Alvarez
16 * All Rights Reserved.
21 namespace FirebirdSql.Data.Firebird.Services
23 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/overview/*'/>
24 public struct FbServerConfig
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;
52 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="LockMemSize"]/*'/>
53 public int LockMemSize
55 get { return this.lockMemSize; }
56 set { this.lockMemSize = value; }
59 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="LockSemCount"]/*'/>
60 public int LockSemCount
62 get { return this.lockSemCount; }
63 set { this.lockSemCount = value; }
66 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="LockSignal"]/*'/>
69 get { return this.lockSignal; }
70 set { this.lockSignal = value; }
73 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="EventMemorySize"]/*'/>
74 public int EventMemorySize
76 get { return this.eventMemorySize; }
77 set { this.eventMemorySize = value; }
80 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="PrioritySwitchDelay"]/*'/>
81 public int PrioritySwitchDelay
83 get { return this.prioritySwitchDelay; }
84 set { this.prioritySwitchDelay = value; }
87 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="MinMemory"]/*'/>
90 get { return this.minMemory; }
91 set { this.minMemory = value; }
94 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="MaxMemory"]/*'/>
97 get { return this.maxMemory; }
98 set { this.maxMemory = value; }
101 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="LockGrantOrder"]/*'/>
102 public int LockGrantOrder
104 get { return this.lockGrantOrder; }
105 set { this.lockGrantOrder = value; }
108 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="AnyLockMemory"]/*'/>
109 public int AnyLockMemory
111 get { return this.anyLockMemory; }
112 set { this.anyLockMemory = value; }
115 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="AnyLockSemaphore"]/*'/>
116 public int AnyLockSemaphore
118 get { return this.anyLockSemaphore; }
119 set { this.anyLockSemaphore = value; }
122 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="AnyLockSignal"]/*'/>
123 public int AnyLockSignal
125 get { return this.anyLockSignal; }
126 set { this.anyLockSignal = value; }
129 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="AnyEventMemory"]/*'/>
130 public int AnyEventMemory
132 get { return this.anyEventMemory; }
133 set { this.anyEventMemory = value; }
136 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="LockHashSlots"]/*'/>
137 public int LockHashSlots
139 get { return this.lockHashSlots; }
140 set { this.lockHashSlots = value; }
143 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="DeadlockTimeout"]/*'/>
144 public int DeadlockTimeout
146 get { return this.deadlockTimeout; }
147 set { this.deadlockTimeout = value; }
150 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="LockRequireSpins"]/*'/>
151 public int LockRequireSpins
153 get { return this.lockRequireSpins; }
154 set { this.lockRequireSpins = value; }
157 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="ConnectionTimeout"]/*'/>
158 public int ConnectionTimeout
160 get { return this.connectionTimeout; }
161 set { this.connectionTimeout = value; }
164 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="DummyPacketInterval"]/*'/>
165 public int DummyPacketInterval
167 get { return this.dummyPacketInterval; }
168 set { this.dummyPacketInterval = value; }
171 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="IpcMapSize"]/*'/>
172 public int IpcMapSize
174 get { return this.ipcMapSize; }
175 set { this.ipcMapSize = value; }
178 /// <include file='Doc/en_EN/FbService.xml' path='doc/struct[@name="FbServerConfig"]/field[@name="DefaultDbCachePages"]/*'/>
179 public int DefaultDbCachePages
181 get { return this.defaultDbCachePages; }
182 set { this.defaultDbCachePages = value; }