|
54 | 54 | <para>Whilst most extension modules work without any further configuration than that
|
55 | 55 | described above, some modules have additional configuration options. Those additional
|
56 | 56 | options are described in this section.</para>
|
| 57 | + <sect2 xml:id="module_cache"> |
| 58 | + <title>Cache Module</title> |
| 59 | + <para>This module provides a Global Mutable cache which can be used for manually |
| 60 | + caching data. This is often used for caching the results of expensive queries.</para> |
| 61 | + <itemizedlist> |
| 62 | + <listitem> |
| 63 | + <para>Creator: Adam Retter</para> |
| 64 | + </listitem> |
| 65 | + <listitem> |
| 66 | + <para>Licence: LGPL v2</para> |
| 67 | + </listitem> |
| 68 | + <listitem> |
| 69 | + <para>Used: <link xlink:href="https://github.com/ben-manes/caffeine">Caffeine</link></para> |
| 70 | + </listitem> |
| 71 | + <listitem> |
| 72 | + <para>Status: production</para> |
| 73 | + </listitem> |
| 74 | + <listitem> |
| 75 | + <para>Class: <code>org.exist.xquery.modules.cache.CacheModule</code> |
| 76 | + </para> |
| 77 | + </listitem> |
| 78 | + <listitem> |
| 79 | + <para>Namespace: <code>http://exist-db.org/xquery/cache</code></para> |
| 80 | + </listitem> |
| 81 | + </itemizedlist> |
| 82 | + <para> |
| 83 | + The Cache module can be configured for with a bounded size, or time, or both. eXist-db cannot |
| 84 | + know how much memory the data you will put in the cache will take, so it is up to you to |
| 85 | + manage your own memory needs here. |
| 86 | + </para> |
| 87 | + <para>A named cache can either be explicitly created by calling the <code>cache:create</code> XQuery |
| 88 | + function, or it can be implicitly created lazing on the first operation performed on the cache. |
| 89 | + Configuration of the Cache module is specified within the module definition of eXist-db's |
| 90 | + <code>conf.xml</code> file:</para> |
| 91 | + <programlisting language="xml" xlink:href="listings/listing-2.xml"/> |
| 92 | + </sect2> |
57 | 93 | <sect2 xml:id="module_sql">
|
58 | 94 | <title>SQL Module</title>
|
59 | 95 | <para>This module provides facilities for performing SQL operations against traditional
|
|
66 | 102 | <para>Licence: LGPL v2</para>
|
67 | 103 | </listitem>
|
68 | 104 | <listitem>
|
69 |
| - <para>Used: JDBC</para> |
| 105 | + <para>Used: <link xlink:href="https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/">JDBC</link></para> |
70 | 106 | </listitem>
|
71 | 107 | <listitem>
|
72 | 108 | <para>Status: production</para>
|
|
0 commit comments