diff options
author | Thomas <> | 2021-05-12 20:38:12 +0200 |
---|---|---|
committer | Thomas <> | 2021-05-12 20:38:12 +0200 |
commit | 30cc38a77b37697af7cbd6d2d8f24c90fe08b959 (patch) | |
tree | 0e96e6c4ee03d730ac30eb562cdd0614d3e4d1da /basicConfig | |
parent | 291905eed9c187444c83657241b589d31d825149 (diff) | |
download | National_eIDAS_Gateway-30cc38a77b37697af7cbd6d2d8f24c90fe08b959.tar.gz National_eIDAS_Gateway-30cc38a77b37697af7cbd6d2d8f24c90fe08b959.tar.bz2 National_eIDAS_Gateway-30cc38a77b37697af7cbd6d2d8f24c90fe08b959.zip |
switch to release version1.2.0
Diffstat (limited to 'basicConfig')
-rw-r--r-- | basicConfig/eIDAS/igniteSpecificCommunication.xml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/basicConfig/eIDAS/igniteSpecificCommunication.xml b/basicConfig/eIDAS/igniteSpecificCommunication.xml index f817f5a4..da61cbf1 100644 --- a/basicConfig/eIDAS/igniteSpecificCommunication.xml +++ b/basicConfig/eIDAS/igniteSpecificCommunication.xml @@ -53,30 +53,35 @@ <property name="name" value="specificNodeConnectorRequestCache"/> <property name="atomicityMode" value="ATOMIC"/> <property name="backups" value="1"/> + <property name="expiryPolicyFactory" ref="7_minutes_duration"/> </bean> <!-- Partitioned cache example configuration (Atomic mode). --> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="nodeSpecificProxyserviceRequestCache"/> <property name="atomicityMode" value="ATOMIC"/> <property name="backups" value="1"/> + <property name="expiryPolicyFactory" ref="7_minutes_duration"/> </bean> <!-- Partitioned cache example configuration (Atomic mode). --> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="specificNodeProxyserviceResponseCache"/> <property name="atomicityMode" value="ATOMIC"/> <property name="backups" value="1"/> - </bean> + <property name="expiryPolicyFactory" ref="7_minutes_duration"/> + </bean> <!-- Partitioned cache example configuration (Atomic mode). --> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="nodeSpecificConnectorResponseCache"/> <property name="atomicityMode" value="ATOMIC"/> <property name="backups" value="1"/> + <property name="expiryPolicyFactory" ref="7_minutes_duration"/> </bean> <!-- Partitioned cache example configuration (Atomic mode). --> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="msConnectorCache"/> <property name="atomicityMode" value="ATOMIC"/> <property name="backups" value="1"/> + <property name="expiryPolicyFactory" ref="7_minutes_duration"/> </bean> </list> @@ -106,4 +111,16 @@ <property name="searchSystemEnvironment" value="true"/> </bean> + <!-- + Defines expiry policy based on moment of creation for ignite cache. + --> + <bean id="7_minutes_duration" class="javax.cache.expiry.CreatedExpiryPolicy" factory-method="factoryOf" scope="prototype"> + <constructor-arg> + <bean class="javax.cache.expiry.Duration"> + <constructor-arg value="MINUTES"/> + <constructor-arg value="7"/> + </bean> + </constructor-arg> + </bean> + </beans> |