diff options
author | Olivier Lamy <olamy@apache.org> | 2012-12-22 23:43:37 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-12-22 23:43:37 +0000 |
commit | 292087cbeae06eaeb098cf0829dc2c6ea1f29e23 (patch) | |
tree | f7a6009d4454c9dedee46f438d83c9ea476bf9d0 /archiva-modules/archiva-base/archiva-configuration | |
parent | ea86a4e13d9730cb9bfcdbfa5b25b72fe7ae90f1 (diff) | |
download | archiva-292087cbeae06eaeb098cf0829dc2c6ea1f29e23.tar.gz archiva-292087cbeae06eaeb098cf0829dc2c6ea1f29e23.zip |
refactor the model for cache setup to have something reusable for url cache failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425372 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-configuration')
-rw-r--r-- | archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo | 39 |
1 files changed, 28 insertions, 11 deletions
diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo b/archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo index 201e8ede9..82a1c2ff0 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo +++ b/archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo @@ -1494,18 +1494,12 @@ <defaultValue>true</defaultValue> </field> <field> - <name>usersCacheTimeToIdleSeconds</name> - <description>TimeToIdleSeconds for users cache</description> + <name>usersCacheConfiguration</name> + <description>the users cache configuration</description> <version>1.4.0+</version> - <type>int</type> - <defaultValue>14400</defaultValue> - </field> - <field> - <name>usersCacheTimeToLiveSeconds</name> - <description>TimeToLiveSeconds for users cache</description> - <version>1.4.0+</version> - <type>int</type> - <defaultValue>14400</defaultValue> + <association> + <type>CacheConfiguration</type> + </association> </field> </fields> </class> @@ -1584,6 +1578,29 @@ </fields> </class> + + <class> + <name>CacheConfiguration</name> + <version>1.4.0+</version> + <description>Cache configuration.</description> + <fields> + <field> + <name>timeToIdleSeconds</name> + <description>TimeToIdleSeconds</description> + <version>1.4.0+</version> + <type>int</type> + <defaultValue>-1</defaultValue> + </field> + <field> + <name>timeToLiveSeconds</name> + <description>TimeToLiveSeconds</description> + <version>1.4.0+</version> + <type>int</type> + <defaultValue>-1</defaultValue> + </field> + </fields> + </class> + </classes> </model> |