Mercurial > dive4elements > river
annotate flys-artifacts/doc/conf/themes/default/reference.xml @ 5779:ebec12def170
Datacage: Add a pool of builders to make it multi threadable.
XML DOM is not thread safe. Therefore the old implementation only allowed one thread
to use the builder at a time. As the complexity of the configuration
has increased over time this has become a bottleneck of the whole application
because it took quiet some time to build a result. Furthermore the builder code path
is visited very frequent. So many concurrent requests were piled up
resulting in long waits for the users.
To mitigate this problem a round robin pool of builders is used now.
Each of the pooled builders has an independent copy of the XML template
and can be run in parallel.
The number of builders is determined by the system property
'flys.datacage.pool.size'. It defaults to 4.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 21 Apr 2013 12:48:09 +0200 |
parents | dfac28805d79 |
children |
rev | line source |
---|---|
4667
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
2 <!--themegroup name="default"--> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
3 <theme name="ReferenceCurve"> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
4 <inherits> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
5 <inherit from="Lines" /> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
6 <inherit from="Points" /> |
4698
dfac28805d79
Fixed and updated theme configurations.
Raimund Renkert <rrenkert@intevation.de>
parents:
4667
diff
changeset
|
7 <inherit from="Label" /> |
4667
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
8 <inherit from="MinMaxPoints" /> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
9 </inherits> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
10 <fields> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
11 <field name="showpoints" type="boolean" display="Punkte anzeigen" |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
12 default="false" /> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
13 <field name="showpointlabel" type="boolean" |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
14 display="Punktbeschriftung anzeigen" default="false" hints="hidden" /> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
15 <field name="linecolor" type="Color" display="Linienfarbe" |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
16 default="204, 204, 204" /> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
17 </fields> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
18 </theme> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
19 |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
20 <theme name="ReferenceCurveNormalized"> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
21 <inherits> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
22 <inherit from="ReferenceCurve" /> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
23 </inherits> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
24 <fields> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
25 </fields> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
26 </theme> |
e6a282844a33
Refactored the themes config files (currently only default style).
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
27 <!--/themegroup--> |