
config.infinispan.file.infinispan.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fcrepo-configs Show documentation
Show all versions of fcrepo-configs Show documentation
The Fedora Commons repository configurations module: Provides configuration resources that are used in
integration testing and deployments.
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:infinispan:config:7.2 http://www.infinispan.org/schemas/infinispan-config-7.2.xsd" xmlns="urn:infinispan:config:7.2"> <cache-container default-cache="FedoraRepository"> <jmx duplicate-domains="true"/> <local-cache name="FedoraRepository" statistics="true"> <transaction transaction-manager-lookup="org.infinispan.transaction.lookup.GenericTransactionManagerLookup" mode="NON_XA" locking="PESSIMISTIC"/> <eviction max-entries="500" strategy="LIRS" thread-policy="DEFAULT"/> <!-- Define the cache loaders (i.e., cache stores). Passivation is false because we want *all* data to be persisted, not just what doesn't fit into memory. Shared is false because there are no other caches sharing this file store. We set preload to false for lazy loading; may be improved by preloading and configuring eviction. We can have multiple cache loaders, which get chained. But we'll define just one. --> <persistence passivation="false"> <file-store shared="false" preload="false" fetch-state="true" purge="false" path="${fcrepo.ispn.repo.cache:target/FedoraRepository/storage}"/> </persistence> </local-cache> </cache-container> </infinispan>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy