Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Update to Modeshape 4.0 and Infinispan 6.x
- Loading branch information
Showing
28 changed files
with
509 additions
and
1,129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 12 additions & 22 deletions
34
fcrepo-configs/src/main/resources/config/infinispan/leveldb-default/infinispan.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,28 @@ | ||
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:infinispan:config:5.2 http://www.infinispan.org/schemas/infinispan-config-5.2.xsd" | ||
xmlns="urn:infinispan:config:5.2"> | ||
xsi:schemaLocation="urn:infinispan:config:6.0 http://www.infinispan.org/schemas/infinispan-config-6.0.xsd | ||
urn:infinispan:config:store:leveldb:6.0 http://infinispan.org/schemas/infinispan-cachestore-leveldb-config-6.0.xsd | ||
" | ||
xmlns="urn:infinispan:config:6.0" xmlns:store="urn:infinispan:config:store:leveldb:6.0"> | ||
|
||
<global> | ||
<globalJmxStatistics enabled="false" allowDuplicateDomains="true"/> | ||
</global> | ||
|
||
<default> | ||
<expiration wakeUpInterval="-1" /> | ||
<unsafe unreliableReturnValues="true" /> | ||
<unsafe unreliableReturnValues="true" /> | ||
</default> | ||
|
||
<namedCache name="FedoraRepository"> | ||
|
||
<eviction maxEntries="500" strategy="LIRS" threadPolicy="PIGGYBACK"/> | ||
|
||
<transaction | ||
transactionManagerLookupClass="org.infinispan.transaction.lookup.GenericTransactionManagerLookup" | ||
transactionMode="TRANSACTIONAL" lockingMode="PESSIMISTIC"/> | ||
|
||
<!-- 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. --> | ||
|
||
<loaders passivation="false" shared="false" preload="false"> | ||
<leveldbStore xmlns="urn:infinispan:config:leveldb:5.2" | ||
fetchPersistentState="true" | ||
location="${fcrepo.ispn.repo.CacheDirPath:target}/data" | ||
expiredLocation="${fcrepo.ispn.repo.CacheDirPath:target}/expired"> | ||
</leveldbStore> | ||
</loaders> | ||
transactionManagerLookupClass="org.infinispan.transaction.lookup.GenericTransactionManagerLookup" | ||
transactionMode="TRANSACTIONAL" | ||
lockingMode="PESSIMISTIC"/> | ||
|
||
<persistence passivation="false"> | ||
<store:leveldbStore location="${fcrepo.ispn.repo.CacheDirPath:target}/data" expiredLocation="${fcrepo.ispn.repo.CacheDirPath:target}/expired"/> | ||
</persistence> | ||
</namedCache> | ||
|
||
</infinispan> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 0 additions & 46 deletions
46
fcrepo-kernel/src/main/java/org/fcrepo/kernel/services/functions/GetCacheStore.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.