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>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<resources>
|
2021-05-15 17:43:26 +02:00
|
|
|
<heap unit="entries">3000</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>
|
|
|
|
|
|
|
|
<cache alias="ACCESS_TOKEN_STORE_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>
|
|
|
|
|
|
|
|
<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>
|
2021-11-18 08:21:03 +01:00
|
|
|
<ttl unit="minutes">10</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>
|