-
Notifications
You must be signed in to change notification settings - Fork 13
/
cache-config.xsd
1975 lines (1654 loc) · 66.2 KB
/
cache-config.xsd
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
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!--
Copyright (c) 2000, 2022, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at
http://oss.oracle.com/licenses/upl.
-->
<xs:schema xmlns="http://schemas.tangosol.com/cache"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://schemas.tangosol.com/cache"
elementFormDefault="qualified">
<xs:annotation>
<xs:documentation>
Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademarks of Oracle Corporation and/or its affiliates.
This software is the confidential and proprietary information of
Oracle Corporation. You shall not disclose such confidential and
proprietary information and shall use it only in accordance with the
terms of the license agreement you entered into with Oracle.
This notice may not be removed or altered.
</xs:documentation>
</xs:annotation>
<xs:annotation>
<xs:documentation>
<![CDATA[This is the XML schema for the Coherence for .NET cache configuration file.
The configuration file's root element should include reference to the schema:
<cache-config xmlns="http://schemas.tangosol.com/cache"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.tangosol.com/cache
assembly://Coherence/Tangosol.Config/cache-config.xsd">]]>
</xs:documentation>
</xs:annotation>
<xs:complexType name="cache-config">
<xs:annotation>
<xs:documentation>
The cache-config element is the root element of the cache-config descriptor.
Used in: n/a
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="defaults" minOccurs="0"/>
<xs:element ref="caching-scheme-mapping"/>
<xs:element ref="caching-schemes"/>
</xs:sequence>
</xs:complexType>
<xs:element name="cache-config" type="cache-config"/>
<xs:element name="defaults">
<xs:annotation>
<xs:documentation>
The defaults element defines factory wide default settings.
Used in: cache-config
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="serializer" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="caching-scheme-mapping">
<xs:annotation>
<xs:documentation>
The caching-scheme-mapping element contains the bindings between the cache
names and the caching schemes specified for the caches to use.
Used in: cache-config
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="cache-mapping" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:element name="caching-scheme-mapping" type="caching-scheme-mapping"/>
<xs:complexType name="cache-mapping">
<xs:annotation>
<xs:documentation>
<![CDATA[The cache-mapping element contains a single binding between a cache name and
a caching scheme this cache will use. Following cache name patterns are
supported:
- exact match, i.e. "MyCache",
- prefix match, i.e. "My*" that matches to any cache name starting with "My",
- any match "*", that matches to any cache name.
The cache-mapping element allows specifying replaceable cache scheme
parameters by supplying any number of "init-param" elements. During cache
scheme parsing, any occurrence of any replaceable parameter in the format
"{parameter-name}" is replaced with the corresponding parameter value.
Consider the following cache mapping example:
<cache-mapping>
<cache-name>My*</cache-name>
<scheme-name>my-scheme</scheme-name>
<init-params>
<init-param>
<param-name>cache-loader</param-name>
<param-value>com.acme.MyCacheLoader</param-value>
</init-param>
<init-param>
<param-name>size-limit</param-name>
<param-value>1000</param-value>
</init-param>
</init-params>
</cache-mapping>
For any matching cache name, any occurrence of the literal "{cache-loader}" in
any part of the corresponding cache-scheme element will be replaced with the
string "com.acme.MyCacheLoader" and any occurrence of the literal "{size-limit}"
will be replaced with the value of "1000".
Used in: caching-scheme-mapping]]>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="cache-name"/>
<xs:element ref="scheme-name"/>
<xs:element ref="init-params" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="cache-mapping" type="cache-mapping"/>
<xs:element name="cache-name" type="xs:string">
<xs:annotation>
<xs:documentation>
The cache-name element specifies the name of the cache. The name is unique
within a cache factory.
Used in: cache-mapping
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cluster-name" type="xs:string">
<xs:annotation>
<xs:documentation>
The cluster-name element contains the name of the
cluster to connect to.
Note that when using the name service the cluster
name of the client is used as the default value
for this element.
Used in: remote-cache-scheme, remote-invocation-scheme
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="scheme-name" type="xs:string">
<xs:annotation>
<xs:documentation>
The scheme-name element contains the scheme name. The name is unique
within a configuration file.
Used in: cache-mapping, local-scheme, near-scheme, remote-cache-scheme,
remote-invocation-scheme
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="init-params">
<xs:sequence>
<xs:element ref="init-param" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:element name="init-params" type="init-params">
<xs:annotation>
<xs:documentation>
The init-params element contains class initialization parameter configuration
info.
Used in: class-scheme, local-scheme, near-scheme, serializer,
address-provider
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group name="param-name-and-type">
<xs:sequence>
<xs:element ref="param-name"/>
<xs:element ref="param-type" minOccurs="0"/>
</xs:sequence>
</xs:group>
<xs:complexType name="init-param">
<xs:sequence>
<xs:choice>
<xs:group ref="param-name-and-type"/>
<xs:element ref="param-type"/>
</xs:choice>
<xs:element ref="param-value"/>
</xs:sequence>
</xs:complexType>
<xs:element name="init-param" type="init-param">
<xs:annotation>
<xs:documentation>
The init-param element contains a single class initialization parameter
configuration info.
Used in: init-params
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="param-name" type="xs:string">
<xs:annotation>
<xs:documentation>
<![CDATA[The param-name element specifies the name of the initialization parameter.
When param-name is specified, if the class being constructed and configured
implements the IXmlConfigurable interface, then a series of init-param
elements can be transposed in order to build a configuration XML with which
to configure the constructed object. For example, consider the following
init-params element:
<init-params>
<init-param>
<param-name>shape</param-name>
<param-value>circle</param-value>
</init-param>
<init-param>
<param-name>color</param-name>
<param-value>blue</param-value>
</init-param>
</init-params>
If transposed, the result would be:
<some-arbitrary-element-name>
<shape>circle</shape>
<color>blue</color>
</some-arbitrary-element-name>
Used in: init-param]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:simpleType name="param-type">
<xs:restriction base="xs:string">
<xs:enumeration value="string"/>
<xs:enumeration value="bool"/>
<xs:enumeration value="int"/>
<xs:enumeration value="long"/>
<xs:enumeration value="double"/>
<xs:enumeration value="float"/>
<xs:enumeration value="decimal"/>
<xs:enumeration value="file"/>
<xs:enumeration value="date"/>
<xs:enumeration value="time"/>
<xs:enumeration value="xml"/>
<xs:enumeration value="{scheme-ref}"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="param-type" type="param-type">
<xs:annotation>
<xs:documentation>
The param-type element specifies the .NET type of an initialization parameter.
Supported types include:
- string - indicates that the value is a System.String
- bool - indicates that the value is a System.Boolean
- int - indicates that the value is a System.Int32
- long - indicates that the value is a System.Int64
- double - indicates that the value is a System.Double
- float - indicates that the value is a System.Single
- decimal - indicates that the value is a System.Decimal
- file - indicates that the value is a System.IO.File
- date - indicates that the value is a System.DateTime
- time - indicates that the value is a System.DateTime
- xml - indicates that the value is the entire init-param XmlNode
The value is converted to the specified type, and the target constructor
or method must have a parameter of that type in order for the
instantiation to succeed.
Used in: init-param
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="param-value" type="xs:string">
<xs:annotation>
<xs:documentation>
The param-value element specifies a value of an initialization parameter.
The value is in a format specific to the type of the parameter.
Used in: init-param
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="coherence-nonNegativeInteger-type">
<xs:simpleContent>
<xs:restriction base="parameterizable-integer">
<xs:minInclusive value="0"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:element name="coherence-nonNegativeInteger-type" type="coherence-nonNegativeInteger-type">
<xs:annotation>
<xs:documentation>
The coherence-nonNegativeInteger-type element specifies a value
of a nonNegative integer.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="coherence-positiveInteger-type">
<xs:simpleContent>
<xs:restriction base="parameterizable-integer">
<xs:minExclusive value="0"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:element name="coherence-positiveInteger-type" type="coherence-positiveInteger-type">
<xs:annotation>
<xs:documentation>
The coherence-positiveInteger-type element specifies a value
of a positive integer.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="caching-schemes">
<xs:choice maxOccurs="unbounded">
<xs:element ref="class-scheme"/>
<xs:element ref="local-scheme"/>
<xs:element ref="near-scheme"/>
<xs:element ref="remote-cache-scheme"/>
<xs:element ref="remote-invocation-scheme"/>
<xs:element ref="view-scheme"/>
</xs:choice>
</xs:complexType>
<xs:element name="caching-schemes" type="caching-schemes">
<xs:annotation>
<xs:documentation>
The caching-schemes element contains the definitions of all the available
caching schemes. Caching schemes can be defined from scratch or configured
to use other caching schemes and override some of the characteristics of the
schemes they use. Specifying scheme-name allows for other schemes to refer
to a scheme by its unique name. Specifying scheme-ref allows for the scheme
to inherit all the characteristics defined in the base scheme whose
scheme-name is referred to by scheme-ref element, overriding any subset of
its settings.
Used in: cache-config
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="remote-cache-scheme">
<xs:sequence>
<xs:element ref="scheme-name" minOccurs="0"/>
<xs:element ref="scheme-ref" minOccurs="0"/>
<xs:element ref="service-name" minOccurs="0"/>
<xs:element ref="cluster-name" minOccurs="0"/>
<xs:element ref="proxy-service-name" minOccurs="0"/>
<xs:element ref="operation-bundling" minOccurs="0"/>
<xs:element ref="initiator-config" minOccurs="0"/>
<xs:element ref="defer-key-association-check" minOccurs="0" />
<xs:element ref="listener" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="remote-cache-scheme" type="remote-cache-scheme">
<xs:annotation>
<xs:documentation>
The remote-cache-scheme element contains the configuration info necessary to
use a clustered cache from outside the cluster.
Used in: caching-scheme, cachestore-scheme, back-scheme
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="scheme-ref" type="parameterizable-string">
<xs:annotation>
<xs:documentation>
The scheme-ref element contains the scheme name of the scheme whose
configuration should be used as overridable base.
Used in: local-scheme, near-scheme, remote-cache-scheme,
remote-invocation-scheme
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="service-name" type="parameterizable-string">
<xs:annotation>
<xs:documentation>
The service-name element contains the service name configuration info.
Used in: remote-cache-scheme, local-scheme
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="operation-bundling">
<xs:sequence>
<xs:element ref="bundle-config" maxOccurs="unbounded" />
<xs:any namespace="##other" processContents="lax"
minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:element name="operation-bundling" type="operation-bundling">
<xs:annotation>
<xs:documentation>
The operation-bundling element specifies the configuration info
for a particular bundling strategy.
Bundling is a process of coalescing multiple individual operations
into "bundles". It could be beneficial when (1) there is a continuous
stream of operations on multiple threads in parallel; (2) individual
operations have relatively high latency (network or
database-related); and (3) there are functionally analogous [bulk]
operations that take a collection of arguments instead of a single
one without causing the latency to grow linearly (as a function of
the collection size).
Note: As with any bundling algorithm, there is a natural trade-off
between the resource utilization and average request latency.
Depending on a particular application usage pattern, enabling this
feature may either help or hurt the overall application performance.
See Tangosol.Net.Cache.AbstractBundler for additional implementation
details.
Used in: remote-cache-scheme
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:simpleType name="operation-name-enum-type">
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="all" />
<xs:enumeration value="get" />
<xs:enumeration value="insert" />
<xs:enumeration value="remove" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="operation-name-type">
<xs:simpleContent>
<xs:extension base="operation-name-enum-type">
<xs:attribute name="system-property" type="xs:normalizedString"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:element name="operation-name" type="operation-name-type">
<xs:annotation>
<xs:documentation>
The operation-name element specifies the operation name for which calls
performed concurrently on multiple threads will be "bundled" into a
functionally analogous [bulk] operation that takes a collection of
arguments instead of a single one.
Valid values depend on the bundle configuration context.For the
distributed-scheme and remote-cache-scheme the valid operations are
"get", "insert" and "remove". In all cases there is a pseudo
operation "all", referring to all valid operations.
Default value is "all".
Used in: bundle-config
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="preferred-size" type="coherence-nonNegativeInteger-type">
<xs:annotation>
<xs:documentation>
The preferred-size element specifies the bundle size threshold. When a
bundle size reaches this value, the corresponding "bulk" operation will
be invoked immediately. This value is measured in context-specific units.
Valid values are zero (disabled bundling) or positive values.
Default value is zero.
Used in: bundle-config
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="delay-millis" type="coherence-positiveInteger-type">
<xs:annotation>
<xs:documentation>
The delay-millis element specifies the maximum amount of time in
milliseconds that individual execution requests are allowed to be
deferred for a purpose of "bundling" them together and passing into
a corresponding bulk operation. If the preferred-size threshold is
reached before the specified delay, the bundle is processed immediately.
Valid values are positive numbers.
Default value is 1.
Used in: bundle-config
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="thread-threshold" type="coherence-positiveInteger-type">
<xs:annotation>
<xs:documentation>
The thread-threshold element specifies the minimum number of threads that
must be concurrently executing individual (non-bundled) requests for the
bundler to switch from a pass-through to a bundling mode.
Valid values are positive numbers.
Default value is 4.
Used in: bundle-config
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="auto-adjust" type="parameterizable-boolean">
<xs:annotation>
<xs:documentation>
The auto-adjust element specifies whether or not the auto adjustment of
the preferred-size value (based on the run-time statistics) is allowed.
Valid values are "true" or "false".
Default value is "false".
Used in: bundle-config
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="bundle-config">
<xs:sequence>
<xs:element ref="operation-name" minOccurs="0" />
<xs:element ref="preferred-size" minOccurs="0" />
<xs:element ref="delay-millis" minOccurs="0" />
<xs:element ref="thread-threshold" minOccurs="0" />
<xs:element ref="auto-adjust" minOccurs="0" />
<xs:any namespace="##other" processContents="lax"
minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
<xs:element name="bundle-config" type="bundle-config">
<xs:annotation>
<xs:documentation>
The bundle-config element specifies the bundling strategy configuration
for one or more bundle-able operations.
Used in: operation-bundling
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="proxy-service-name" type="parameterizable-string">
<xs:annotation>
<xs:documentation>
The proxy-service-name element contains the service name of the
remote proxy service to which this remote service will connect.
This name must match the <service name> element value of
the remote proxy service.
Used in: remote-cache-scheme, remote-invocation-scheme
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="initiator-config">
<xs:sequence>
<xs:choice>
<xs:element ref="tcp-initiator"/>
</xs:choice>
<xs:element ref="incoming-message-handler" minOccurs="0"/>
<xs:element ref="outgoing-message-handler" minOccurs="0"/>
<xs:element ref="use-filters" minOccurs="0"/>
<xs:element ref="serializer" minOccurs="0"/>
<xs:element ref="connect-timeout" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="initiator-config" type="initiator-config">
<xs:annotation>
<xs:documentation>
The initiator-config element specifies the configuration info for a
protocol-specific connection initiator. A connection initiator allows a
client to connect to a cluster (via a connection acceptor) and use the
clustered services offered by the cluster without having to first join the
cluster.
Used in: remote-cache-scheme, remote-invocation-scheme
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="system">
<xs:annotation>
<xs:documentation>
Element used to indicate an insecure default network stream.
Used in: stream-provider
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="certificate">
<xs:sequence>
<xs:element name="url"/>
<xs:element name="password"/>
<xs:element name="flags" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="DefaultKeySet"/>
<xs:enumeration value="DefaultKeySet"/>
<xs:enumeration value="MachineKeySet"/>
<xs:enumeration value="Exportable"/>
<xs:enumeration value="UserProtected"/>
<xs:enumeration value="PersistKeySet"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="certificate" type="certificate">
<xs:annotation>
<xs:documentation>
The certificate element specifies configuration for a X509Certificate.
Used in: local-certificates
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="server" type="xs:string">
<xs:annotation>
<xs:documentation>
The string representing either remote server Fully Qualified Dns Name(FQDN)
or IP address which will be matched in remote certificate for validation.
Used in: ssl
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="protocol" type="parameterizable-string">
<xs:annotation>
<xs:documentation>
The protocol element is used to specify an SSL protocol or protocols that
can be used in a secure connection. To specify multiple protocols, use a
comma separated list (e.g. "Tls11,Tls12").
Example values include "Default", "Tls12", or "Tls11,Tls12". See the
.NET Framework SslProtocols Enum for the complete list of allowed values.
Used in: ssl
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="local-certificates">
<xs:sequence>
<xs:element ref="certificate" maxOccurs="unbounded"/>
<xs:element ref="selector" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="local-certificates" type="local-certificates">
<xs:annotation>
<xs:documentation>
The local-certificates element is used to specify a single or a group of
certificates used to identify the client when using a secure connection.
Used in: ssl
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="delegate">
<xs:sequence>
<xs:element name="type" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="instance"/>
<xs:enumeration value="static"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element ref="class-name"/>
<xs:element name="method-name"/>
</xs:sequence>
</xs:complexType>
<xs:element name="delegate" type="delegate">
<xs:annotation>
<xs:documentation>
The delegate element is used to configure and instantiate a delegate which is
used as a callback.
Used in: remote-certificate-validator, selector.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="remote-certificate-validator">
<xs:sequence>
<xs:element ref="delegate"/>
</xs:sequence>
</xs:complexType>
<xs:element name="remote-certificate-validator" type="remote-certificate-validator">
<xs:annotation>
<xs:documentation>
The remote-certificate-validator element is used to override the default
RemoteCertificateValidator callback used when establishing a secure connection.
Used in: ssl
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="local-certificate-selector">
<xs:sequence>
<xs:element ref="delegate"/>
</xs:sequence>
</xs:complexType>
<xs:element name="selector" type="local-certificate-selector">
<xs:annotation>
<xs:documentation>
The selector element is used to override the default LocalCertificateSelector
callback used when identifying the client for a secure connection.
Used in: local-certificates.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ssl">
<xs:sequence>
<xs:element ref="server" minOccurs="0"/>
<xs:element ref="protocol" minOccurs="0"/>
<xs:element ref="local-certificates" minOccurs="0"/>
<xs:element ref="remote-certificate-validator" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="ssl" type="ssl">
<xs:annotation>
<xs:documentation>
The ssl element contains the configuration info for a stream
provider that produces streams which utilize SSL.
Used in: stream-provider.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="stream-provider">
<xs:sequence>
<xs:choice>
<xs:element ref="system"/>
<xs:element ref="ssl"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:element name="stream-provider" type="stream-provider">
<xs:annotation>
<xs:documentation>
The stream-provider specifies the type of stream used when communicating via
TCP/IP.
Used in: tcp-initiator.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="tcp-initiator">
<xs:sequence>
<xs:element ref="stream-provider" minOccurs="0"/>
<xs:element ref="local-address" minOccurs="0"/>
<xs:choice>
<xs:element ref="name-service-addresses"/>
<xs:element ref="remote-addresses"/>
</xs:choice>
<xs:element ref="keep-alive-enabled" minOccurs="0"/>
<xs:element ref="tcp-delay-enabled" minOccurs="0"/>
<xs:element ref="receive-buffer-size" minOccurs="0"/>
<xs:element ref="send-buffer-size" minOccurs="0"/>
<xs:element ref="linger-timeout" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="tcp-initiator" type="tcp-initiator">
<xs:annotation>
<xs:documentation>
The tcp-initiator element specifies the configuration info for a connection
initiator that enables clients to connect to a remote cluster via TCP/IP.
Used in: initiator-config
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="incoming-message-handler">
<xs:sequence>
<xs:element ref="max-message-size" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="incoming-message-handler" type="incoming-message-handler">
<xs:annotation>
<xs:documentation>
The incoming-message-handler specifies the configuration info used to
regulate client-to-cluster connection resource usage. Connection initiators
use this information proactively detect and release connections that use
excessive resources.
Used in: initiator-config
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="outgoing-message-handler">
<xs:sequence>
<xs:element ref="heartbeat-interval" minOccurs="0"/>
<xs:element ref="heartbeat-timeout" minOccurs="0"/>
<xs:element ref="max-message-size" minOccurs="0"/>
<xs:element ref="request-timeout" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="outgoing-message-handler" type="outgoing-message-handler">
<xs:annotation>
<xs:documentation>
The outgoing-message-handler element specifies the configuration info used to
detect dropped client-to-cluster connections. For connection initiators and
acceptors that use connectionless protocols (e.g. JMS), this information is
necessary to proactively detect and release resources allocated to dropped
connections. Connection-oriented initiators and acceptors can also use this
information as an additional mechanism to detect dropped connections.
Used in: initiator-config
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="use-filters">
<xs:sequence>
<xs:element ref="filter-name" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:element name="use-filters" type="use-filters">
<xs:annotation>
<xs:documentation>
The use-filters element contains the list of filter names to be used
by a connection initiator.
Used in: initiator-config
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="filter-name" type="parameterizable-string">
<xs:annotation>
<xs:documentation>
The filter-name element contains the canonical name of the filter as specified
in the operational configuration file.
Used in: use-filters
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="connect-timeout" type="time">
<xs:annotation>
<xs:documentation>
The connect-timeout element specifies the maximum amount of time to wait
while establishing a connection with a connection acceptor.
The value of this element must be in the following format:
[\d]+[[.][\d]+]?[MS|ms|S|s|M|m|H|h|D|d]?
where the first non-digits (from left to right) indicate the unit of time
duration:
-MS or ms (milliseconds)
-S or s (seconds)
-M or m (minutes)
-H or h (hours)
-D or d (days)
If the value does not contain a unit, a unit of milliseconds is assumed.
Default value is the request-timeout value.
Used in: initiator-config
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="linger-timeout" type="time">
<xs:annotation>
<xs:documentation>
The linger-timeout element enables SO_LINGER on a TCP/IP socket with the
specified linger time.
The value of this element must be in the following format:
[\d]+[[.][\d]+]?[MS|ms|S|s|M|m|H|h|D|d]?
where the first non-digits (from left to right) indicate the unit of time
duration:
-MS or ms (milliseconds)
-S or s (seconds)
-M or m (minutes)
-H or h (hours)
-D or d (days)
If the value does not contain a unit, a unit of milliseconds is assumed.
Linger is disabled by default.
Used in: tcp-initiator
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="request-timeout" type="time">
<xs:annotation>
<xs:documentation>
The request-timeout specifies the maximum amount of time a client will wait
for a response before abandoning the original request.
The value of this element must be in the following format:
[\d]+[[.][\d]+]?[MS|ms|S|s|M|m|H|h|D|d]?
where the first non-digits (from left to right) indicate the unit of time
duration:
-MS or ms (milliseconds)
-S or s (seconds)
-M or m (minutes)
-H or h (hours)
-D or d (days)
If the value does not contain a unit, a unit of milliseconds is assumed.
Default value is 30 seconds (30s). Use "0s" to specify an infinite timeout.
Used in: outgoing-message-handler
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="heartbeat-interval" type="time">
<xs:annotation>
<xs:documentation>
The heartbeat-interval element specifies the interval between ping requests.
A ping request is used to ensure the integrity of a connection.
The value of this element must be in the following format:
[\d]+[[.][\d]+]?[MS|ms|S|s|M|m|H|h|D|d]?
where the first non-digits (from left to right) indicate the unit of time
duration:
-MS or ms (milliseconds)
-S or s (seconds)
-M or m (minutes)
-H or h (hours)
-D or d (days)
If the value does not contain a unit, a unit of milliseconds is assumed.
Ping requests are disabled by default.
Used in: outgoing-message-handler
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="heartbeat-timeout" type="time">
<xs:annotation>
<xs:documentation>
The heartbeat-timeout element specifies the maximum amount of time to wait
for a response to a ping request before declaring the underlying connection
unusable.
The value of this element must be in the following format:
[\d]+[[.][\d]+]?[MS|ms|S|s|M|m|H|h|D|d]?