2021-01-12 10:10:30 +01:00
|
|
|
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xmlns="http://www.ehcache.org/v3"
|
|
|
|
xmlns:jsr107="http://www.ehcache.org/v3/jsr107"
|
|
|
|
xsi:schemaLocation="
|
|
|
|
http://www.ehcache.org/v3 http://www.ehcache.org/schema/ehcache-core-3.0.xsd
|
|
|
|
http://www.ehcache.org/v3/jsr107 http://www.ehcache.org/schema/ehcache-107-ext-3.0.xsd">
|
|
|
|
|
|
|
|
<cache alias="RUNNING_EXAM">
|
|
|
|
<key-type>java.lang.Long</key-type>
|
|
|
|
<value-type>ch.ethz.seb.sebserver.gbl.model.exam.Exam</value-type>
|
|
|
|
<expiry>
|
2021-05-17 09:03:22 +02:00
|
|
|
<ttl unit="hours">24</ttl>
|
2021-01-12 10:10:30 +01:00
|
|
|
</expiry>
|
|
|
|
<resources>
|
|
|
|
<heap unit="entries">100</heap>
|
|
|
|
</resources>
|
|
|
|
</cache>
|
2022-09-05 16:01:30 +02:00
|
|
|
|
|
|
|
<cache alias="RUNNING_EXAM_CLIENT_GROUP_CACHE">
|
|
|
|
<key-type>java.lang.Long</key-type>
|
|
|
|
<value-type>ch.ethz.seb.sebserver.gbl.util.Result</value-type>
|
|
|
|
<expiry>
|
|
|
|
<ttl unit="hours">24</ttl>
|
|
|
|
</expiry>
|
|
|
|
<resources>
|
|
|
|
<heap unit="entries">10</heap>
|
|
|
|
</resources>
|
|
|
|
</cache>
|
2021-01-12 10:10:30 +01:00
|
|
|
|
|
|
|
<cache alias="ACTIVE_CLIENT_CONNECTION">
|
|
|
|
<key-type>java.lang.String</key-type>
|
|
|
|
<value-type>ch.ethz.seb.sebserver.webservice.servicelayer.session.impl.ClientConnectionDataInternal</value-type>
|
|
|
|
<expiry>
|
2021-05-17 09:03:22 +02:00
|
|
|
<ttl unit="hours">24</ttl>
|
2021-01-12 10:10:30 +01:00
|
|
|
</expiry>
|
2023-10-03 08:13:03 +02:00
|
|
|
<resources>
|
|
|
|
<heap unit="entries">100000</heap>
|
2021-01-12 10:10:30 +01:00
|
|
|
</resources>
|
|
|
|
</cache>
|
|
|
|
|
|
|
|
<cache alias="SEB_CONFIG_EXAM">
|
|
|
|
<key-type>java.lang.Long</key-type>
|
|
|
|
<value-type>ch.ethz.seb.sebserver.webservice.servicelayer.session.impl.InMemorySEBConfig</value-type>
|
|
|
|
<expiry>
|
2021-05-17 09:03:22 +02:00
|
|
|
<ttl unit="hours">24</ttl>
|
2021-01-12 10:10:30 +01:00
|
|
|
</expiry>
|
|
|
|
<resources>
|
|
|
|
<heap unit="entries">20</heap>
|
|
|
|
</resources>
|
|
|
|
</cache>
|
|
|
|
|
|
|
|
<cache alias="CACHE_NAME_PING_RECORD">
|
|
|
|
<key-type>java.lang.String</key-type>
|
|
|
|
<value-type>ch.ethz.seb.sebserver.webservice.datalayer.batis.model.ClientEventRecord</value-type>
|
|
|
|
<expiry>
|
2021-05-17 09:03:22 +02:00
|
|
|
<ttl unit="hours">24</ttl>
|
2021-01-12 10:10:30 +01:00
|
|
|
</expiry>
|
|
|
|
<resources>
|
|
|
|
<heap unit="entries">2000</heap>
|
|
|
|
</resources>
|
|
|
|
</cache>
|
|
|
|
|
|
|
|
<cache alias="CONNECTION_TOKENS_CACHE">
|
|
|
|
<key-type>java.lang.Long</key-type>
|
|
|
|
<value-type>ch.ethz.seb.sebserver.gbl.util.Result</value-type>
|
|
|
|
<expiry>
|
2021-05-17 09:03:22 +02:00
|
|
|
<ttl unit="hours">24</ttl>
|
2021-01-12 10:10:30 +01:00
|
|
|
</expiry>
|
|
|
|
<resources>
|
|
|
|
<heap unit="entries">100</heap>
|
|
|
|
</resources>
|
|
|
|
</cache>
|
|
|
|
|
2022-01-19 09:46:11 +01:00
|
|
|
<cache alias="ACCESS_TOKEN_CACHE">
|
2022-01-05 15:22:17 +01:00
|
|
|
<key-type>java.lang.String</key-type>
|
|
|
|
<value-type>org.springframework.security.oauth2.common.OAuth2AccessToken</value-type>
|
2021-01-12 10:10:30 +01:00
|
|
|
<expiry>
|
2022-01-05 15:22:17 +01:00
|
|
|
<ttl unit="hours">1</ttl>
|
2021-01-12 10:10:30 +01:00
|
|
|
</expiry>
|
|
|
|
<resources>
|
|
|
|
<heap unit="entries">100</heap>
|
|
|
|
</resources>
|
|
|
|
</cache>
|
|
|
|
|
2022-01-19 09:46:11 +01:00
|
|
|
<cache alias="AUTHENTICATION_TOKEN_CACHE">
|
|
|
|
<key-type>org.springframework.security.oauth2.common.OAuth2AccessToken</key-type>
|
|
|
|
<value-type>org.springframework.security.oauth2.provider.OAuth2Authentication</value-type>
|
|
|
|
<expiry>
|
|
|
|
<ttl unit="hours">1</ttl>
|
|
|
|
</expiry>
|
|
|
|
<resources>
|
|
|
|
<heap unit="entries">100</heap>
|
|
|
|
</resources>
|
|
|
|
</cache>
|
|
|
|
|
2021-01-12 10:10:30 +01:00
|
|
|
<cache alias="EXAM_CLIENT_DETAILS_CACHE">
|
|
|
|
<key-type>java.lang.String</key-type>
|
|
|
|
<value-type>ch.ethz.seb.sebserver.gbl.util.Result</value-type>
|
|
|
|
<expiry>
|
2021-05-17 09:03:22 +02:00
|
|
|
<ttl unit="hours">24</ttl>
|
2021-01-12 10:10:30 +01:00
|
|
|
</expiry>
|
|
|
|
<resources>
|
|
|
|
<heap unit="entries">2000</heap>
|
|
|
|
</resources>
|
|
|
|
</cache>
|
|
|
|
|
2021-05-15 17:43:26 +02:00
|
|
|
<cache alias="QUIZ_DATA_CACHE">
|
|
|
|
<key-type>java.lang.String</key-type>
|
|
|
|
<value-type>ch.ethz.seb.sebserver.gbl.model.exam.QuizData</value-type>
|
|
|
|
<expiry>
|
2022-05-18 09:11:10 +02:00
|
|
|
<ttl unit="minutes">5</ttl>
|
2021-05-15 17:43:26 +02:00
|
|
|
</expiry>
|
|
|
|
<resources>
|
|
|
|
<heap unit="entries">10000</heap>
|
|
|
|
</resources>
|
|
|
|
</cache>
|
2021-01-27 09:17:45 +01:00
|
|
|
|
2021-01-12 10:10:30 +01:00
|
|
|
</config>
|