aboutsummaryrefslogtreecommitdiff
path: root/basicConfig/eIDAS
diff options
context:
space:
mode:
authorThomas <>2021-05-12 20:38:12 +0200
committerThomas <>2021-05-12 20:38:12 +0200
commit30cc38a77b37697af7cbd6d2d8f24c90fe08b959 (patch)
tree0e96e6c4ee03d730ac30eb562cdd0614d3e4d1da /basicConfig/eIDAS
parent291905eed9c187444c83657241b589d31d825149 (diff)
downloadNational_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/eIDAS')
-rw-r--r--basicConfig/eIDAS/igniteSpecificCommunication.xml19
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>