-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFigaroConfigSchema.xsd
More file actions
775 lines (774 loc) · 33.8 KB
/
FigaroConfigSchema.xsd
File metadata and controls
775 lines (774 loc) · 33.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
<?xml version="1.0"?>
<xs:schema xmlns:tns="http://schemas.bdbxml.net/configuration/6.0/CDS" elementFormDefault="qualified" targetNamespace="http://schemas.bdbxml.net/configuration/6.0/CDS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:simpleType name="ManagerInitOptions">
<xs:list>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="AllowExternalAccess"/>
<xs:enumeration value="AllowAutoOpen" />
<xs:enumeration value="AdoptFigaroEnv" />
<xs:enumeration value="AllOptions" />
</xs:restriction>
</xs:simpleType>
</xs:list>
</xs:simpleType>
<xs:simpleType name="DeadlockDetectType">
<xs:restriction base="xs:string">
<xs:enumeration value="Default"/>
<xs:enumeration value="Expir"/>
<xs:enumeration value="MaxLocks"/>
<xs:enumeration value="MaxWrite"/>
<xs:enumeration value="MinLocks"/>
<xs:enumeration value="MinWrite"/>
<xs:enumeration value="Oldest"/>
<xs:enumeration value="Random"/>
<xs:enumeration value="Youngest"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="EnvOpenOptions">
<xs:list>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="InitLock"/>
<xs:enumeration value="Create"/>
<xs:enumeration value="UseEnvironment"/>
<xs:enumeration value="UseEnvironmentRoot"/>
<xs:enumeration value="Thread"/>
<xs:enumeration value="SystemSharedMem"/>
<xs:enumeration value="Private"/>
<xs:enumeration value="InitConcurrentDataStore"/>
<xs:enumeration value="Lockdown"/>
<xs:enumeration value="InitMemoryBufferPool"/>
<xs:enumeration value="ConcurrentDataStoreDefaults"/>
</xs:restriction>
</xs:simpleType>
</xs:list>
</xs:simpleType>
<xs:simpleType name="EnvConfigOptions">
<xs:restriction base="xs:string">
<xs:enumeration value="AllConcurrentDatabases"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="LogConfigurationCategory">
<xs:list>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="None"/>
<xs:enumeration value="Indexer"/>
<xs:enumeration value="Query"/>
<xs:enumeration value="Optimizer"/>
<xs:enumeration value="Dictionary"/>
<xs:enumeration value="Container"/>
<xs:enumeration value="NodeStore"/>
<xs:enumeration value="XmlManager"/>
<xs:enumeration value="All"/>
</xs:restriction>
</xs:simpleType>
</xs:list>
</xs:simpleType>
<xs:simpleType name="LogConfigurationLevel">
<xs:restriction base="xs:string">
<xs:enumeration value="None"/>
<xs:enumeration value="Debug"/>
<xs:enumeration value="Info"/>
<xs:enumeration value="Warning"/>
<xs:enumeration value="Error" />
<xs:enumeration value="All" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ConfigurationState">
<xs:restriction base="xs:string">
<xs:enumeration value="On"/>
<xs:enumeration value="Off"/>
<xs:enumeration value="UseDefault"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="XmlContainerType">
<xs:restriction base="xs:string">
<xs:enumeration value="NodeContainer"/>
<xs:enumeration value="WholeDocContainer"/>
</xs:restriction>
</xs:simpleType>
<!-- Query elements BEGIN -->
<xs:complexType name="Figaro.Configuration.VariableElementCT">
<xs:attribute name="name" type="xs:string" use="required" >
<xs:annotation>
<xs:documentation>Gets or sets the variable name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
Gets or sets the variable value.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.VariableElementCollectionCT">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Variables used by the XQuery expression.</xs:documentation>
</xs:annotation>
<xs:element name="add" type="tns:Figaro.Configuration.VariableElementCT" />
<xs:element name="remove" type="tns:Figaro.Configuration.VariableElementCT" />
<xs:element name="clear" maxOccurs="1" />
</xs:choice>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.QueryElementCT">
<xs:sequence>
<xs:element minOccurs="0" name="Namespaces" type="tns:Figaro.Configuration.NamespaceElementCollectionCT">
<xs:annotation>
<xs:documentation>The namespaces used by the query expression.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Variables" type="tns:Figaro.Configuration.VariableElementCollectionCT">
<xs:annotation>
<xs:documentation>The variables used by the query expression.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="name" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>The Name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="queryPath" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Gets or sets the path to the XQuery module to execute.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="prepare" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether to prepare a query before executing.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.QueryCollectionElementCT">
<xs:sequence maxOccurs="unbounded" minOccurs="0">
<xs:element name="Query" type="tns:Figaro.Configuration.QueryElementCT" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.NamespaceElementCollectionCT">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Namespaces used by the XQuery expression.</xs:documentation>
</xs:annotation>
<xs:element name="add" type="tns:Figaro.Configuration.NamespaceElementCT" />
<xs:element name="remove" type="tns:Figaro.Configuration.NamespaceElementCT" />
<xs:element name="clear" maxOccurs="1" />
</xs:choice>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.NamespaceElementCT">
<xs:attribute name="prefix" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>Gets or sets the namespace prefix.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Gets or sets the namespace value.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Query elements END -->
<xs:element name="Figaro" type="tns:Figaro.Configuration.FigaroSectionCT" />
<xs:complexType name="Figaro.Configuration.FigaroSectionCT">
<xs:all>
<xs:element minOccurs="0" name="Environments" type="tns:Figaro.Configuration.EnvElementCollectionCT">
<xs:annotation>
<xs:documentation>Gets or sets the environment element collection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Managers" type="tns:Figaro.Configuration.ManagerElementCollectionCT">
<xs:annotation>
<xs:documentation>Gets or sets the manager element collection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="DefaultContainerSettings" type="tns:Figaro.Configuration.DefaultContainerElementCT">
<xs:annotation>
<xs:documentation>Default container settings set at the assembly level.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.EnvElementCollectionCT">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="FigaroEnv" type="tns:Figaro.Configuration.FigaroEnvElementCT">
<xs:annotation>
<xs:documentation>Configure a FigaroEnv instance.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.ManagerElementCollectionCT">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="XmlManager" type="tns:Figaro.Configuration.ManagerElementCT">
<xs:annotation>
<xs:documentation>Configuration properties for an XmlManager instance.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.ContainerElementCollectionCT">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Container" type="tns:Figaro.Configuration.ContainerElementCT">
<xs:annotation>
<xs:documentation>The configuration properties for opening and/or creating a Container object.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.FigaroEnvElementCT">
<xs:all>
<xs:element minOccurs="0" name="DataDirectories" type="tns:Figaro.Configuration.DataDirectoryElementCollectionCT">
<xs:annotation>
<xs:documentation>Gets or sets the collection of data directories used by the FigaroEnv instance.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Tracing" type="tns:Figaro.Configuration.TraceConfigurationElementCT">
<xs:annotation>
<xs:documentation>Gets or sets tracing configuration for the Figaro XML Database environment.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Encryption" type="tns:Figaro.Configuration.EncryptionElementCT">
<xs:annotation>
<xs:documentation>Gets or sets the encryption settings for the configured environment instance.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="MemoryFileMap" type="tns:Figaro.Configuration.MemoryFileMapElementCT">
<xs:annotation>
<xs:documentation>Gets or sets the memory file map settings for the FigaroEnv instance.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Cache" type="tns:Figaro.Configuration.CacheElementCT">
<xs:annotation>
<xs:documentation>Gets or sets the Cache configuration settings for the configured environment instance.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="CacheMax" type="tns:Figaro.Configuration.CacheMaxElementCT">
<xs:annotation>
<xs:documentation>Gets or sets the maximum cache configuration for the environment instance.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Open" type="tns:Figaro.Configuration.OpenElementCT">
<xs:annotation>
<xs:documentation>The Open.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="TempDirectory" type="tns:Figaro.Configuration.TempDirectoryElementCT">
<xs:annotation>
<xs:documentation>Gets or sets the temporary directory settings for the configured environment instance.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Locking" type="tns:Figaro.Configuration.LockingElementCT">
<xs:annotation>
<xs:documentation>Gets or sets the locking subsystem configuration settings.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Mutex" type="tns:Figaro.Configuration.MutexElementCT">
<xs:annotation>
<xs:documentation>Gets or sets advanced environment mutex configuration settings.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="EnvConfig" type="tns:Figaro.Configuration.EnvConfigElementCollectionCT">
<xs:annotation>
<xs:documentation>Gets or sets the collection of environment configuration settings to enable or disable.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
<xs:attribute name="name" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>The environment configuration instance name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="threadCount" use="optional" type="xs:byte">
<xs:annotation>
<xs:documentation>The estimated thread count for the FigaroEnv instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.DataDirectoryElementCollectionCT">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Directory" type="tns:Figaro.Configuration.DataDirectoryElementCT">
<xs:annotation>
<xs:documentation>The configuration element containing data directory paths to configure for the configured Figaro object instances.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.DataDirectoryElementCT">
<xs:sequence>
</xs:sequence>
<xs:attribute name="path" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>Gets or sets the data directory to add.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="create" default="false" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Gets/sets whether to create the directories if they don't exist.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.ManagerElementCT">
<xs:all>
<xs:element minOccurs="0" name="DefaultContainerSettings" type="tns:Figaro.Configuration.DefaultContainerElementCT">
<xs:annotation>
<xs:documentation>The default container settings.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Containers" type="tns:Figaro.Configuration.ContainerElementCollectionCT">
<xs:annotation>
<xs:documentation>Gets or sets the container element collection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" type="tns:Figaro.Configuration.QueryCollectionElementCT" name="Queries">
<xs:annotation>
<xs:documentation>
Queries created and associated with the manager.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
<xs:attribute name="name" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>Gets the name of the XmlManager configuration instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="env" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Gets or sets the name of a configured environment instance to use in the manager instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="options" use="optional" type="tns:ManagerInitOptions">
<xs:annotation>
<xs:documentation>Gets or sets manager initialization options.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="defaultContainerType" use="optional" type="tns:XmlContainerType">
<xs:annotation>
<xs:documentation>Gets or sets the default container type (Node or Wholedoc) when creating new containers</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="defaultPageSize" use="optional" type="xs:int">
<xs:annotation>
<xs:documentation>Gets or sets the default page size, in bytes, for containers created by this manager instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="defaultSequenceIncrement" use="optional" type="xs:int">
<xs:annotation>
<xs:documentation>Gets or sets the default integer increment used when pre-allocating IDs at document creation.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.ContainerElementCT">
<xs:sequence>
</xs:sequence>
<xs:attribute name="name" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>Gets the name of the Container configuration instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="alias" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Gets or sets the container alias used in XQuery expressions.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="compression" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether compression is enabled for the container.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sequenceIncrement" use="optional" type="xs:unsignedInt">
<xs:annotation>
<xs:documentation>Gets or sets the integer increment used when pre-allocating IDs at document creation.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="pageSize" use="optional" type="xs:unsignedInt">
<xs:annotation>
<xs:documentation>Gets or sets the container page size, in bytes.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="checksum" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether to do checksum verification of pages read into the cache from the backing file store. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="encrypted" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether to enable container encryption.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="allowValidation" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether to validate XML if it refers to a DTD or schema.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="statistics" use="optional" type="tns:ConfigurationState">
<xs:annotation>
<xs:documentation>Gets or sets whether to enable container statistics.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="indexNodes" use="optional" type="tns:ConfigurationState">
<xs:annotation>
<xs:documentation>Gets or sets whether or not to enable document or node indexing.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="allowCreate" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether a container can be created if it does not already exist.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="multiVersion" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether the database will be opened with support for Multiversion concurrency control (MVCC). This will cause updates to the container to follow a copy-on-write protocol which is required to support snapshot isolation. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="exclusiveCreate" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether or not to throw exceptions if the container already exists when trying to create another instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="noMMap" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether or not the container will be mapped to process memory.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="readOnly" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether the container is configured for read-only access.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="threaded" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether the container handle is free-threaded. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="containerType" use="optional" type="tns:XmlContainerType">
<xs:annotation>
<xs:documentation>Gets or sets the container type.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="path" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Gets or sets the path and name of the configured container.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.TraceConfigurationElementCT">
<xs:sequence>
</xs:sequence>
<xs:attribute name="errorPrefix" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>
Gets or sets the error prefix to use in the error logging.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="category" use="optional" type="tns:LogConfigurationCategory">
<xs:annotation>
<xs:documentation>Gets or sets the message category to trace.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="level" use="optional" type="tns:LogConfigurationLevel">
<xs:annotation>
<xs:documentation>Gets or sets the message severity to trace.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="messageFile" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Gets or sets the path and file name of the message trace file, if configured.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="errorFile" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Gets or sets the path and file name of the error trace file, if configured.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.EncryptionElementCT">
<xs:sequence>
</xs:sequence>
<xs:attribute name="enabled" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Enables or disables encryption.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="password" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>The password used to access the containers within the configured environment.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.MemoryFileMapElementCT">
<xs:sequence>
</xs:sequence>
<xs:attribute name="maxFileMapSize" use="optional" type="xs:unsignedInt">
<xs:annotation>
<xs:documentation>Gets or sets the maximum size, in bytes, for the memory file configuration.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxFileDescriptors" use="optional" type="xs:unsignedInt">
<xs:annotation>
<xs:documentation>The maximum number of file descriptors that can be concurrently opened by the library when flushing dirty pages from the cache.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxWriteOperations" use="optional" type="xs:unsignedInt">
<xs:annotation>
<xs:documentation>The maximum number of concurrent write operations opened by the library when flushing dirty pages from the cache.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="writeSleep" use="optional" type="xs:unsignedInt">
<xs:annotation>
<xs:documentation>The number of microseconds a thread should pause before scheduling further write operations. </xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.CacheElementCT">
<xs:sequence>
</xs:sequence>
<xs:attribute name="bytes" use="optional" type="xs:int">
<xs:annotation>
<xs:documentation>Gets or sets the number of bytes in the cache.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="gigaBytes" use="optional" type="xs:int">
<xs:annotation>
<xs:documentation>Gets or sets the number of gigabytes in the cache.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="regions" use="optional" type="xs:int">
<xs:annotation>
<xs:documentation>Gets or sets the number of regions in a cache.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.CacheMaxElementCT">
<xs:sequence>
</xs:sequence>
<xs:attribute name="bytes" use="optional" type="xs:int">
<xs:annotation>
<xs:documentation>Gets or sets the maximum number of bytes in the environment cache.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="gigaBytes" use="optional" type="xs:int">
<xs:annotation>
<xs:documentation>Gets or sets the maximum number of gigabytes in the environment cache.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.OpenElementCT">
<xs:sequence>
</xs:sequence>
<xs:attribute name="options" use="required" type="tns:EnvOpenOptions">
<xs:annotation>
<xs:documentation>Gets or sets the options specified at environment open.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="home" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Gets or sets the environment's home directory.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="create" default="false" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Gets/sets whether to create the directory if it doesn't exist.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.TempDirectoryElementCT">
<xs:sequence>
</xs:sequence>
<xs:attribute name="path" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Gets or sets the path to the temporary directory used by the environment instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="create" default="false" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Gets/sets whether to create the directory if it doesn't exist.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.LockingElementCT">
<xs:sequence>
</xs:sequence>
<xs:attribute name="autoDetect" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets the deadlock detection policy used to auto-detect deadlocks within the environment.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="timeout" use="optional" type="xs:int">
<xs:annotation>
<xs:documentation>Gets or sets the deadlock timeout value, in microseconds.</xs:documentation>
</xs:annotation>
</xs:attribute>
<!--<xs:attribute name="detectType" use="optional" type="tns:DeadlockDetectType">
<xs:annotation>
<xs:documentation>Gets or sets the deadlock detection policy.</xs:documentation>
</xs:annotation>
</xs:attribute>-->
<xs:attribute name="maxLocks" use="optional" type="xs:unsignedInt">
<xs:annotation>
<xs:documentation>Gets or sets the maximum number of locks supported by the environment instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxLockers" use="optional" type="xs:int">
<xs:annotation>
<xs:documentation> Gets or sets the maximum number of locking entities supported by the environment instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxLockObjects" use="optional" type="xs:int">
<xs:annotation>
<xs:documentation>Gets or sets the maximum lock objects for the environment instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="partitions" use="optional" type="xs:int">
<xs:annotation>
<xs:documentation>Gets or sets the number of lock partitions for the environment instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.MutexElementCT">
<xs:sequence>
</xs:sequence>
<xs:attribute name="tasSpinCount" use="optional" type="xs:unsignedInt">
<xs:annotation>
<xs:documentation>Gets or sets the mutex test-and-set spin count.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="align" use="optional" type="xs:unsignedInt">
<xs:annotation>
<xs:documentation>Gets or sets mutex alignment.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="increment" use="optional" type="xs:unsignedInt">
<xs:annotation>
<xs:documentation>Gets or sets the mutex increment.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.EnvConfigElementCollectionCT">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="ConfigItem" type="tns:Figaro.Configuration.EnvConfigElementCT">
<xs:annotation>
<xs:documentation>The environment configuration setting instance.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.EnvConfigElementCT">
<xs:sequence>
</xs:sequence>
<xs:attribute name="setting" use="required" type="tns:EnvConfigOptions">
<xs:annotation>
<xs:documentation>Gets or sets the environment setting to enable or disable.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="enabled" use="required" type="xs:boolean">
<xs:annotation>
<xs:documentation>Enables or disables the environment setting.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Figaro.Configuration.DefaultContainerElementCT">
<xs:sequence>
</xs:sequence>
<xs:attribute name="compression" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets container compression.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sequenceIncrement" use="optional" type="xs:unsignedInt">
<xs:annotation>
<xs:documentation>Gets or sets the integer increment used when pre-allocating IDs at document creation.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="pageSize" use="optional" type="xs:unsignedInt">
<xs:annotation>
<xs:documentation>Gets or sets the container page size.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="checksum" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>The Checksum.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="readUncommitted" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets the ability to do dirty container reads.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="encrypted" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether the container is encrypted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="allowValidation" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether to validate XML if it refers to a DTD or schema.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="statistics" use="optional" type="tns:ConfigurationState">
<xs:annotation>
<xs:documentation>Gets or sets whether to enable container statistics.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="indexNodes" use="optional" type="tns:ConfigurationState">
<xs:annotation>
<xs:documentation>Gets or sets whether or not to enable document or node indexing.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="transactional" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether or not the container is configured for transactions.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="allowCreate" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether a container can be created if it does not already exist.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="multiVersion" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether the database will be opened with support for Multiversion concurrency control (MVCC). This will cause updates to the container to follow a copy-on-write protocol which is required to support snapshot isolation. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="exclusiveCreate" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether or not to throw exceptions if the container already exists when trying to create another instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="noMMap" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether or not the container will be mapped to process memory.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="threaded" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether the container handle is free-threaded. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="readOnly" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets whether the container is configured for read-only access.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="transactionNotDurable" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets transaction durability.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="containerType" use="optional" type="tns:XmlContainerType">
<xs:annotation>
<xs:documentation>Gets or sets the container type.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:schema>