Index: rctags/ehcache-2.10.9.1.15/system-tests/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/system-tests/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/system-tests/pom.xml (revision 0)
@@ -1,291 +0,0 @@
-
- 4.0.0
-
- org.terracotta
- system-tests-parent
- 4.3.9.1.2
-
-
- net.sf.ehcache.internal
- ehcache-terracotta-system-tests
- 2.10.9.1.15
- ehcache-terracotta-system-tests
- System tests for ehcache-terracotta
-
- 512m
- 1024m
- -XX:MaxPermSize=512m
- true
- 10.10.1.1
- 2.2.3
- 1.7.25
- 1.9
-
-
-
- org.terracotta
- terracotta
- ${terracotta.core.version}
-
-
- javax.servlet
- javax.servlet-api
-
-
-
-
- net.sf.ehcache
- ehcache
- ${project.version}
- test
-
-
- net.sf.ehcache
- management-ehcache-v1
- ${project.version}
- test
-
-
- net.sf.ehcache
- management-ehcache-v2
- ${project.version}
- test
-
-
- org.terracotta
- terracotta-toolkit-runtime
- ${terracotta.core.version}
- test
-
-
- org.ow2.asm
- asm
- 7.2
- test
-
-
- org.hibernate
- hibernate-core
- 3.3.2.GA
- test
-
-
- javassist
- javassist
- 3.8.0.GA
- test
-
-
- org.apache.derby
- derby
- ${derby.version}
- test
-
-
- org.apache.derby
- derbynet
- ${derby.version}
- test
-
-
- org.apache.derby
- derbyclient
- ${derby.version}
- test
-
-
- javax.transaction
- jta
- 1.1
- test
-
-
- org.codehaus.btm
- btm
- 2.1.3
- test
-
-
- org.apache.geronimo.specs
- geronimo-jta_1.0.1B_spec
- 1.0.1
- test
-
-
- com.atomikos
- transactions-jta
- 3.8.0
- test
-
-
- org.mockito
- mockito-all
-
-
-
-
- org.ow2.jotm
- jotm-core
- 2.1.9
- test
-
-
- commons-logging
- commons-logging
-
-
- commons-logging
- commons-logging-api
-
-
-
-
- org.terracotta.test
- container-test-framework
-
-
- org.quartz-scheduler
- quartz
- ${quartz.version}
-
-
- io.rest-assured
- rest-assured
-
-
- org.codehaus.groovy
- groovy
-
-
- org.codehaus.groovy
- groovy-json
-
-
- org.codehaus.groovy
- groovy-xml
-
-
- net.sf.ehcache.test
- hibernate-ehcache-bundle
- ${osgi-test-tool.version}
-
-
- org.terracotta.test
- osgi-test-utils
- ${osgi-test-tool.version}
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
- test-jar
-
- test-jar
-
-
-
-
-
- org.apache.servicemix.tooling
- depends-maven-plugin
- 1.2
-
-
- generate-depends-file
-
- generate-depends-file
-
-
-
-
-
-
-
-
- include-container-tests
-
-
- appserver
-
-
-
-
-
- org.terracotta
- maven-forge-plugin
-
-
- **/container/**/*Test.java
-
-
-
-
-
-
-
- no-appserver-tests
-
-
- appserver
- no-appserver
-
-
-
-
-
- org.terracotta
- maven-forge-plugin
-
- -Xmx768m
- -XX:MaxPermSize=128m
-
- **/*Test.java
-
-
-
-
-
-
-
- deploy-sonatype
-
- true
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
- jboss
- JBoss Repository
- https://repository.jboss.org/nexus/content/repositories/public/
-
- true
-
-
- false
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/pom.xml (revision 0)
@@ -1,537 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache
- ehcache-root
- 2.10.9.1.15
-
-
- net.sf.ehcache.internal
- ehcache-core
- jar
-
- ehcache-core
- Internal ehcache-core module. This artifact is not meant to be used directly
-
-
- Ehcache
- UTF-8
- UTF-8
- 5
- src/test/java
- src/test/resources
- ehcache
- false
-
- -Xmx64m
-
-
-
-
-
- org.slf4j
- slf4j-api
-
-
- org.terracotta.internal
- statistics
-
-
-
-
- javax.servlet
- javax.servlet-api
-
-
- org.hibernate
- hibernate-core
-
-
- javax.transaction
- jta
-
-
- net.sf.ehcache
- sizeof-agent
-
-
-
-
- org.slf4j
- slf4j-jdk14
-
-
- commons-logging
- commons-logging
-
-
- org.codehaus.btm
- btm
-
-
- net.sf.hibernate
- hibernate
-
-
- org.hamcrest
- hamcrest
-
-
- junit
- junit
-
-
- hamcrest-core
- org.hamcrest
-
-
-
-
- dom4j
- dom4j
-
-
- javassist
- javassist
-
-
- org.hibernate
- hibernate-ehcache
-
-
- org.apache.derby
- derby
-
-
- org.mockito
- mockito-core
-
-
- com.sun.xsom
- xsom
-
-
- org.beanshell
- bsh
-
-
-
-
-
-
- src/main/resources
- true
-
-
- ${project.build.directory}/generated-resources
- false
-
-
- ${basedir}/${testDir}
-
-
- ${basedir}/src/main/config/jcache
-
-
- ${basedir}/${testResources}
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
- test-jar
-
- test-jar
-
-
-
-
-
-
- org.terracotta
- maven-forge-plugin
-
- 1
- false
- ${tests.supplemental.args} ${tests.max.heap.size}
- false
- false
- true
- plain
- false
-
- true
- ${net.sf.ehcache.speedAdjustmentFactor}
- ${project.build.directory}
- true
-
-
- net.sf.ehcache:sizeof-agent
-
-
-
-
- build-info
- generate-resources
-
- buildinfo
-
-
- ${basedir}/..
-
-
-
-
- default-test
-
-
- **/*$*
- **/*PerfTest.java
- **/*PerfTest*.java
- **/Abstract*Test.java
-
-
-
-
- integration-test-execution
- integration-test
-
- test
-
-
- ${checkshort}
- false
-
- **/*$*
-
-
- **/IT*.java
- **/*IT.java
- **/*ITCase.java
-
- ${tests.supplemental.args} -Xms512m -Xmx512m
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-checkstyle-plugin
-
-
- verify
-
- checkstyle
-
-
-
-
- ${basedir}/checkstyle/checkstyle.xml
- ${basedir}/checkstyle/suppressions.xml
- ${basedir}/checkstyle/ClassHeader.txt
- ${skipCheckstyle}
- false
- false
- false
- false
- false
- false
- true
-
-
-
-
- org.apache.maven.plugins
- maven-dependency-plugin
-
-
- generate-resources
- copy-agent-jar-to-resources
-
- copy-dependencies
-
-
- *
- sizeof-agent
- ${project.build.directory}/generated-resources/net/sf/ehcache/pool/sizeof/
- true
- true
-
-
-
-
-
- org.codehaus.mojo
- rmic-maven-plugin
-
-
- rmi-compilation
- compile
-
- rmic
-
-
-
- **/RMICachePeer.class
-
- ${project.build.outputDirectory}
-
-
-
-
-
- org.glassfish.corba
- rmic
- 4.2.1
-
-
-
-
-
-
-
-
- skip-ehcache-core-deploy
-
- true
-
-
-
- staging
-
-
-
- org.apache.maven.plugins
- maven-gpg-plugin
-
-
- sign-artifacts
- deploy
-
- sign
-
-
-
-
-
-
-
-
- perfTests
-
-
-
- org.terracotta
- maven-forge-plugin
-
-
-
- default-test
-
- ${tests.supplemental.args} -Xmx512m
-
- **/*PerfTest.java
- **/*PerfTest*.java
-
-
- **/*$*
- **/Abstract*Test.java
-
-
-
-
-
-
-
-
-
-
- buildnumber-git
-
-
-
- org.codehaus.mojo
- buildnumber-maven-plugin
- 1.0-beta-3
-
-
- generate-resources
-
- create
-
-
-
-
- false
- false
- {0,date,yyyy-MM-dd_HH-mm}_{1}
-
- timestamp
- ${user.name}
-
-
-
-
-
-
-
-
-
- no-interruptible-io-solaris
-
-
- java.vendor
- Sun Microsystems Inc.
-
-
-
- -XX:-UseVMInterruptibleIO
-
-
-
- enable-system-gc-jrockit
-
-
- java.vm.name
- Oracle JRockit(R)
-
-
-
- -XXfullSystemGC -Xverbose:systemgc
-
-
-
- ibmj9
-
-
- java.vm.name
- IBM J9 VM
-
-
-
- -Xenableexplicitgc
- -Xmx256m
-
-
-
-
-
- test-nonstopcache
-
-
-
- org.terracotta
- maven-forge-plugin
-
-
- **/nonstop/*Test.java
-
-
- **/*$*
-
-
-
- java.awt.headless
- true
-
-
-
-
-
-
-
-
-
-
- fast
-
- true
-
-
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
- false
-
-
- true
-
-
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
- true
-
-
- false
-
-
-
-
-
- jboss-releases
- http://repository.jboss.org/nexus/content/groups/public-jboss
-
- true
-
-
- false
-
-
-
-
-
- Java.net Maven 2
- http://download.java.net/maven/2
-
- true
-
-
- false
-
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
- false
-
-
- true
-
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
- true
-
-
- false
-
-
-
-
-
-
Index: rctags/ehcache-2.10.9.1.15/terracotta/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/terracotta/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/terracotta/pom.xml (revision 0)
@@ -1,74 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache
- ehcache-root
- 2.10.9.1.15
-
-
- net.sf.ehcache.internal
- ehcache-terracotta-root
- ehcache-terracotta-root
- pom
-
-
- bootstrap
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
- false
-
-
- true
-
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
- true
-
-
- false
-
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
- false
-
-
- true
-
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
- true
-
-
- false
-
-
-
-
-
-
- deploy-sonatype
-
- true
-
-
-
-
Index: rctags/ehcache-2.10.9.1.15/distribution/events/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/distribution/events/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/distribution/events/pom.xml (revision 0)
@@ -1,248 +0,0 @@
-
- 4.0.0
-
- org.terracotta.forge
- forge-parent
- 4.16
-
-
- net.sf.ehcache.examples
- events
- 2.10.9.1.15
- events
- war
- Clustered Ehcache Terracotta as second level cache for Hibernate
-
- 4.3.9.1.2
- 1.1.116
- 1.1
- true
- 9.4.35.v20201120
-
-
-
- org.slf4j
- slf4j-api
- 1.7.25
-
-
- ch.qos.logback
- logback-classic
- 1.2.3
-
-
- javassist
- javassist
- 3.8.0.GA
-
-
- h2
- ${h2.version}
- com.h2database
-
-
- net.sf.ehcache
- ehcache
- ${project.version}
-
-
- org.terracotta
- terracotta-toolkit-runtime
- ${terracotta.version}
-
-
- javax.servlet
- javax.servlet-api
- 3.1.0
-
-
- org.hibernate
- hibernate-core
- 3.3.1.GA
-
-
- org.slf4j
- slf4j-api
-
-
- javax.transaction
- jta
-
-
-
-
- gf-3122
- gf.javax.transaction
- 1.1
-
-
-
- ${project.name}
-
-
- maven-assembly-plugin
- 2.3
-
- ${project.name}
-
- src/assemble/distribution.xml
-
- gnu
-
-
-
- package
-
- single
-
-
-
-
-
- jetty-maven-plugin
- ${jetty.version}
- org.eclipse.jetty
-
-
- ${project.name}
-
- STOP
-
-
-
- hibernate3-maven-plugin
- 2.1
- org.codehaus.mojo
-
-
- target/classes/hibernate3hbm2ddl.properties
- target/classes/hibernate.cfg.xml
- true
- true
- schema.sql
-
-
-
-
- com.h2database
- h2
- ${h2.version}
-
-
-
-
- org.terracotta.maven.plugins
- tc-maven-plugin
-
-
- org.terracotta
- terracotta
- ${terracotta.version}
-
-
-
-
-
-
-
- start-h2
-
-
-
- org.codehaus.mojo
- exec-maven-plugin
- ${exec-maven-plugin.version}
-
- org.h2.tools.Server
-
- -tcp
- -tcpAllowOthers
-
-
-
-
-
-
-
- stop-h2
-
-
-
- org.codehaus.mojo
- exec-maven-plugin
- ${exec-maven-plugin.version}
-
- org.h2.tools.Server
-
- -tcpShutdown
- tcp://localhost:9092
-
-
-
-
-
-
-
- 9081
-
-
-
- jetty-maven-plugin
- ${jetty.version}
- org.eclipse.jetty
-
-
-
- jetty.port
- 9081
-
-
- 9981
-
-
-
-
-
-
- 9082
-
-
-
- jetty-maven-plugin
- ${jetty.version}
- org.eclipse.jetty
-
-
-
- jetty.port
- 9082
-
-
- 9982
-
-
-
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
Index: rctags/ehcache-2.10.9.1.15/third-party.txt
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/third-party.txt (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/third-party.txt (revision 0)
@@ -1,5 +0,0 @@
-This project depends on repackaged GlassFish libraries.
-They can be identified by their groupId starting with gf-*.
-
-The source code for these libraries can be found at https://svn.java.net/svn/glassfish~svn/.
-Otherwise contact to get the source code for these libraries.
\ No newline at end of file
Index: rctags/ehcache-2.10.9.1.15/TestCategories.properties
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/TestCategories.properties (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/TestCategories.properties (revision 0)
@@ -1,328 +0,0 @@
-net.sf.ehcache.AutoVersioningElementTest=production
-net.sf.ehcache.CacheClassicLruMemoryStoreTest=production
-net.sf.ehcache.CacheCopyOnRwPoolTest=production
-net.sf.ehcache.CacheCopyOnRwReplaceRemoveTest=production
-net.sf.ehcache.CacheExceptionTest=production
-net.sf.ehcache.CacheManagerTest=production
-net.sf.ehcache.CachePinningTest=production
-net.sf.ehcache.CachePoolPinningTest=production
-net.sf.ehcache.CacheTest=production
-net.sf.ehcache.ChrisCachePerformanceTest=production
-net.sf.ehcache.ClockMemoryStoreTest=production
-net.sf.ehcache.DiskStoreTest=production
-net.sf.ehcache.DynamicCacheConfigurationTest=production
-net.sf.ehcache.ElementTest=production
-net.sf.ehcache.ExplicitMaxInMemoryTest=production
-net.sf.ehcache.InfiniteCapacityCacheTest=production
-net.sf.ehcache.MemoryStoreTester=production
-net.sf.ehcache.OverflowCacheTest=production
-net.sf.ehcache.PoolCacheManagerTest=production
-net.sf.ehcache.RecalculateSizeTest=production
-net.sf.ehcache.SameCacheManagerNameTest=production
-net.sf.ehcache.StatisticsTest=production
-net.sf.ehcache.TerracottaIntegrationTest=production
-net.sf.ehcache.XACacheTest=production
-net.sf.ehcache.concurrent.ConcurrencyUtilTest=production
-net.sf.ehcache.concurrent.ConcurrentCacheMethodsTest=production
-net.sf.ehcache.config.CacheConfigConflictTest=production
-net.sf.ehcache.config.CacheConfigurationListenerTest=production
-net.sf.ehcache.config.CacheConfigurationTest=production
-net.sf.ehcache.config.CacheWriterConfigurationTest=production
-net.sf.ehcache.config.CoherenceModeConfigTest=production
-net.sf.ehcache.config.ConfigurationFactoryTest=production
-net.sf.ehcache.config.ConfigurationHelperTest=production
-net.sf.ehcache.config.DefaultCacheOptionalTest=production
-net.sf.ehcache.config.DynamicCacheConfigurationValidityTest=production
-net.sf.ehcache.config.InvalidConfigTest=production
-net.sf.ehcache.config.MemoryUnitTest=production
-net.sf.ehcache.config.SchemaValidationTest=production
-net.sf.ehcache.config.StorageStrategyConfigTest=production
-net.sf.ehcache.config.generator.AllConfigurationGeneratedTest=production
-net.sf.ehcache.config.generator.ConfigurationGeneratedParsesTest=production
-net.sf.ehcache.config.generator.DecoratedCacheConfigTest=production
-net.sf.ehcache.config.nonstop.NonStopConfigTest=production
-net.sf.ehcache.config.nonstop.NonstopInheritsDefaultConfigTest=production
-net.sf.ehcache.constructs.CacheDecoratorFactoryTest=production
-net.sf.ehcache.constructs.DecoratorNoNameTest=production
-net.sf.ehcache.constructs.DefaultCacheDecoratorFactoryTest=production
-net.sf.ehcache.constructs.blocking.BlockingCacheTest=production
-net.sf.ehcache.constructs.blocking.SelfPopulatingCacheTest=production
-net.sf.ehcache.constructs.blocking.UpdatingSelfPopulatingCacheTest=production
-net.sf.ehcache.constructs.locking.ExplicitLockApiTest=production
-net.sf.ehcache.constructs.nonstop.BasicNonstopTest=production
-net.sf.ehcache.constructs.nonstop.ExecutorServiceTest=production
-net.sf.ehcache.constructs.nonstop.NonStopThreadDestroyedTest=production
-net.sf.ehcache.constructs.nonstop.NonstopTestUtil=production
-net.sf.ehcache.constructs.nonstop.TimeoutOnRejoinTest=production
-net.sf.ehcache.distribution.EventMessageTest=production
-net.sf.ehcache.distribution.ManualRMIPeerProviderTest=production
-net.sf.ehcache.distribution.MulticastRMIPeerProviderTest=production
-net.sf.ehcache.distribution.PayloadUtilTest=production
-net.sf.ehcache.distribution.RMIBootstrapCacheLoaderTest=production
-net.sf.ehcache.distribution.RMICacheManagerPeerListenerTest=production
-net.sf.ehcache.distribution.RMICacheManagerPeerTest=production
-net.sf.ehcache.distribution.RMICacheReplicatorTest=production
-net.sf.ehcache.distribution.RMICacheReplicatorWithLargePayloadTest=production
-net.sf.ehcache.distribution.RMIDistributedCacheTest=production
-net.sf.ehcache.distribution.ShutdownRMICacheManagerPeerListenerTestImpl=production
-net.sf.ehcache.event.BulkOpsEventListenerTest=production
-net.sf.ehcache.event.CacheEventListenerTest=production
-net.sf.ehcache.event.CacheManagerEventListenerTest=production
-net.sf.ehcache.event.EvictionListenerTest=production
-net.sf.ehcache.event.ProgrammaticallyCreatedCacheEventListenerTest=production
-net.sf.ehcache.event.TestCacheManagerEventListenerFactory=production
-net.sf.ehcache.exceptionhandler.CacheExceptionHandlerTest=production
-net.sf.ehcache.extension.CacheExtensionTest=production
-net.sf.ehcache.extension.TestCacheExtension=production
-net.sf.ehcache.extension.TestCacheExtensionFactory=production
-net.sf.ehcache.hibernate.EhCacheRegionFactoryTest=production
-net.sf.ehcache.hibernate.HibernateAPIUsageTest=production
-net.sf.ehcache.hibernate.HibernateCacheTest=production
-net.sf.ehcache.hibernate.management.impl.EhcacheStatsImplTest=production
-net.sf.ehcache.loader.CacheLoaderTest=production
-net.sf.ehcache.loader.CompositeLoaderTest=production
-net.sf.ehcache.management.ManagementServiceTest=production
-net.sf.ehcache.management.ResourceClassLoaderTest=production
-net.sf.ehcache.management.sampled.MBeanRegistrationProviderTest=production
-net.sf.ehcache.pool.PoolableStoresTest=production
-net.sf.ehcache.pool.TwinCachesTest=production
-net.sf.ehcache.pool.sizeof.AgentLoaderRaceTest=production
-net.sf.ehcache.pool.sizeof.AgentLoaderSystemPropTest=production
-net.sf.ehcache.pool.sizeof.AgentLoaderTest=production
-net.sf.ehcache.pool.sizeof.FilteredSizeOfTest=production
-net.sf.ehcache.pool.sizeof.ObjectGraphWalkerTest=production
-net.sf.ehcache.pool.sizeof.SizeOfTest=production
-net.sf.ehcache.pool.sizeof.filter.AnnotationProxyFactoryTest=production
-net.sf.ehcache.search.BasicSearchTest=production
-net.sf.ehcache.search.QueryExamplesTest=production
-net.sf.ehcache.search.SearchTestUtil=production
-net.sf.ehcache.search.TestAttributeExtractor=production
-net.sf.ehcache.search.TransactionalSearchTest=production
-net.sf.ehcache.search.attribute.JavaBeanAttributeExtractorTest=production
-net.sf.ehcache.search.attribute.ReflectionAttributeExtractorTest=production
-net.sf.ehcache.servermaplocalcache.ServerMapLocalCacheTest=production
-net.sf.ehcache.statistics.CacheUsageListenerTest=production
-net.sf.ehcache.statistics.DisabledCacheStatisticsTest=production
-net.sf.ehcache.statistics.LiveCacheStatisticsTest=production
-net.sf.ehcache.store.CacheKeySetTest=production
-net.sf.ehcache.store.DiskBackedMemoryStoreTest=production
-net.sf.ehcache.store.DiskStoreBootstrapCacheLoaderFactoryTest=production
-net.sf.ehcache.store.ElementIdAssigningStoreTest=production
-net.sf.ehcache.store.FifoMemoryStoreTest=production
-net.sf.ehcache.store.InitialCapacityTest=production
-net.sf.ehcache.store.LruClassicMemoryStoreTest=production
-net.sf.ehcache.store.LruMemoryStoreTest=production
-net.sf.ehcache.store.MemoryOnlyStoreTest=production
-net.sf.ehcache.store.MemoryStorePinningTest=production
-net.sf.ehcache.store.MemoryStorePoolingTest=production
-net.sf.ehcache.store.OffheapStoreInOssTest=production
-net.sf.ehcache.store.PoolableMemoryStoreTest=production
-net.sf.ehcache.store.XATransactionalStoreTest=production
-net.sf.ehcache.store.chm.SelectableConcurrentHashMapTest=production
-net.sf.ehcache.store.compound.PartialSerializationCopyStrategyTest=production
-net.sf.ehcache.store.compound.TCCLReadWriteSerializationCopyStrategyTest=production
-net.sf.ehcache.store.disk.DiskBackMemoryStoreTest=production
-net.sf.ehcache.store.disk.DiskStorePoolingTest=production
-net.sf.ehcache.store.disk.DiskStoreTest=production
-net.sf.ehcache.store.disk.ods.FileAllocationTreeTest=production
-net.sf.ehcache.terracotta.BasicRejoinTest=production
-net.sf.ehcache.terracotta.BootstrapCacheTest=quarantined
-net.sf.ehcache.terracotta.EventReplicationTest=production
-net.sf.ehcache.terracotta.KeySnapshotterTest=production
-net.sf.ehcache.terracotta.RejoinEventSequenceTest=production
-net.sf.ehcache.terracotta.RotatingSnapshotFileTest=production
-net.sf.ehcache.terracotta.StorageStrategyInvalidConfigurationTest=production
-net.sf.ehcache.terracotta.TerracottaBootstrapCacheLoaderTest=production
-net.sf.ehcache.terracotta.TerracottaUnitTesting=production
-net.sf.ehcache.terracotta.TerracottaWithLocalOffHeapTest=production
-net.sf.ehcache.terracotta.TestRejoinStore=production
-net.sf.ehcache.transaction.SoftLockPinningTest=production
-net.sf.ehcache.transaction.local.LocalTransactionSizeOfTest=production
-net.sf.ehcache.transaction.local.LocalTransactionTest=production
-net.sf.ehcache.transaction.xa.TwoPCTest=production
-net.sf.ehcache.transaction.xa.XAThreadPoolTest=production
-net.sf.ehcache.transaction.xa.XATransactionSizeOfTest=production
-net.sf.ehcache.transaction.xa.XATransactionTest=production
-net.sf.ehcache.util.LargeCollectionTest=production
-net.sf.ehcache.util.MemoryEfficientByteArrayOutputStreamTest=production
-net.sf.ehcache.util.MemorySizeParserTest=production
-net.sf.ehcache.util.ProductInfoTest=production
-net.sf.ehcache.util.SlewClockTest=production
-net.sf.ehcache.util.SmokeTests=production
-net.sf.ehcache.util.TimestamperTest=production
-net.sf.ehcache.util.UpdateCheckerTest=production
-net.sf.ehcache.util.WeakIdentityConcurrentMapTest=production
-net.sf.ehcache.writer.CacheWriterTest=production
-net.sf.ehcache.writer.CoalesceKeysFilterTest=production
-net.sf.ehcache.writer.TestCacheWriter=production
-net.sf.ehcache.writer.TestCacheWriterException=production
-net.sf.ehcache.writer.TestCacheWriterFactory=production
-net.sf.ehcache.writer.TestCacheWriterRetries=production
-net.sf.ehcache.writer.TestCacheWriterSlow=production
-org.terracotta.ehcache.tests.BasicAtomikosXATest=quarantined
-org.terracotta.ehcache.tests.BasicBTMXATest=quarantined
-org.terracotta.ehcache.tests.BasicStandaloneCacheAndServerTopologyTest=production
-org.terracotta.ehcache.tests.BasicStandaloneCacheTest=production
-org.terracotta.ehcache.tests.BasicWriteBehindTest=quarantined
-org.terracotta.ehcache.tests.CacheBlockingQueueTest=quarantined
-org.terracotta.ehcache.tests.CacheConsistencyTest=production
-org.terracotta.ehcache.tests.CacheLocksTest=quarantined
-org.terracotta.ehcache.tests.CacheWriterBTMXATest=quarantined
-org.terracotta.ehcache.tests.ClusterCacheEventsRejoinEnabledTest=quarantined
-org.terracotta.ehcache.tests.ClusterEventsRejoinEnabledTest=quarantined
-org.terracotta.ehcache.tests.ClusterEventsTest=production
-org.terracotta.ehcache.tests.ClusteredCacheRemovalTest=quarantined
-org.terracotta.ehcache.tests.CoalescingWriteBehindTest=quarantined
-org.terracotta.ehcache.tests.CompressedCacheTest=production
-org.terracotta.ehcache.tests.ConcurrencyValueTest=quarantined
-org.terracotta.ehcache.tests.CopyOnWriteTest=production
-org.terracotta.ehcache.tests.DoubleConfigStandaloneCacheTest=production
-org.terracotta.ehcache.tests.EmbeddedConfigNamespaceStandaloneCacheTest=production
-org.terracotta.ehcache.tests.EmbeddedConfigStandaloneCacheTest=production
-org.terracotta.ehcache.tests.EmbeddedEhcacheJarTest=production
-org.terracotta.ehcache.tests.EmbeddedEhcacheJarTestClient=production
-org.terracotta.ehcache.tests.ExpiryListenerTest=production
-org.terracotta.ehcache.tests.ExplicitlyUnclusteredStandaloneCacheTest=production
-org.terracotta.ehcache.tests.ExpressShutdownTest=production
-org.terracotta.ehcache.tests.GetKeysSerializedCacheTest=production
-org.terracotta.ehcache.tests.HibernateExpressShutdownTest=production
-org.terracotta.ehcache.tests.LocalTxTest=production
-org.terracotta.ehcache.tests.MemoryStoreEvictionPolicyTest=production
-org.terracotta.ehcache.tests.MixedCacheTest=production
-org.terracotta.ehcache.tests.NamelessCacheManagerStandaloneCacheTest=production
-org.terracotta.ehcache.tests.NoTcConfigStandaloneCacheTest=production
-org.terracotta.ehcache.tests.OtherClassLoaderEventTest=production
-org.terracotta.ehcache.tests.OtherClassloaderCacheTest=production
-org.terracotta.ehcache.tests.OverflowToDiskStandaloneCacheTest=production
-org.terracotta.ehcache.tests.SerializationWriteBehindTest=production
-org.terracotta.ehcache.tests.SerializedArrayCacheTest=production
-org.terracotta.ehcache.tests.SuspendResumeAtomikosXATest=production
-org.terracotta.ehcache.tests.SuspendResumeBTMXATest=production
-org.terracotta.ehcache.tests.SynchronousWriteBehindTest=production
-org.terracotta.ehcache.tests.SystemPropTcConfigTest=production
-org.terracotta.ehcache.tests.ThreadLocalTest=production
-org.terracotta.ehcache.tests.TwoResourceAtomikosXATest=production
-org.terracotta.ehcache.tests.TwoResourceBTMXATest=production
-org.terracotta.ehcache.tests.TwoResourceSuspendResumeAtomikosXATest=production
-org.terracotta.ehcache.tests.TwoResourceSuspendResumeBTMXATest=production
-org.terracotta.ehcache.tests.UrlConfigStandaloneCacheTest=production
-org.terracotta.ehcache.tests.XAResourceTest=production
-org.terracotta.ehcache.tests.coherence.CacheCoherenceExpressTest=quarantined
-org.terracotta.ehcache.tests.coherence.IncoherentNodesTest=quarantined
-org.terracotta.ehcache.tests.coherence.RestartingL1ExpressTest=quarantined
-org.terracotta.ehcache.tests.container.BasicContainerJTATest=production
-org.terracotta.ehcache.tests.container.BasicContainerTest=production
-org.terracotta.ehcache.tests.container.BasicJTATestServlet=production
-org.terracotta.ehcache.tests.container.BasicTestServlet=production
-org.terracotta.ehcache.tests.container.EARContainerTest=production
-org.terracotta.ehcache.tests.container.TwoResourceContainerJTATest=production
-org.terracotta.ehcache.tests.container.TwoResourceJTATestServlet=production
-org.terracotta.ehcache.tests.container.hibernate.BaseClusteredRegionFactoryTest=production
-org.terracotta.ehcache.tests.container.hibernate.BaseClusteredRegionFactoryTestServlet=production
-org.terracotta.ehcache.tests.container.hibernate.nontransactional.EhCacheClusteredHibernateCacheTest=production
-org.terracotta.ehcache.tests.container.hibernate.nontransactional.EmptySecondLevelCacheEntryTest=production
-org.terracotta.ehcache.tests.container.hibernate.nontransactional.KeyDeserializationSecondLevelCacheEntryTest=production
-org.terracotta.ehcache.tests.container.hibernate.nontransactional.KeyDeserializationSecondLevelCacheEntryTestServlet=production
-org.terracotta.ehcache.tests.container.hibernate.nontransactional.NonEternalSecondLevelCacheTest=production
-org.terracotta.ehcache.tests.container.hibernate.nontransactional.NonEternalSecondLevelCacheTestServlet=production
-org.terracotta.ehcache.tests.container.hibernate.nontransactional.NonTransactionalCacheTest=production
-org.terracotta.ehcache.tests.container.hibernate.nontransactional.QueryCacheInvalidationTest=production
-org.terracotta.ehcache.tests.loader.LoaderTest=production
-org.terracotta.ehcache.tests.servermap.BasicServerMapExpressCacheTest=production
-org.terracotta.ehcache.tests.servermap.BasicServerMapExpressTestHelper=production
-org.terracotta.ehcache.tests.servermap.CacheSizeTest=production
-org.terracotta.ehcache.tests.servermap.LockGCNotFlushingEntriesTest=production
-org.terracotta.ehcache.tests.servermap.LockGCNotFlushingEntriesTestClient=production
-org.terracotta.ehcache.tests.servermap.ServerMapCapacityEvictionExpressTest=production
-org.terracotta.ehcache.tests.servermap.ServerMapCapacityEvictionExpressTestClient=production
-org.terracotta.ehcache.tests.servermap.ServerMapClearExpressTest=production
-org.terracotta.ehcache.tests.servermap.ServerMapClearExpressTestClient1=production
-org.terracotta.ehcache.tests.servermap.ServerMapClearExpressTestClient2=production
-org.terracotta.ehcache.tests.servermap.ServerMapClearTestHelper=production
-org.terracotta.ehcache.tests.servermap.ServerMapElementTTIExpressTest=production
-org.terracotta.ehcache.tests.servermap.ServerMapElementTTIExpressTestClient=production
-org.terracotta.ehcache.tests.servermap.ServerMapElementTTLExpressTest=production
-org.terracotta.ehcache.tests.servermap.ServerMapElementTTLExpressTestClient=production
-org.terracotta.ehcache.tests.servermap.ServerMapL1CapacityEvictionExpressTest=production
-org.terracotta.ehcache.tests.servermap.ServerMapL1CapacityEvictionExpressTestClient=production
-org.terracotta.ehcache.tests.servermap.ServerMapL1CapacityExpirationExpressTest=production
-org.terracotta.ehcache.tests.servermap.ServerMapL1CapacityExpirationExpressTestClient=production
-org.terracotta.ehcache.tests.servermap.ServerMapL1EvictionOffHeapDestroyExpressTest=production
-org.terracotta.ehcache.tests.servermap.ServerMapL1EvictionOffHeapDestroyExpressTestClient=production
-org.terracotta.ehcache.tests.servermap.ServerMapL2EvictionReachesL1Test=production
-org.terracotta.ehcache.tests.servermap.ServerMapL2EvictionReachesL1TestClient=production
-org.terracotta.ehcache.tests.servermap.ServerMapL2EvictionReachesOneL1Test=production
-org.terracotta.ehcache.tests.servermap.ServerMapL2EvictionReachesOneL1TestClient=production
-org.terracotta.ehcache.tests.servermap.ServerMapLocalSizeTest=production
-org.terracotta.ehcache.tests.servermap.ServerMapTTIExpressTest=production
-org.terracotta.ehcache.tests.servermap.ServerMapTTIExpressTestClient=production
-org.terracotta.ehcache.tests.servermap.ServerMapTTLExpressTest=production
-org.terracotta.ehcache.tests.servermap.ServerMapTTLExpressTestClient=production
-org.terracotta.modules.ehcache.LocalVMResourcesTestUtil=production
-org.terracotta.modules.ehcache.bulkops.BulkOpsBasicSerializationSanityTest=production
-org.terracotta.modules.ehcache.bulkops.BulkOpsExplictLockingTest=production
-org.terracotta.modules.ehcache.bulkops.BulkOpsGenericSanityTest=production
-org.terracotta.modules.ehcache.bulkops.GetAllCustomMapTest=production
-org.terracotta.modules.ehcache.bulkops.GetAllNonLiteralTest=production
-org.terracotta.modules.ehcache.bulkops.GetAllTest=production
-org.terracotta.modules.ehcache.cluster.CacheClusterTest=production
-org.terracotta.modules.ehcache.cluster.ClusterTopologyListenerTest=production
-org.terracotta.modules.ehcache.cluster.FailoverDuringPassiveSyncTest=production
-org.terracotta.modules.ehcache.cluster.FailoverToOutOfSyncPassivesTest=production
-org.terracotta.modules.ehcache.coherence.CacheCoherenceTest=production
-org.terracotta.modules.ehcache.coherence.CacheCoherenceTestL1Client=production
-org.terracotta.modules.ehcache.coherence.GetSizeTest=production
-org.terracotta.modules.ehcache.coherence.NoLocksCreatedEventualTest=production
-org.terracotta.modules.ehcache.coherence.NoLocksCreatedTest=production
-org.terracotta.modules.ehcache.event.ClusterTopologyTest=production
-org.terracotta.modules.ehcache.event.ClusteredEventsAllTest=production
-org.terracotta.modules.ehcache.event.ClusteredEventsEvictionExpiryTest=production
-org.terracotta.modules.ehcache.event.ClusteredEventsLocalTest=production
-org.terracotta.modules.ehcache.event.ClusteredEventsRemoteTest=production
-org.terracotta.modules.ehcache.event.ClusteredEventsSerializationTest=production
-org.terracotta.modules.ehcache.l1bm.L1BMCacheManagerRecreateTest=production
-org.terracotta.modules.ehcache.l1bm.L1BMCacheStatisticsTest=production
-org.terracotta.modules.ehcache.l1bm.L1BMDynamicConfigurationTest=production
-org.terracotta.modules.ehcache.l1bm.L1BMOnHeapActivePassiveSanityTest=production
-org.terracotta.modules.ehcache.l1bm.L1BMOnHeapBasicSanityTestApp=production
-org.terracotta.modules.ehcache.l1bm.L1BMOnHeapReadWriteTest=production
-org.terracotta.modules.ehcache.l1bm.L1BMOnHeapSanityTest=production
-org.terracotta.modules.ehcache.l1bm.L1BMOnHeapWithTTISanityTest=production
-org.terracotta.modules.ehcache.l1bm.L1BMOnHeapWithTTLSanityTest=production
-org.terracotta.modules.ehcache.l1bm.L1BMUpdateInvalidatedEntryTest=production
-org.terracotta.modules.ehcache.store.BasicCacheSyncWriteTest=production
-org.terracotta.modules.ehcache.store.BasicCacheTest=production
-org.terracotta.modules.ehcache.store.BlockingCacheTest=production
-org.terracotta.modules.ehcache.store.CachePinningTest=production
-org.terracotta.modules.ehcache.store.ClassicIsInvalidTest=production
-org.terracotta.modules.ehcache.store.ConcurrentCacheMethodsTest=production
-org.terracotta.modules.ehcache.store.CopyOnReadTest=production
-org.terracotta.modules.ehcache.store.DCV2ConfigurationChangePropagationTest=production
-org.terracotta.modules.ehcache.store.DynamicCacheConfigurationTest=production
-org.terracotta.modules.ehcache.store.EvictionListenerTest=production
-org.terracotta.modules.ehcache.store.ExpirationListenerTest=production
-org.terracotta.modules.ehcache.store.GetKeysSerializedCacheTest=production
-org.terracotta.modules.ehcache.store.InlineExpirationTest=production
-org.terracotta.modules.ehcache.store.LocalBufferedMapTest=production
-org.terracotta.modules.ehcache.store.LocalReadsGetKeysTest=production
-org.terracotta.modules.ehcache.store.NoCacheWithMaxBytesLocalDiskTest=production
-org.terracotta.modules.ehcache.store.PinnedCacheTest=production
-org.terracotta.modules.ehcache.store.PrimitiveClassTest=production
-org.terracotta.modules.ehcache.store.ProgrammaticCacheTest=production
-org.terracotta.modules.ehcache.store.ProgrammaticConfigTest=production
-org.terracotta.modules.ehcache.store.SampledStatisticTimerTest=production
-org.terracotta.modules.ehcache.store.SerializedCacheCopyOnReadTest=production
-org.terracotta.modules.ehcache.store.SerializedCacheTest=production
-org.terracotta.modules.ehcache.store.ServerMapBasicCacheTest=production
-org.terracotta.modules.ehcache.store.SimpleVersionTest=production
-org.terracotta.modules.ehcache.store.StorageStrategyNotSupportedTest=production
-org.terracotta.modules.ehcache.store.TTICacheTest=production
-org.terracotta.modules.ehcache.store.TTLCacheTest=production
-org.terracotta.modules.ehcache.store.TotalCapacityTest=production
-org.terracotta.modules.ehcache.store.backend.BulkLoadInternalKeyRepresentationExposedTest=production
-org.terracotta.modules.ehcache.writebehind.AsyncWriteBehindTest=production
-org.terracotta.modules.ehcache.writebehind.BasicWriteBehindTest=production
-org.terracotta.modules.ehcache.writebehind.CacheSeparationWriteBehindTest=production
-org.terracotta.modules.ehcache.writebehind.CoalescingWriteBehindTest=production
-org.terracotta.modules.ehcache.writebehind.RemovingCacheWriteBehindTest=production
-org.terracotta.modules.ehcache.writebehind.SerializationWriteBehindTest=production
Index: rctags/ehcache-2.10.9.1.15/management-ehcache-impl/management-ehcache-common/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/management-ehcache-impl/management-ehcache-common/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/management-ehcache-impl/management-ehcache-common/pom.xml (revision 0)
@@ -1,87 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache
- management-ehcache-impl-parent
- 2.10.9.1.15
- ..
-
-
- management-ehcache-common
- management-ehcache-common
- A common library shared between different management-ehcache implementation versions
-
-
-
- org.terracotta
- management-core-resources
-
-
- net.sf.ehcache.internal
- ehcache-core
- ${project.version}
- provided
-
-
- javax.servlet
- javax.servlet-api
-
-
- org.eclipse.jetty
- jetty-servlet
-
-
- commons-io
- commons-io
- 2.6
- test
-
-
- org.easymock
- easymock
- test
-
-
- org.powermock
- powermock-api-easymock
- test
-
-
- org.powermock
- powermock-module-junit4
- test
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
Index: rctags/ehcache-2.10.9.1.15/management-ehcache-impl/management-ehcache-impl-v2/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/management-ehcache-impl/management-ehcache-impl-v2/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/management-ehcache-impl/management-ehcache-impl-v2/pom.xml (revision 0)
@@ -1,137 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache
- management-ehcache-impl-parent
- 2.10.9.1.15
- ..
-
-
- management-ehcache-impl-v2
- management-ehcache-impl-v2
- A product library integrating with ehcache to construct the relevant management resource entities V1
-
-
-
- net.sf.ehcache
- management-ehcache-v2
- ${project.version}
-
-
- net.sf.ehcache
- management-ehcache-common
- ${project.version}
-
-
- org.terracotta
- management-core-resources
- ${management-core.version}
- test-jar
- test
-
-
- net.sf.ehcache.internal
- ehcache-core
- ${project.version}
- provided
-
-
- net.sf.ehcache.internal
- ehcache-terracotta-bootstrap
- ${project.version}
- provided
-
-
- org.terracotta.toolkit
- terracotta-toolkit-api
- 2.10
- provided
-
-
- org.terracotta.toolkit
- terracotta-toolkit-api-internal
- provided
-
-
- javax.servlet
- javax.servlet-api
- runtime
-
-
- org.easymock
- easymock
- test
-
-
- org.eclipse.jetty
- jetty-servlet
- test
-
-
- org.mockito
- mockito-core
- test
-
-
- org.powermock
- powermock-api-easymock
- test
-
-
- org.powermock
- powermock-module-junit4
- test
-
-
- org.hamcrest
- hamcrest
- 2.1
- test
-
-
- commons-io
- commons-io
- 2.6
- test
-
-
- net.sf.ehcache.internal
- ehcache-core
- test-jar
- ${project.version}
- test
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
Index: rctags/ehcache-2.10.9.1.15/ehcache-scheduled-refresh/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-scheduled-refresh/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-scheduled-refresh/pom.xml (revision 0)
@@ -1,49 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache
- ehcache-root
- 2.10.9.1.15
- ..
-
-
- ehcache-scheduled-refresh
- net.sf.ehcache.internal
- ehcache-scheduled-refresh
- Ehcache functionality for Scheduled Refresh; uses the Quartz Job Scheduler
-
-
-
- net.sf.ehcache.internal
- ehcache-core
- ${project.version}
-
-
- org.quartz-scheduler
- quartz
- provided
-
-
- org.slf4j
- slf4j-jdk14
- provided
-
-
- junit
- junit
-
-
- org.hamcrest
- hamcrest
-
-
- net.sf.ehcache.internal
- ehcache-core
- test-jar
- ${project.version}
- test
-
-
-
Index: rctags/ehcache-2.10.9.1.15/README.txt
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/README.txt (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/README.txt (revision 0)
@@ -1,18 +0,0 @@
-1. To compile:
- %> mvn install -DskipTests
-
-Note: the final Ehcache jar is found under ehcache/target
-
-
-2. To build Ehcache distribution kit:
-
- %> cd distribution
-
- %> mvn package (build without an embedded Terracotta kit, lean and mean Ehcache kit)
-
- %> mvn package -Dtc-kit-url=http://url/to/teracotta.tar.gz (built with Terracotta kit, offical distribution kit)
-
-3. To deploy Maven central repo (via Sonatype)
-
- %> mvn clean deploy -P sign-artifacts,deploy-sonatype -DskipTests
-
\ No newline at end of file
Index: rctags/ehcache-2.10.9.1.15/ehcache/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache/pom.xml (revision 0)
@@ -1,418 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache
- ehcache-root
- 2.10.9.1.15
- ..
-
-
- ehcache
- jar
- ehcache
- Ehcache is an open source, standards-based cache used to boost performance,
- offload the database and simplify scalability. Ehcache is robust, proven and full-featured and
- this has made it the most widely-used Java-based cache.
-
-
-
- The Apache Software License, Version 2.0
- src/assemble/EHCACHE-CORE-LICENSE.txt
-
-
- http://ehcache.org
-
-
- ${project.artifactId}-${project.version}-distribution
- ${project.build.directory}/${kit.name}
- ${project.build.directory}/tmp/terracotta
- 2.1.1
- false
- true
-
-
-
-
-
- net.sf.ehcache.internal
- ehcache-terracotta-bootstrap
- ${project.version}
-
-
- net.sf.ehcache.internal
- ehcache-rest-agent
- ${project.version}
-
-
- net.sf.ehcache.internal
- ehcache-core
- ${project.version}
-
-
- net.sf.ehcache.internal
- ehcache-scheduled-refresh
- ${project.version}
-
-
- net.sf.ehcache.internal
- ehcache-search-parser
- ${project.version}
-
-
- junit
- junit
-
-
- org.terracotta
- product-upgradability-testing-utils
- 0.9.4
- test
-
-
- org.codehaus.btm
- btm
- 2.1.3
- test
-
-
- org.quartz-scheduler
- quartz
- 2.2.3
- test
-
-
- org.slf4j
- slf4j-jdk14
-
-
-
-
-
-
- ${basedir}/src/main/resources
- true
-
-
-
-
-
- org.apache.maven.plugins
- maven-dependency-plugin
-
-
- copy-TIMs
-
- org.terracotta.modules
- ${project.build.outputDirectory}/META-INF/terracotta/TIMs
-
- process-resources
-
- copy-dependencies
-
-
-
-
-
- org.terracotta
- maven-forge-plugin
-
-
- create-manifest
- package
-
- manifest
-
-
- ${basedir}/..
- ${project.build.directory}/MANIFEST.MF
-
- Apache Software License, Version 2.0
- Supported
- ${project.artifactId}
- ${project.description}
-
-
-
-
- enforce-dependencies
-
- enforceDependencies
-
- verify
-
- net.sf.ehcache.internal
- ehcache-core
- ${project.version}
-
-
-
-
-
-
-
-
-
- devmode
-
-
- devmode
- true
-
- true
-
-
-
-
- org.apache.maven.plugins
- maven-dependency-plugin
-
-
- list-dependencies
-
- ${project.build.outputDirectory}/META-INF/devmode/${project.groupId}/${project.artifactId}/dependencies.txt
-
-
- list
-
- compile
-
-
-
-
-
-
-
-
- fullmode
-
-
- devmode
- false
-
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- 3.1.1
-
-
- create-javadoc
- prepare-package
-
- jar
-
-
-
-
- org.hibernate
- hibernate-core
- ${hibernate-core.version}
-
-
- none
- ${skipJavadoc}
- true
- 128m
- 512
- true
- ehcache]]>
- ${project.name} ${project.version} API
- ${project.name} ${project.version} API
- Copyright 2001-{currentYear}, Terracotta, Inc.
- ${basedir}/src/main/java/net/sf/ehcache/overview.html
- true
-
- net.sf.ehcache.internal:ehcache-core
-
- 8
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-shade-plugin
-
- record-shader
- true
- true
-
-
- net.sf.ehcache.internal:*
- org.terracotta.internal:statistics
- com.terracotta:clustered-entity-management
-
-
-
-
- *:*
-
- META-INF/maven/com.terracotta/**
- META-INF/maven/net.sf.ehcache.internal/**
- META-INF/maven/org.terracotta.internal/**
- **/license.txt
- **/thirdpartylicenses.txt
- META-INF/*.SF
- META-INF/*.DSA
- META-INF/*.RSA
- **/LICENSE
- **/LICENSE.txt
- **/NOTICE
- **/NOTICE.txt
- **/ASL2.0
- **/DEPENDENCIES
-
-
-
- true
- ${project.build.directory}/dependency-reduced-pom.xml
-
-
- MANIFEST.MF
-
-
- META-INF/MANIFEST.MF
- ${project.build.directory}/MANIFEST.MF
-
-
-
-
-
- shade-jar
- package
-
- shade
-
-
-
-
-
- org.apache.maven.plugins
- maven-antrun-plugin
- 1.7
-
-
- unpack-jar-for-bundling
- package
-
- run
-
-
-
-
-
-
-
-
-
-
- org.apache.felix
- maven-bundle-plugin
- 4.2.1
-
- ${project.build.directory}
-
- bitronix.tm;resolution:=optional,
- bitronix.tm.resource.ehcache;resolution:=optional,
- com.atomikos.*;resolution:=optional,
- com.atomikos.icatch.jta;resolution:=optional,
- weblogic.transaction;resolution:=optional,
- javax.transaction.*;resolution:=optional,
- javax.servlet;resolution:=optional,
- javax.net.ssl;resolution:=optional,
- javax.activation;resolution:=optional,
- javax.xml.stream;resolution:=optional,
- javax.xml.transform;resolution:=optional,
- javax.xml.transform.sax;resolution:=optional,
- javax.xml.transform.dom;resolution:=optional,
- javax.xml.transform.stream;resolution:=optional,
- org.w3c.dom;resolution:=optional,
- org.hibernate.*;resolution:=optional,
- org.terracotta.toolkit.*;resolution:=optional,
- org.quartz.*;resolution:=optional,
- org.terracotta.quartz.*;resolution:=optional,
- com.sun.management.*;resolution:="optional",
- net.sf.ehcache.terracotta.security;resolution:=optional,
- org.jboss.vfs;resolution:=optional,
- sun.management.*;resolution:=optional,
- !com.google.apphosting.api,
- !sun.misc,*
-
- net.sf.ehcache.*
- org.terracotta.*
- JavaSE-1.8
-
- *;scope=provided|runtime
-
-
-
- generate-osgi-headers
- package
-
- manifest
-
-
-
-
-
- org.codehaus.gmaven
- groovy-maven-plugin
- ${groovy-maven-plugin.version}
-
-
- repackage-jar
- package
-
- execute
-
-
-
- def jarFile = new File(project.build.directory, "${project.artifactId}-${project.version}.jar")
- ant.copy(file: new File(project.build.directory, "dependency-reduced-pom.xml"),
- tofile: new File(project.build.outputDirectory, "META-INF/maven/${project.groupId}/${project.artifactId}/pom.xml"))
- ant.jar(destfile: jarFile, basedir: new File(project.build.outputDirectory).getAbsolutePath(), manifest: new File(project.build.directory, "MANIFEST.MF"))
-
-
-
-
-
-
-
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
- JIRA
- https://jira.terracotta.org/jira/browse/EHC
-
-
-
Index: rctags/ehcache-2.10.9.1.15/terracotta/bootstrap/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/terracotta/bootstrap/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/terracotta/bootstrap/pom.xml (revision 0)
@@ -1,98 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache.internal
- ehcache-terracotta-root
- 2.10.9.1.15
-
-
- ehcache-terracotta-bootstrap
- ehcache-terracotta-bootstrap
- jar
-
-
- false
- 1.19
- 0.11.1
-
-
-
-
- net.sf.ehcache.internal
- ehcache-core
- ${project.version}
- provided
-
-
- org.terracotta.toolkit
- terracotta-toolkit-api-internal
- ${terracotta-toolkit-api-internal.version}
-
-
- com.terracotta
- clustered-entity-management
- ${clustered-entity-management.version}
-
-
- org.mockito
- mockito-core
- 3.0.0
- test
-
-
- junit
- junit
- 4.12
- test
-
-
- org.hamcrest
- hamcrest-core
-
-
-
-
- org.hamcrest
- hamcrest
-
-
- net.sf.ehcache.internal
- ehcache-core
- test-jar
- ${project.version}
- test
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
-
- deploy-sonatype
-
- true
-
-
-
-
Index: rctags/ehcache-2.10.9.1.15/distribution/colorcache/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/distribution/colorcache/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/distribution/colorcache/pom.xml (revision 0)
@@ -1,152 +0,0 @@
-
- 4.0.0
-
- org.terracotta.forge
- forge-parent
- 4.16
-
-
- net.sf.ehcache.examples
- colorcache
- 2.10.9.1.15
- colorcache
- war
- Clustered Ehcache sample with Terracotta
-
- 4.3.9.1.2
- true
- 9.4.35.v20201120
-
-
- ${project.name}
-
-
- maven-assembly-plugin
- 2.3
-
- ${project.name}
-
- src/assemble/distribution.xml
-
- gnu
-
-
-
- package
-
- single
-
-
-
-
-
- jetty-maven-plugin
- ${jetty.version}
- org.eclipse.jetty
-
-
- ${project.name}
-
- STOP
-
-
-
- org.terracotta.maven.plugins
- tc-maven-plugin
-
-
- org.terracotta
- terracotta
- ${terracotta.version}
-
-
-
-
-
-
-
- net.sf.ehcache
- ehcache
- ${project.version}
-
-
- org.terracotta
- terracotta-toolkit-runtime
- ${terracotta.version}
-
-
- javax.servlet
- javax.servlet-api
- 3.1.0
-
-
- org.slf4j
- slf4j-jdk14
- 1.7.25
-
-
-
-
- 9081
-
-
-
- jetty-maven-plugin
- ${jetty.version}
- org.eclipse.jetty
-
-
-
- jetty.port
- 9081
-
-
- 9981
-
-
-
-
-
-
- 9082
-
-
-
- jetty-maven-plugin
- ${jetty.version}
- org.eclipse.jetty
-
-
-
- jetty.port
- 9082
-
-
- 9982
-
-
-
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
Index: rctags/ehcache-2.10.9.1.15/management-ehcache-v2/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/management-ehcache-v2/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/management-ehcache-v2/pom.xml (revision 0)
@@ -1,72 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache
- ehcache-root
- 2.10.9.1.15
- ..
-
-
- management-ehcache-v2
- management-ehcache-v2
- A library defining the ehcache management resource services and resource entities, version 2
-
-
-
- org.terracotta
- management-common-resources-v2
- ${management-core.version}
-
-
-
-
- junit
- junit
- test
-
-
- org.easymock
- easymock
- test
-
-
- net.sf.ehcache.internal
- ehcache-core
- test-jar
- ${project.version}
- test
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
Index: rctags/ehcache-2.10.9.1.15/distribution/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/distribution/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/distribution/pom.xml (revision 0)
@@ -1,298 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache
- ehcache-root
- 2.10.9.1.15
-
-
- ehcache-kit
- pom
- ehcache-kit
-
- project to build distribution kit
-
-
- colorcache
- events
-
-
-
- ehcache
- ${productName}-${project.version}
- ${kitFolder}-distribution
- ${project.build.directory}/${kitFolder}
- ${project.build.directory}/tmp/terracotta
-
-
-
-
- net.sf.ehcache
- ehcache
- ${project.version}
- provided
-
-
- org.slf4j
- slf4j-api
- provided
-
-
- org.slf4j
- slf4j-jdk14
- provided
-
-
-
-
-
- includeJavadoc
-
-
- !skipJavadoc
-
-
-
-
- net.sf.ehcache
- ehcache
- ${project.version}
- javadoc
- provided
-
-
-
-
-
-
-
-
- com.github.goldin
- copy-maven-plugin
- 0.2.3.8
-
- false
-
-
-
- {{ new File( project.build.directory, "${kitFolder}" ).isDirectory() }}
- ${root.dir}
-
- **/**
-
- true
- true
-
-
-
- ${root.dir}
- ${basedir}/src/main/assembly/root
- true
- true
-
-
-
- ${root.dir}
- ${basedir}/../ehcache-core/src/main/config
- true
-
-
-
- ${root.dir}/src
-
-
- net.sf.ehcache
- ehcache
- sources
-
-
- true
-
-
-
- false
- ${root.dir}/javadoc
-
-
- net.sf.ehcache
- ehcache
- javadoc
-
-
- true
-
-
-
- {{ new File(project.properties['terracotta.kit.path']).isDirectory() }}
- ${root.dir}/samples
-
-
- net.sf.ehcache.examples
- events
- ${project.version}
- distribution
- tar.gz
-
-
- net.sf.ehcache.examples
- colorcache
- ${project.version}
- distribution
- tar.gz
-
-
- true
-
-
-
- {{ new File(project.properties['terracotta.kit.path']).isDirectory() }}
- ${root.dir}/terracotta
- ${terracotta.kit.path}
-
- **/ehcache/**
- **/quartz/**
- **/sessions/**
-
- true
-
-
- {{ new File(project.properties['terracotta.kit.path']).isDirectory() }}
- ${root.dir}/samples
- ${terracotta.kit.path}/ehcache/samples
- true
-
-
- {{ new File(project.properties['terracotta.kit.path']).isDirectory() }}
- ${root.dir}/samples/colorcache/bin
- ${basedir}/src/main/assembly
-
- relative-paths.*
-
-
-
- {{ new File(project.properties['terracotta.kit.path']).isDirectory() }}
- ${root.dir}/samples/events/bin
- ${basedir}/src/main/assembly
-
- relative-paths.*
-
-
-
-
-
-
- package-with-no-tc
- package
-
- copy
-
-
-
-
-
-
- org.terracotta
- maven-forge-plugin
-
-
- package-lib
- package
-
- copy-dependencies
-
-
- ${root.dir}/lib
- false
-
- net.sf.ehcache:ehcache:${project.version}
- org.slf4j:slf4j-api:${slf4j.version}
- org.slf4j:slf4j-jdk14:${slf4j.version}
-
-
-
-
-
-
- org.codehaus.gmaven
- groovy-maven-plugin
-
-
- create-tarball
- package
-
- execute
-
-
-
- def srcdir = new File(project.basedir, "target/${kitFolder}")
- def destFile = new File(project.basedir, "target/${tarballName}.tar.gz")
- ant.tar(destfile: "${destFile}", longfile: "gnu", compression: "gzip") {
- tarfileset(dir: "${srcdir}", prefix: "${kitFolder}", excludes: "**/bin/**,**/lib/**,**/*.sh,**/*.bat")
- tarfileset(dir: "${srcdir}", prefix: "${kitFolder}", includes: "**/bin/**,**/lib/**,**/*.sh,**/*.bat", filemode: "755")
- }
-
-
-
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
- 1.5
-
-
- attach-distribution
- package
-
- attach-artifact
-
-
-
-
- ${project.build.directory}/${tarballName}.tar.gz
- tar.gz
- distribution
-
-
-
-
-
-
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
- evgenyg.artifactoryonline.com
- http://evgenyg.artifactoryonline.com/evgenyg/repo/
-
- true
-
-
- false
-
-
-
-
-
Index: rctags/ehcache-2.10.9.1.15/ehcache-search-parser/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-search-parser/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-search-parser/pom.xml (revision 0)
@@ -1,56 +0,0 @@
-
-
- 4.0.0
-
- net.sf.ehcache
- ehcache-root
- 2.10.9.1.15
- ..
-
-
- net.sf.ehcache.internal
- ehcache-search-parser
- ehcache-search-parser
- A parser for Big Memory Structured Query Language.
-
-
-
-
- org.codehaus.mojo
- javacc-maven-plugin
- 2.6
-
-
- javacc
-
- javacc
-
-
-
-
-
-
-
-
-
- net.sf.ehcache.internal
- ehcache-core
- ${project.version}
-
-
- junit
- junit
-
-
- org.hamcrest
- hamcrest
-
-
- net.sf.ehcache.internal
- ehcache-core
- test-jar
- ${project.version}
- test
-
-
-
Index: rctags/ehcache-2.10.9.1.15/management-ehcache-impl/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/management-ehcache-impl/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/management-ehcache-impl/pom.xml (revision 0)
@@ -1,43 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache
- ehcache-root
- 2.10.9.1.15
- ..
-
-
- management-ehcache-impl-parent
- management-ehcache-impl-parent
- pom
-
-
- management-ehcache-impl-v1
- management-ehcache-impl-v2
- management-ehcache-common
- ehcache-rest-agent
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
Index: rctags/ehcache-2.10.9.1.15/management-ehcache-v1/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/management-ehcache-v1/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/management-ehcache-v1/pom.xml (revision 0)
@@ -1,72 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache
- ehcache-root
- 2.10.9.1.15
- ..
-
-
- management-ehcache-v1
- management-ehcache-v1
- A library defining the ehcache management resource services and resource entities, version 1
-
-
-
- org.terracotta
- management-common-resources-v1
- ${management-core.version}
-
-
-
-
- junit
- junit
- test
-
-
- org.easymock
- easymock
- test
-
-
- net.sf.ehcache.internal
- ehcache-core
- test-jar
- ${project.version}
- test
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
Index: rctags/ehcache-2.10.9.1.15/management-ehcache-impl/ehcache-rest-agent/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/management-ehcache-impl/ehcache-rest-agent/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/management-ehcache-impl/ehcache-rest-agent/pom.xml (revision 0)
@@ -1,223 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache
- management-ehcache-impl-parent
- 2.10.9.1.15
- ..
-
-
- net.sf.ehcache.internal
- ehcache-rest-agent
- ehcache-rest-agent
-
- Ehcache REST implementation
-
-
- rest-management-private-classpath
- .class_terracotta
- true
- false
- 2.3.2
-
-
-
-
- net.sf.ehcache
- management-ehcache-impl-v1
- ${project.version}
-
-
- net.sf.ehcache
- management-ehcache-impl-v2
- ${project.version}
-
-
- javax.servlet
- javax.servlet-api
- 3.1.0
- runtime
-
-
- org.eclipse.jetty
- jetty-servlet
-
-
- org.glassfish.jaxb
- jaxb-runtime
- ${jaxb-runtime.version}
- runtime
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
-
-
-
- devmode
-
-
- devmode
- true
-
- true
-
-
-
- .class
-
-
-
-
- org.apache.maven.plugins
- maven-dependency-plugin
-
-
- list-dependencies
-
- ${project.build.outputDirectory}/META-INF/devmode/${project.groupId}/${project.artifactId}/dependencies.txt
-
-
- list
-
- compile
-
-
-
-
-
- org.apache.maven.plugins
- maven-shade-plugin
-
- reduced-pom-only-shader
- ${project.build.directory}/dependency-reduced-pom.xml
- true
- true
- false
- false
-
-
-
- org.slf4j:*
-
-
-
-
-
- package
-
- shade
-
-
-
-
-
-
-
-
-
- fullmode
-
-
- devmode
- false
-
-
-
-
-
- org.apache.maven.plugins
- maven-shade-plugin
-
- record-shader
- ${project.build.directory}/dependency-reduced-pom.xml
- true
- true
- false
- true
-
-
-
- org.slf4j:*
-
-
-
-
- *:*
-
- META-INF/*.SF
- META-INF/*.DSA
- META-INF/*.RSA
-
-
-
-
-
-
-
-
-
- package
-
- shade
-
-
-
-
-
- org.codehaus.gmaven
- groovy-maven-plugin
-
-
- fix-content
- package
-
- execute
-
-
-
- ${basedir}/src/scripts
-
-
- import Util
- Util.packageAgentJar(project)
-
-
-
-
-
-
-
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
Index: rctags/ehcache-2.10.9.1.15/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/pom.xml (revision 0)
@@ -1,486 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache
- ehcache-parent
- 2.25
-
-
-
- ehcache-root
- net.sf.ehcache
- ehcache-root
- pom
- 2.10.9.1.15
-
-
- scm:svn:https://svn.terracotta.org/repo/ehcache/trunk/ehcache
-
-
-
- 1.7.25
- 1.0.1
- 2.1.1
- 1.19
- 2.1.25.1
- 0.11.1
- 1.0.5
- 2.2.3
- 9.4.35.v20201120
- 2.3.2
- 3.5.1-Final
- 1.2
- false
-
-
-
- ehcache-core
- terracotta
- ehcache
- management-ehcache-v1
- management-ehcache-v2
- management-ehcache-impl
- ehcache-scheduled-refresh
- ehcache-search-parser
-
-
-
-
-
-
- org.slf4j
- slf4j-api
- ${slf4j.version}
-
-
- org.terracotta.internal
- statistics
- ${statistics.version}
-
-
- org.terracotta
- management-core-resources
- ${management-core.version}
-
-
- com.terracotta
- clustered-entity-management
- ${clustered-entity-management.version}
-
-
- org.eclipse.jetty
- jetty-servlet
- ${jetty.version}
-
-
- javax.servlet
- javax.servlet-api
-
-
-
-
-
-
-
-
- org.terracotta.toolkit
- terracotta-toolkit-api-internal
- ${terracotta-toolkit-api-internal.version}
- provided
-
-
- javax.servlet
- javax.servlet-api
- 3.1.0
- provided
-
-
- org.hibernate
- hibernate-core
- ${hibernate-core.version}
- provided
-
-
- javax.transaction
- jta
- 1.1
- provided
-
-
- net.sf.ehcache
- sizeof-agent
- ${sizeof-agent.version}
- provided
-
-
-
-
- org.slf4j
- slf4j-jdk14
- ${slf4j.version}
- test
-
-
- commons-logging
- commons-logging
- ${commons-logging.version}
- test
-
-
- org.codehaus.btm
- btm
- 2.1.3
- test
-
-
- net.sf.hibernate
- hibernate
- 2.1.8
- test
-
-
- org.hamcrest
- hamcrest
- 2.1
- test
-
-
- junit
- junit
- 4.12
- test
-
-
- hamcrest-core
- org.hamcrest
-
-
-
-
- dom4j
- dom4j
- 1.6.1
- test
-
-
- javassist
- javassist
- 3.4.GA
- test
-
-
- org.hibernate
- hibernate-ehcache
- 3.3.2.GA
- test
-
-
- ehcache
- net.sf.ehcache
-
-
-
-
- org.apache.derby
- derby
- 10.5.3.0_1
- test
-
-
- org.mockito
- mockito-core
- 3.0.0
- test
-
-
- com.sun.xsom
- xsom
- 20100725
- test
-
-
- org.beanshell
- bsh
- 1.3.0
- test
-
-
- org.quartz-scheduler
- quartz
- ${quartz.version}
-
-
- org.easymock
- easymock
- 4.0.2
- test
-
-
- org.powermock
- powermock-api-easymock
- 2.0.2
- test
-
-
- org.powermock
- powermock-module-junit4
- 2.0.2
- test
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
- 3.1.2
-
-
-
- true
-
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- 3.1.1
-
- ${skipJavadoc}
- 8
- -Xdoclint:all,-Xdoclint:-missing
- true
-
-
-
- org.apache.maven.plugins
- maven-checkstyle-plugin
- 3.1.0
-
-
- org.apache.maven.plugins
- maven-dependency-plugin
- 3.1.1
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
- 1.7
-
-
- org.apache.maven.plugins
- maven-antrun-plugin
- 1.3
-
-
- org.terracotta
- maven-forge-plugin
- ${maven-forge-plugin.version}
-
- -Djava.net.preferIPv4Stack=true
-
-
-
- org.apache.maven.plugins
- maven-shade-plugin
- 2.3
-
-
- org.terracotta.maven.plugins
- terracotta-shader
- 1.2
-
-
-
-
- org.codehaus.gmaven
- groovy-maven-plugin
- ${groovy-maven-plugin.version}
-
-
- org.codehaus.mojo
- rmic-maven-plugin
- 1.3
-
-
-
-
-
- org.terracotta
- maven-forge-plugin
-
-
- generateBuildInfoFile
- generate-resources
-
- buildinfo
-
-
- true
- ${project.build.outputDirectory}
-
-
-
- default-test
- test
-
- test
-
-
-
-
-
-
-
-
-
- system-tests
-
- system-tests
-
-
-
- dist
-
- distribution
-
-
-
-
-
- check-short
-
- true
- true
-
-
-
-
- org.reflections
- reflections-maven
- 0.9.9-RC1
-
- org.reflections.scanners.TypeAnnotationsScanner
- ${project.build.directory}/reflections.xml
- true
- true
-
-
-
-
- reflections
-
- process-test-classes
-
-
-
-
- org.terracotta
- maven-forge-plugin
-
- true
- org.terracotta.test.categories.CheckShorts
-
-
- java.awt.headless
- true
-
-
-
-
-
-
-
-
-
- deploy-terracotta
-
-
-
-
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.1
- true
-
-
- http://nexus.terracotta.eur.ad.sag
-
- terracotta-nexus-staging
- ${skipDeploy}
-
-
-
-
-
-
- org.sonatype.plugins
- nexus-staging-maven-plugin
-
-
-
-
-
-
- deploy-sonatype
-
-
- sonatype-nexus-staging
- http://oss.sonatype.org/service/local/staging/deploy/maven2
-
-
- sonatype-nexus-snapshots
- https://oss.sonatype.org/content/repositories/snapshots
-
-
-
-
-
-
-
- terracotta-nexus-staging
- Terracotta Nexus Staging Repository
- ${terracotta-nexus-staging-url}
-
-
- terracotta-os-snapshots
- false
- Terracotta OS Snapshots Repository
- ${terracotta-os-snapshots-url}
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
Index: rctags/ehcache-2.10.9.1.15/management-ehcache-impl/management-ehcache-impl-v1/pom.xml
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/management-ehcache-impl/management-ehcache-impl-v1/pom.xml (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/management-ehcache-impl/management-ehcache-impl-v1/pom.xml (revision 0)
@@ -1,110 +0,0 @@
-
-
- 4.0.0
-
-
- net.sf.ehcache
- management-ehcache-impl-parent
- 2.10.9.1.15
- ..
-
-
- management-ehcache-impl-v1
- management-ehcache-impl-v1
- A product library integrating with ehcache to construct the relevant management resource entities V1
-
-
-
- net.sf.ehcache
- management-ehcache-v1
- ${project.version}
-
-
- net.sf.ehcache
- management-ehcache-common
- ${project.version}
-
-
- org.terracotta
- management-core-resources
- ${management-core.version}
- test-jar
- test
-
-
- net.sf.ehcache.internal
- ehcache-core
- ${project.version}
- provided
-
-
- javax.servlet
- javax.servlet-api
-
-
- org.easymock
- easymock
- test
-
-
- org.eclipse.jetty
- jetty-servlet
- test
-
-
- org.mockito
- mockito-core
-
-
- org.powermock
- powermock-api-easymock
- test
-
-
- org.powermock
- powermock-module-junit4
- test
-
-
- org.hamcrest
- hamcrest
-
-
- net.sf.ehcache.internal
- ehcache-core
- test-jar
- ${project.version}
- test
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
-
- terracotta-snapshots
- http://www.terracotta.org/download/reflector/snapshots
-
-
- terracotta-releases
- http://www.terracotta.org/download/reflector/releases
-
-
-
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/util/SetAsList.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/util/SetAsList.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/util/SetAsList.java (revision 0)
@@ -1,212 +0,0 @@
-/**
- * Copyright Terracotta, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.sf.ehcache.util;
-
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-import java.util.Set;
-
-/**
- * Wraps a set to provide a list interface.
- * All list methods not application to set throws an {@link UnsupportedOperationException}
- *
- * @author Chris Dennis
- * @param
- */
-public class SetAsList implements List {
-
- private final Set set;
- private transient Object[] array;
-
- /**
- * @param set
- */
- public SetAsList(Set set) {
- this.set = set;
- }
-
- /**
- * {@inheritDoc}
- */
- public int size() {
- return set.size();
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean isEmpty() {
- return set.isEmpty();
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean contains(Object o) {
- return set.contains(o);
- }
-
- /**
- * {@inheritDoc}
- */
- public Iterator iterator() {
- return set.iterator();
- }
-
- /**
- * {@inheritDoc}
- */
- public Object[] toArray() {
- return set.toArray();
- }
-
- /**
- * {@inheritDoc}
- */
- public T[] toArray(T[] a) {
- return set.toArray(a);
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean add(E e) {
- return set.add(e);
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean remove(Object o) {
- return set.remove(o);
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean containsAll(Collection> c) {
- return set.containsAll(c);
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean addAll(Collection extends E> c) {
- return set.addAll(c);
- }
-
- /**
- * Does not support List methods {@link UnsupportedOperationException}.
- */
- public boolean addAll(int index, Collection extends E> c) {
- throw new UnsupportedOperationException("Delegates to set, operation not supported");
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean removeAll(Collection> c) {
- return set.removeAll(c);
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean retainAll(Collection> c) {
- return set.retainAll(c);
- }
-
- /**
- * {@inheritDoc}
- */
- public void clear() {
- set.clear();
- }
-
- /**
- * Does not support List methods {@link UnsupportedOperationException}.
- *
- * @param index Index
- */
- public E get(int index) {
- if (this.array == null) {
- this.array = toArray();
- }
- if (array.length <= index) {
- throw new IndexOutOfBoundsException();
- }
- return (E) this.array[index];
- }
-
- /**
- * Does not support List methods {@link UnsupportedOperationException}.
- */
- public E set(int index, E element) {
- throw new UnsupportedOperationException("Delegates to set, operation not supported");
- }
-
- /**
- * Does not support List methods {@link UnsupportedOperationException}.
- */
- public void add(int index, E element) {
- throw new UnsupportedOperationException("Delegates to set, operation not supported");
- }
-
- /**
- * Does not support List methods {@link UnsupportedOperationException}.
- */
- public E remove(int index) {
- throw new UnsupportedOperationException("Delegates to set, operation not supported");
- }
-
- /**
- * Does not support List methods {@link UnsupportedOperationException}.
- */
- public int indexOf(Object o) {
- throw new UnsupportedOperationException("Delegates to set, operation not supported");
- }
-
- /**
- * Does not support List methods {@link UnsupportedOperationException}.
- */
- public int lastIndexOf(Object o) {
- throw new UnsupportedOperationException("Delegates to set, operation not supported");
- }
-
- /**
- * Does not support List methods {@link UnsupportedOperationException}.
- */
- public ListIterator listIterator() {
- throw new UnsupportedOperationException("Delegates to set, operation not supported");
- }
-
- /**
- * Does not support List methods {@link UnsupportedOperationException}.
- */
- public ListIterator listIterator(int index) {
- throw new UnsupportedOperationException("Delegates to set, operation not supported");
- }
-
- /**
- * Does not support List methods {@link UnsupportedOperationException}.
- */
- public List subList(int fromIndex, int toIndex) {
- throw new UnsupportedOperationException("Delegates to set, operation not supported");
- }
-}
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/util/LongSequence.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/util/LongSequence.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/util/LongSequence.java (revision 0)
@@ -1,32 +0,0 @@
-/**
- * Copyright Terracotta, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.sf.ehcache.util;
-
-/**
- * A sequence producing longs
- *
- * @author teck
- */
-public interface LongSequence {
-
- /**
- * Get the next value in the sequence
- *
- * @return the next value
- */
- long next();
-}
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/test/java/net/sf/ehcache/loader/CompositeLoaderTest.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/test/java/net/sf/ehcache/loader/CompositeLoaderTest.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/test/java/net/sf/ehcache/loader/CompositeLoaderTest.java (revision 0)
@@ -1,69 +0,0 @@
-/**
- * Copyright Terracotta, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.sf.ehcache.loader;
-
-
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
-/**
- * ComponentA is composed of ComponentB and some other fields. Tests the interactions between two loaders, where the first component's
- * loader loads component B by using getWithLoader, which in turn invokes component B's loader.
- *
- * @author Greg Luck
- * @version $Id: CompositeLoaderTest.java 5594 2012-05-07 16:04:31Z cdennis $
- */
-public class CompositeLoaderTest {
-
- private static final Logger LOG = LoggerFactory.getLogger(CompositeLoaderTest.class.getName());
-
- /**
- * Sets up the fixture, for example, open a network connection.
- * This method is called before a test is executed.
- */
- @Before
- public void setUp() throws Exception {
- CacheHelper.init();
- }
-
- /**
- * Tears down the fixture, for example, close a network connection.
- * This method is called after a test is executed.
- */
- @After
- public void tearDown() throws Exception {
- CacheHelper.shutdown();
- }
-
- /**
- * This test reproduces a deadlock found in 1.4-beta1 around loading interactions and getWithLoader. Now fixed.
- */
- @Test
- public void testCompositeLoad() {
- LOG.info("Getting from cache");
- ComponentA compA = (ComponentA) CacheHelper.get("ehcache-loaderinteractions.xml", "ACache", "key1");
- LOG.info(compA.toString());
-
- }
-
-}
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/cluster/NoopCacheCluster.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/cluster/NoopCacheCluster.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/cluster/NoopCacheCluster.java (revision 0)
@@ -1,98 +0,0 @@
-/**
- * Copyright Terracotta, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package net.sf.ehcache.cluster;
-
-import java.util.Collection;
-import java.util.Collections;
-import java.util.List;
-
-/**
- * This is a dummy implementation of the CacheCluster (Null Object Pattern). It ignores
- * all listeners and reports no nodes.
- *
- * @author Geert Bevin
- * @since 2.0
- */
-public class NoopCacheCluster implements CacheCluster {
-
- /**
- * A singleton instance you can use rather than constructing your own.
- */
- public static final CacheCluster INSTANCE = new NoopCacheCluster();
-
- /**
- * {@inheritDoc}
- */
- public Collection getNodes() {
- return Collections.emptyList();
- }
-
- /**
- * Always returns the ClusterScheme.NONE
- *
- * @return {@link ClusterScheme#NONE}
- */
- public ClusterScheme getScheme() {
- return ClusterScheme.NONE;
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean addTopologyListener(ClusterTopologyListener listener) {
- return false;
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean removeTopologyListener(ClusterTopologyListener listener) {
- return false;
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean isClusterOnline() {
- return true;
- }
-
- /**
- * {@inheritDoc}
- */
- public ClusterNode getCurrentNode() {
- return null;
- }
-
- /**
- * {@inheritDoc}
- */
- public ClusterNode waitUntilNodeJoinsCluster() {
- return null;
- }
-
- /**
- * {@inheritDoc}
- */
- public List getTopologyListeners() {
- return Collections.emptyList();
- }
-
- @Override
- public void removeAllListeners() {
- //
- }
-}
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/transaction/TransactionTimeoutException.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/transaction/TransactionTimeoutException.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/transaction/TransactionTimeoutException.java (revision 0)
@@ -1,32 +0,0 @@
-/**
- * Copyright Terracotta, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package net.sf.ehcache.transaction;
-
-/**
- * This exception is thrown when a transactional operation times out
- *
- * @author Ludovic Orban
- */
-public class TransactionTimeoutException extends TransactionException {
-
- /**
- * Create a new TransactionTimeoutException
- * @param message the error message
- */
- public TransactionTimeoutException(String message) {
- super(message);
- }
-}
Index: rctags/ehcache-2.10.9.1.15/terracotta/bootstrap/src/test/java/org/terracotta/modules/ehcache/store/CacheConfigChangeBridgeTest.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/terracotta/bootstrap/src/test/java/org/terracotta/modules/ehcache/store/CacheConfigChangeBridgeTest.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/terracotta/bootstrap/src/test/java/org/terracotta/modules/ehcache/store/CacheConfigChangeBridgeTest.java (revision 0)
@@ -1,132 +0,0 @@
-package org.terracotta.modules.ehcache.store;
-
-import net.sf.ehcache.config.CacheConfiguration;
-import org.junit.Before;
-import org.junit.Test;
-import org.terracotta.toolkit.config.AbstractConfiguration;
-import org.terracotta.toolkit.config.Configuration;
-import org.terracotta.toolkit.events.ToolkitNotifier;
-import org.terracotta.toolkit.internal.cache.ToolkitCacheInternal;
-import org.terracotta.toolkit.store.ToolkitConfigFields;
-
-import java.io.Serializable;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Set;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.spy;
-import static org.mockito.Mockito.verify;
-import static org.mockito.Mockito.verifyNoMoreInteractions;
-import static org.mockito.Mockito.when;
-
-/**
- * @author tim
- */
-public class CacheConfigChangeBridgeTest {
-
- private ToolkitCacheInternal backend;
- private CacheConfiguration cacheConfiguration;
- private ToolkitNotifier notifier;
- private TestConfiguration toolkitCacheConfig;
-
- @Before
- public void setUp() throws Exception {
- toolkitCacheConfig = new TestConfiguration();
- backend = when(mock(ToolkitCacheInternal.class).getConfiguration())
- .thenReturn(toolkitCacheConfig).getMock();
- cacheConfiguration = spy(new CacheConfiguration());
- notifier = mock(ToolkitNotifier.class);
- }
-
- @Test
- public void testConnectConfigsSetsUpLocalCacheConfiguration() throws Exception {
- cacheConfiguration.freezeConfiguration();
-
- CacheConfigChangeBridge bridge = new CacheConfigChangeBridge("foo",
- backend, notifier, cacheConfiguration);
-
- toolkitCacheConfig.internalSetConfigMapping(ToolkitConfigFields.MAX_TOTAL_COUNT_FIELD_NAME, 123);
- toolkitCacheConfig.internalSetConfigMapping(ToolkitConfigFields.MAX_TTI_SECONDS_FIELD_NAME, 321);
- toolkitCacheConfig.internalSetConfigMapping(ToolkitConfigFields.MAX_TTL_SECONDS_FIELD_NAME, 456);
- toolkitCacheConfig.internalSetConfigMapping(ToolkitConfigFields.MAX_COUNT_LOCAL_HEAP_FIELD_NAME, 42);
- toolkitCacheConfig.internalSetConfigMapping(ToolkitConfigFields.MAX_BYTES_LOCAL_HEAP_FIELD_NAME, 1L);
- toolkitCacheConfig.internalSetConfigMapping(ToolkitConfigFields.MAX_BYTES_LOCAL_OFFHEAP_FIELD_NAME, 2L);
- toolkitCacheConfig.internalSetConfigMapping(ToolkitConfigFields.OFFHEAP_ENABLED_FIELD_NAME, true);
-
- bridge.connectConfigs();
-
- assertThat(cacheConfiguration.getMaxEntriesInCache(), is(123L));
- assertThat(cacheConfiguration.getTimeToLiveSeconds(), is(456L));
- assertThat(cacheConfiguration.getTimeToIdleSeconds(), is(321L));
- assertThat(cacheConfiguration.isEternal(), is(false));
- assertThat(cacheConfiguration.getMaxEntriesLocalHeap(), is(42L));
- assertThat(cacheConfiguration.getMaxBytesLocalHeap(), is(1L));
- assertThat(cacheConfiguration.getMaxBytesLocalOffHeap(), is(2L));
- assertThat(cacheConfiguration.isOverflowToOffHeap(), is(true));
- }
-
- @Test
- public void testEmptyConfigFromToolkitCache() throws Exception {
- CacheConfigChangeBridge bridge = new CacheConfigChangeBridge("foo",
- backend, notifier, cacheConfiguration);
-
- bridge.connectConfigs();
-
- // Empty config so only check for registration of the listener and nothing else.
- verify(cacheConfiguration).addConfigurationListener(bridge);
- verifyNoMoreInteractions(cacheConfiguration);
- }
-
- @Test
- public void testOverrideLocallyConfiguredExpiry() throws Exception {
- cacheConfiguration.setEternal(false);
- cacheConfiguration.setTimeToLiveSeconds(123);
- cacheConfiguration.setTimeToIdleSeconds(321);
-
- CacheConfigChangeBridge bridge = new CacheConfigChangeBridge("foo",
- backend, notifier, cacheConfiguration);
-
- toolkitCacheConfig.internalSetConfigMapping(ToolkitConfigFields.MAX_TTI_SECONDS_FIELD_NAME, 0);
- toolkitCacheConfig.internalSetConfigMapping(ToolkitConfigFields.MAX_TTL_SECONDS_FIELD_NAME, 0);
-
- bridge.connectConfigs();
-
- assertThat(cacheConfiguration.isEternal(), is(false));
- assertThat(cacheConfiguration.getTimeToLiveSeconds(), is(0L));
- assertThat(cacheConfiguration.getTimeToIdleSeconds(), is(0L));
- }
-
- @Test
- public void testSetUnlimitedMaxEntriesInCache() throws Exception {
- CacheConfigChangeBridge bridge = new CacheConfigChangeBridge("foo",
- backend, notifier, cacheConfiguration);
-
- toolkitCacheConfig.internalSetConfigMapping(ToolkitConfigFields.MAX_TOTAL_COUNT_FIELD_NAME, -1);
-
- bridge.connectConfigs();
-
- assertThat(cacheConfiguration.getMaxEntriesInCache(), is(0L));
- }
-
- private static class TestConfiguration extends AbstractConfiguration {
- private final Map map = new HashMap();
-
- @Override
- protected void internalSetConfigMapping(final String key, final Serializable value) {
- map.put(key, value);
- }
-
- @Override
- public Set getKeys() {
- return map.keySet();
- }
-
- @Override
- public Serializable getObjectOrNull(final String name) {
- return map.get(name);
- }
- }
-}
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/test/java/net/sf/ehcache/constructs/CacheDecoratorFactoryTest.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/test/java/net/sf/ehcache/constructs/CacheDecoratorFactoryTest.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/test/java/net/sf/ehcache/constructs/CacheDecoratorFactoryTest.java (revision 0)
@@ -1,99 +0,0 @@
-/**
- * Copyright Terracotta, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.sf.ehcache.constructs;
-
-import java.util.Arrays;
-import java.util.List;
-
-import org.junit.Test;
-import org.junit.experimental.categories.Category;
-
-import junit.framework.TestCase;
-import net.sf.ehcache.CacheManager;
-import net.sf.ehcache.constructs.MockDecoratorFactory.MockDecoratorFactoryCache;
-
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.terracotta.test.categories.CheckShorts;
-
-/**
- * @author Abhishek Sanoujam
- */
-@Category(CheckShorts.class)
-public class CacheDecoratorFactoryTest extends TestCase {
-
- private static final Logger LOG = LoggerFactory.getLogger(CacheDecoratorFactoryTest.class);
-
- @Test
- public void testCacheDecoratorFactory() {
- CacheManager cacheManager = new CacheManager(getClass().getResourceAsStream("/ehcache-decorator-test.xml"));
- List cacheNames = Arrays.asList(cacheManager.getCacheNames());
- LOG.info("" + cacheNames);
-
- assertEquals(12, cacheNames.size());
-
- assertTrue(cacheNames.contains("noDecoratorCache"));
- assertTrue(cacheNames.contains("oneDecoratorCache"));
- assertTrue(cacheNames.contains("oneDecoratorFirst"));
- assertTrue(cacheNames.contains("twoDecoratorCache"));
- assertTrue(cacheNames.contains("twoDecoratorFirst"));
- assertTrue(cacheNames.contains("twoDecoratorSecond"));
- assertTrue(cacheNames.contains("fiveDecoratorCache"));
- assertTrue(cacheNames.contains("fiveDecoratorFirst"));
- assertTrue(cacheNames.contains("fiveDecoratorSecond"));
- assertTrue(cacheNames.contains("fiveDecoratorThird"));
- assertTrue(cacheNames.contains("fiveDecoratorFourth"));
- assertTrue(cacheNames.contains("fiveDecoratorFifth"));
-
- cacheManager.shutdown();
-
- }
-
- @Test
- public void testCacheDecoratorFactoryProperties() {
- CacheManager cacheManager = new CacheManager(getClass().getResourceAsStream("/ehcache-decorator-test.xml"));
- List cacheNames = Arrays.asList(cacheManager.getCacheNames());
- assertEquals(12, cacheNames.size());
-
- MockDecoratorFactoryCache cache = (MockDecoratorFactoryCache) cacheManager.getEhcache("oneDecoratorFirst");
- assertEquals("oneFirst", cache.getProperties().getProperty("someKey"));
-
- cache = (MockDecoratorFactoryCache) cacheManager.getEhcache("twoDecoratorFirst");
- assertEquals("twoFirst", cache.getProperties().getProperty("someKey"));
-
- cache = (MockDecoratorFactoryCache) cacheManager.getEhcache("twoDecoratorSecond");
- assertEquals("twoSecond", cache.getProperties().getProperty("someKey"));
-
- cache = (MockDecoratorFactoryCache) cacheManager.getEhcache("fiveDecoratorFirst");
- assertEquals("fiveFirst", cache.getProperties().getProperty("someKey"));
-
- cache = (MockDecoratorFactoryCache) cacheManager.getEhcache("fiveDecoratorSecond");
- assertEquals("fiveSecond", cache.getProperties().getProperty("someKey"));
-
- cache = (MockDecoratorFactoryCache) cacheManager.getEhcache("fiveDecoratorThird");
- assertEquals("fiveThird", cache.getProperties().getProperty("someKey"));
-
- cache = (MockDecoratorFactoryCache) cacheManager.getEhcache("fiveDecoratorFourth");
- assertEquals("fiveFourth", cache.getProperties().getProperty("someKey"));
-
- cache = (MockDecoratorFactoryCache) cacheManager.getEhcache("fiveDecoratorFifth");
- assertEquals("fiveFifth", cache.getProperties().getProperty("someKey"));
-
- cacheManager.shutdown();
-
- }
-}
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/hibernate/management/impl/CacheRegionUtils.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/hibernate/management/impl/CacheRegionUtils.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/hibernate/management/impl/CacheRegionUtils.java (revision 0)
@@ -1,117 +0,0 @@
-/**
- * Copyright Terracotta, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.sf.ehcache.hibernate.management.impl;
-
-import java.awt.Color;
-
-/**
- * CacheRegionUtils
- *
- * @author gkeim
- */
-public abstract class CacheRegionUtils {
- /**
- * HIT_COLOR
- */
- public static final Color HIT_COLOR = Color.green;
-
- /**
- * MISS_COLOR
- */
- public static final Color MISS_COLOR = Color.red;
-
- /**
- * PUT_COLOR
- */
- public static final Color PUT_COLOR = Color.blue;
-
- /**
- * HIT_FILL_COLOR
- */
- public static final Color HIT_FILL_COLOR = CacheRegionUtils.HIT_COLOR.brighter().brighter().brighter();
-
- /**
- * MISS_FILL_COLOR
- */
- public static final Color MISS_FILL_COLOR = CacheRegionUtils.MISS_COLOR.brighter().brighter().brighter();
-
- /**
- * PUT_FILL_COLOR
- */
- public static final Color PUT_FILL_COLOR = CacheRegionUtils.PUT_COLOR.brighter().brighter().brighter();
-
- /**
- * HIT_DRAW_COLOR
- */
- public static final Color HIT_DRAW_COLOR = CacheRegionUtils.HIT_COLOR.darker();
-
- /**
- * MISS_DRAW_COLOR
- */
- public static final Color MISS_DRAW_COLOR = CacheRegionUtils.MISS_COLOR.darker();
-
- /**
- * PUT_DRAW_COLOR
- */
- public static final Color PUT_DRAW_COLOR = CacheRegionUtils.PUT_COLOR.darker();
-
-
- /**
- * determineShortName
- *
- * @param fullName
- */
- public static String determineShortName(String fullName) {
- String result = fullName;
-
- if (fullName != null) {
- String[] comps = fullName.split("\\.");
- if (comps.length == 1) {
- return fullName;
- }
- boolean truncate = true;
- for (int i = 0; i < comps.length; i++) {
- String comp = comps[i];
- char c = comp.charAt(0);
- if (truncate && Character.isUpperCase(c)) {
- truncate = false;
- }
- if (truncate) {
- comps[i] = Character.toString(c);
- }
- }
- result = join(comps, '.');
- }
-
- return result;
- }
-
- /**
- * join
- *
- * @param elements
- * @param c
- */
- private static String join(String[] elements, char c) {
- if (elements == null) { return null; }
- StringBuilder sb = new StringBuilder();
- for (String s : elements) {
- sb.append(s).append(c);
- }
- return sb.length() > 0 ? sb.substring(0, sb.length() - 1) : "";
- }
-}
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/statistics/extended/ExtendedStatistics.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/statistics/extended/ExtendedStatistics.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/statistics/extended/ExtendedStatistics.java (revision 0)
@@ -1,552 +0,0 @@
-/**
- * Copyright Terracotta, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.sf.ehcache.statistics.extended;
-
-import net.sf.ehcache.CacheOperationOutcomes;
-import net.sf.ehcache.store.StoreOperationOutcomes;
-import net.sf.ehcache.transaction.xa.XaCommitOutcome;
-import net.sf.ehcache.transaction.xa.XaRecoveryOutcome;
-import net.sf.ehcache.transaction.xa.XaRollbackOutcome;
-import org.terracotta.statistics.archive.Timestamped;
-
-import java.util.EnumSet;
-import java.util.List;
-import java.util.Set;
-import java.util.concurrent.TimeUnit;
-
-/**
- * The ExtendedStatistics interface.
- *
- * @author cschanck
- */
-public interface ExtendedStatistics {
-
- /** The Constant ALL_CACHE_PUT_OUTCOMES. */
- static final Set ALL_CACHE_PUT_OUTCOMES = EnumSet.allOf(CacheOperationOutcomes.PutOutcome.class);
-
- /** The Constant ALL_CACHE_GET_OUTCOMES. */
- static final Set ALL_CACHE_GET_OUTCOMES = EnumSet.allOf(CacheOperationOutcomes.GetOutcome.class);
-
- /** The Constant ALL_CACHE_MISS_OUTCOMES. */
- static final Set ALL_CACHE_MISS_OUTCOMES = EnumSet.of(
- CacheOperationOutcomes.GetOutcome.MISS_EXPIRED, CacheOperationOutcomes.GetOutcome.MISS_NOT_FOUND);
-
- /** The Constant ALL_STORE_PUT_OUTCOMES. */
- static final Set ALL_STORE_PUT_OUTCOMES = EnumSet.allOf(StoreOperationOutcomes.PutOutcome.class);
-
- /**
- * Sets the time to disable.
- *
- * @param time the time
- * @param unit the unit
- */
- void setTimeToDisable(long time, TimeUnit unit);
-
- /**
- * Sets the always on.
- *
- * @param alwaysOn the new always on
- */
- void setAlwaysOn(boolean alwaysOn);
-
- /**
- * Gets the.
- *
- * @return the operation
- */
- Operation get();
-
- /**
- * Put.
- *
- * @return the operation
- */
- Operation put();
-
- /**
- * Removes the.
- *
- * @return the operation
- */
- Operation remove();
-
- /**
- * single arg replace operation
- * @return
- */
- Operation replaceOneArg();
-
- /**
- * two arg replace operation
- * @return
- */
- Operation replaceTwoArg();
-
- /**
- * put if absent operation
- * @return
- */
- Operation putIfAbsent();
-
- /**
- * remove element operation
- * @return
- */
- Operation removeElement();
-
- /**
- * Heap get.
- *
- * @return the operation
- */
- Operation heapGet();
-
- /**
- * Offheap get.
- *
- * @return the operation
- */
- Operation offheapGet();
-
- /**
- * Disk get.
- *
- * @return the operation
- */
- Operation diskGet();
-
- /**
- * Heap put.
- *
- * @return the operation
- */
- Operation heapPut();
-
- /**
- * Offheap put.
- *
- * @return the operation
- */
- Operation offheapPut();
-
- /**
- * Disk put.
- *
- * @return the operation
- */
- Operation diskPut();
-
- /**
- * Heap remove.
- *
- * @return the operation
- */
- Operation heapRemove();
-
- /**
- * Offheap remove.
- *
- * @return the operation
- */
- Operation offheapRemove();
-
- /**
- * Disk remove.
- *
- * @return the operation
- */
- Operation diskRemove();
-
- /**
- * Search.
- *
- * @return the operation
- */
- Operation search();
-
- /**
- * Xa commit.
- *
- * @return the operation
- */
- Operation xaCommit();
-
- /**
- * Xa rollback.
- *
- * @return the operation
- */
- Operation xaRollback();
-
- /**
- * Xa recovery.
- *
- * @return the operation
- */
- Operation xaRecovery();
-
- /**
- * Eviction.
- *
- * @return the operation
- */
- Operation eviction();
-
- /**
- * Expiry.
- *
- * @return the operation
- */
- Operation expiry();
-
- /**
- * Cluster events
- *
- * @return the operation
- */
- Operation clusterEvent();
-
- /**
- * Nonstop events
- *
- * @return the operation
- */
- Operation nonstop();
-
- /**
- * All get.
- *
- * @return the result
- */
- Result allGet();
-
- /**
- * All miss.
- *
- * @return the result
- */
- Result allMiss();
-
- /**
- * All put.
- *
- * @return the result
- */
- Result allPut();
-
- /**
- * Heap all put.
- *
- * @return the result
- */
- Result heapAllPut();
-
- /**
- * Off heap all put.
- *
- * @return the result
- */
- Result offHeapAllPut();
-
- /**
- * Disk all put.
- *
- * @return the result
- */
- Result diskAllPut();
-
- /**
- * Cache hit ratio.
- * @return
- */
- Statistic cacheHitRatio();
-
- /**
- * Nonstop timeout ratio
- * @return
- */
- Statistic nonstopTimeoutRatio();
-
- /**
- * Operations.
- *
- * @param the generic type
- * @param outcome the outcome
- * @param name the name
- * @param tags the tags
- * @return the sets the
- */
- > Set> operations(Class outcome, String name, String... tags);
-
- /**
- * Get the set of cache specific pass thru statistics for a nam/tags pair. Used for
- * custom pass thru statistics, as opposed to well known standard ones.
- * @param name name
- * @param tags set of tags
- * @return
- */
- Set> passthru(String name, Set tags);
-
- /**
- * The Interface Operation.
- *
- * @param the generic type
- */
- public interface Operation> {
-
- /**
- * Type.
- *
- * @return the class
- */
- Class type();
-
- /**
- * Component.
- *
- * @param result the result
- * @return the result
- */
- Result component(T result);
-
- /**
- * Compound.
- *
- * @param results the results
- * @return the result
- */
- Result compound(Set results);
-
- /**
- * Ratio of.
- *
- * @param numerator the numerator
- * @param denomiator the denomiator
- * @return the statistic
- */
- Statistic ratioOf(Set numerator, Set denomiator);
-
- /**
- * Sets the always on.
- *
- * @param enable the new always on
- */
- void setAlwaysOn(boolean enable);
-
- /**
- * Checks if is always on.
- *
- * @return true, if is always on
- */
- boolean isAlwaysOn();
-
- /**
- * Sets the window.
- *
- * @param time the time
- * @param unit the unit
- */
- void setWindow(long time, TimeUnit unit);
-
- /**
- * Sets the history.
- *
- * @param samples the samples
- * @param time the time
- * @param unit the unit
- */
- void setHistory(int samples, long time, TimeUnit unit);
-
- /**
- * Gets the window size.
- *
- * @param unit the unit
- * @return the window size
- */
- long getWindowSize(TimeUnit unit);
-
- /**
- * Gets the history sample size.
- *
- * @return the history sample size
- */
- int getHistorySampleSize();
-
- /**
- * Gets the history sample time.
- *
- * @param unit the unit
- * @return the history sample time
- */
- long getHistorySampleTime(TimeUnit unit);
-
- }
-
- /**
- * The Interface Result.
- */
- public interface Result {
-
- /**
- * Count.
- *
- * @return the statistic
- */
- Statistic count();
-
- /**
- * Rate.
- *
- * @return the statistic
- */
- Statistic rate();
-
- /**
- * Latency.
- *
- * @return the latency
- */
- Latency latency();
- }
-
- /**
- * The Latency interface. Provides min/max/average.
- */
- public interface Latency {
-
- /**
- * Minimum latency observed.
- *
- * @return Minimum observed latency. NULL if no operation was observed.
- */
- Statistic minimum();
-
- /**
- * Maximum latency observed.
- *
- * @return Maximum observed latency. NULL if no operation was observed.
- */
- Statistic maximum();
-
- /**
- * Average observed latency.
- *
- * @return Average observed latency. NULL if no operation was observed.
- */
- Statistic average();
- }
-
- /**
- * The Interface Statistic.
- *
- * @param the generic type
- */
- public interface Statistic {
-
- /**
- * Active.
- *
- * @return true, if successful
- */
- boolean active();
-
- /**
- * Value.
- *
- * @return the t
- */
- T value();
-
- /**
- * History.
- *
- * @return the list
- */
- List> history();
- }
-
- /**
- * Gets the size.
- *
- * @return the size
- */
- Statistic size();
-
- /**
- * Gets the local heap size.
- *
- * @return the local heap size
- */
- Statistic localHeapSize();
-
- /**
- * Gets the local heap size in bytes.
- *
- * @return the local heap size in bytes
- */
- Statistic localHeapSizeInBytes();
-
- /**
- * Gets the local off heap size.
- *
- * @return the local off heap size
- */
- Statistic localOffHeapSize();
-
- /**
- * Gets the local off heap size in bytes.
- *
- * @return the local off heap size in bytes
- */
- Statistic localOffHeapSizeInBytes();
-
- /**
- * Gets the local disk size.
- *
- * @return the local disk size
- */
- Statistic localDiskSize();
-
- /**
- * Gets the local disk size in bytes.
- *
- * @return the local disk size in bytes
- */
- Statistic localDiskSizeInBytes();
-
- /**
- * Gets the remote size.
- *
- * @return the remote size
- */
- Statistic remoteSize();
-
- /**
- * Gets the writer queue length.
- *
- * @return the writer queue length
- */
- Statistic writerQueueLength();
-
- /**
- * Get the timestamp (millis) of the last cluster rejoin event
- *
- * @return statistic for cluster rejoin timestamp
- */
- Statistic mostRecentRejoinTimeStampMillis();
-
-}
\ No newline at end of file
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/constructs/eventual/package.html
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/constructs/eventual/package.html (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/constructs/eventual/package.html (revision 0)
@@ -1,10 +0,0 @@
-
-
-
-
-
Construct related to eventual operations
-
-This package contains a decorator which offers a strong view on an eventual consistent cache.
-
-
-
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/event/CacheEventListenerFactory.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/event/CacheEventListenerFactory.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/event/CacheEventListenerFactory.java (revision 0)
@@ -1,39 +0,0 @@
-/**
- * Copyright Terracotta, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.sf.ehcache.event;
-
-import java.util.Properties;
-
-/**
- * An abstract factory for creating listeners. Implementers should provide their own
- * concrete factory extending this factory. It can then be configured in ehcache.xml.
- *
- * @author Greg Luck
- * @version $Id: CacheEventListenerFactory.java 5594 2012-05-07 16:04:31Z cdennis $
- */
-public abstract class CacheEventListenerFactory {
-
- /**
- * Create a CacheEventListener
- *
- * @param properties implementation specific properties. These are configured as comma
- * separated name value pairs in ehcache.xml
- * @return a constructed CacheEventListener
- */
- public abstract CacheEventListener createCacheEventListener(Properties properties);
-
-}
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/constructs/classloader/package.html
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/constructs/classloader/package.html (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/constructs/classloader/package.html (revision 0)
@@ -1,10 +0,0 @@
-
-
-
-
-
ClassLoader contstructs package
-
-This package contains decorators that are concerned with classloaders
-
-
-
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/config/generator/model/elements/ConfigurationElement.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/config/generator/model/elements/ConfigurationElement.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/config/generator/model/elements/ConfigurationElement.java (revision 0)
@@ -1,197 +0,0 @@
-/**
- * Copyright Terracotta, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.sf.ehcache.config.generator.model.elements;
-
-import java.util.List;
-
-import net.sf.ehcache.CacheManager;
-import net.sf.ehcache.Ehcache;
-import net.sf.ehcache.config.CacheConfiguration;
-import net.sf.ehcache.config.Configuration;
-import net.sf.ehcache.config.DiskStoreConfiguration;
-import net.sf.ehcache.config.FactoryConfiguration;
-import net.sf.ehcache.config.ManagementRESTServiceConfiguration;
-import net.sf.ehcache.config.SizeOfPolicyConfiguration;
-import net.sf.ehcache.config.TerracottaClientConfiguration;
-import net.sf.ehcache.config.generator.model.SimpleNodeAttribute;
-import net.sf.ehcache.config.generator.model.SimpleNodeElement;
-
-/**
- * Element representing the {@link Configuration}. This element does not have a parent and is always null.
- *
- * @author Abhishek Sanoujam
- *
- */
-public class ConfigurationElement extends SimpleNodeElement {
-
- private final CacheManager cacheManager;
- private final Configuration configuration;
-
- /**
- * Constructor accepting the {@link Configuration}. This element does not have a parent and is always null.
- *
- * @param configuration
- */
- public ConfigurationElement(Configuration configuration) {
- super(null, "ehcache");
- this.cacheManager = null;
- this.configuration = configuration;
- init();
- }
-
- /**
- * Constructor accepting the {@link CacheManager}. This element does not have a parent and is always null.
- *
- * @param cacheManager
- */
- public ConfigurationElement(CacheManager cacheManager) {
- super(null, "ehcache");
- this.cacheManager = cacheManager;
- this.configuration = cacheManager.getConfiguration();
- init();
- }
-
- private void init() {
- if (configuration == null) {
- return;
- }
- // add the attributes
- addAttribute(new SimpleNodeAttribute("name", configuration.getName()).optional(true));
- addAttribute(new SimpleNodeAttribute("monitoring", configuration.getMonitoring()).optional(true).defaultValue(
- Configuration.DEFAULT_MONITORING.name().toLowerCase()));
- addAttribute(new SimpleNodeAttribute("dynamicConfig", configuration.getDynamicConfig()).optional(true).defaultValue(
- String.valueOf(Configuration.DEFAULT_DYNAMIC_CONFIG)));
- addAttribute(new SimpleNodeAttribute("defaultTransactionTimeoutInSeconds", configuration.getDefaultTransactionTimeoutInSeconds())
- .optional(true).defaultValue(String.valueOf(Configuration.DEFAULT_TRANSACTION_TIMEOUT)));
- testAddMaxBytesLocalHeapAttribute();
- testAddMaxBytesLocalOffHeapAttribute();
- testAddMaxBytesLocalDiskAttribute();
-
- // add the child elements
- testAddDiskStoreElement();
- testAddSizeOfPolicyElement();
- testAddTransactionManagerLookupElement();
- testAddManagementRESTService();
- testAddCacheManagerEventListenerFactoryElement();
- testAddCacheManagerPeerProviderFactoryElement();
- testAddCacheManagerPeerListenerFactoryElement();
-
- addChildElement(new DefaultCacheConfigurationElement(this, configuration, configuration.getDefaultCacheConfiguration()));
-
- if (cacheManager != null) {
- for (String cacheName : cacheManager.getCacheNames()) {
- boolean decoratedCache = false;
- Ehcache cache = cacheManager.getCache(cacheName);
- if (cache == null) {
- cache = cacheManager.getEhcache(cacheName);
- decoratedCache = true;
- }
- CacheConfiguration config = decoratedCache ? cache.getCacheConfiguration().clone().name(cacheName) : cache.getCacheConfiguration();
- addChildElement(new CacheConfigurationElement(this, configuration, config));
- }
- } else {
- for (CacheConfiguration cacheConfiguration : configuration.getCacheConfigurations().values()) {
- addChildElement(new CacheConfigurationElement(this, configuration, cacheConfiguration));
- }
- }
-
- testAddTerracottaElement();
- }
-
- private void testAddMaxBytesLocalHeapAttribute() {
- if (configuration.getMaxBytesLocalHeap() > 0) {
- addAttribute(new SimpleNodeAttribute("maxBytesLocalHeap", configuration.getMaxBytesLocalHeapAsString())
- .optional(true).defaultValue(String.valueOf(Configuration.DEFAULT_MAX_BYTES_ON_HEAP)));
- }
- }
-
- private void testAddMaxBytesLocalOffHeapAttribute() {
- if (configuration.getMaxBytesLocalOffHeap() > 0) {
- addAttribute(new SimpleNodeAttribute("maxBytesLocalOffHeap", configuration.getMaxBytesLocalOffHeapAsString())
- .optional(true).defaultValue(String.valueOf(Configuration.DEFAULT_MAX_BYTES_OFF_HEAP)));
- }
- }
-
- private void testAddMaxBytesLocalDiskAttribute() {
- if (configuration.getMaxBytesLocalDisk() > 0) {
- addAttribute(new SimpleNodeAttribute("maxBytesLocalDisk", configuration.getMaxBytesLocalDiskAsString())
- .optional(true).defaultValue(String.valueOf(Configuration.DEFAULT_MAX_BYTES_ON_DISK)));
- }
- }
-
- private void testAddDiskStoreElement() {
- DiskStoreConfiguration diskStoreConfiguration = configuration.getDiskStoreConfiguration();
- if (diskStoreConfiguration != null) {
- addChildElement(new DiskStoreConfigurationElement(this, diskStoreConfiguration));
- }
- }
-
- private void testAddSizeOfPolicyElement() {
- SizeOfPolicyConfiguration sizeOfPolicyConfiguration = configuration.getSizeOfPolicyConfiguration();
- if (sizeOfPolicyConfiguration != null &&
- !Configuration.DEFAULT_SIZEOF_POLICY_CONFIGURATION.equals(sizeOfPolicyConfiguration)) {
- addChildElement(new SizeOfPolicyConfigurationElement(this, sizeOfPolicyConfiguration));
- }
- }
-
- private void testAddTransactionManagerLookupElement() {
- FactoryConfiguration transactionManagerLookupConfiguration = configuration.getTransactionManagerLookupConfiguration();
- if (transactionManagerLookupConfiguration != null
- && !transactionManagerLookupConfiguration.equals(Configuration.DEFAULT_TRANSACTION_MANAGER_LOOKUP_CONFIG)) {
- addChildElement(new FactoryConfigurationElement(this, "transactionManagerLookup", transactionManagerLookupConfiguration));
- }
- }
-
- private void testAddManagementRESTService() {
- ManagementRESTServiceConfiguration managementRESTServiceConfiguration = configuration.getManagementRESTService();
- if (managementRESTServiceConfiguration != null) {
- addChildElement(new ManagementRESTServiceConfigurationElement(this, managementRESTServiceConfiguration));
- }
- }
-
- private void testAddCacheManagerEventListenerFactoryElement() {
- FactoryConfiguration cacheManagerEventListenerFactoryConfiguration = configuration
- .getCacheManagerEventListenerFactoryConfiguration();
- if (cacheManagerEventListenerFactoryConfiguration != null) {
- addChildElement(new FactoryConfigurationElement(this, "cacheManagerEventListenerFactory",
- cacheManagerEventListenerFactoryConfiguration));
- }
- }
-
- private void testAddCacheManagerPeerProviderFactoryElement() {
- List cacheManagerPeerProviderFactoryConfiguration = configuration
- .getCacheManagerPeerProviderFactoryConfiguration();
- if (cacheManagerPeerProviderFactoryConfiguration != null) {
- addAllFactoryConfigsAsChildElements(this, "cacheManagerPeerProviderFactory", cacheManagerPeerProviderFactoryConfiguration);
- }
- }
-
- private void testAddCacheManagerPeerListenerFactoryElement() {
- List cacheManagerPeerListenerFactoryConfigurations = configuration
- .getCacheManagerPeerListenerFactoryConfigurations();
- if (cacheManagerPeerListenerFactoryConfigurations != null && !cacheManagerPeerListenerFactoryConfigurations.isEmpty()) {
- addAllFactoryConfigsAsChildElements(this, "cacheManagerPeerListenerFactory", cacheManagerPeerListenerFactoryConfigurations);
- }
- }
-
- private void testAddTerracottaElement() {
- TerracottaClientConfiguration terracottaConfiguration = configuration.getTerracottaConfiguration();
- if (terracottaConfiguration != null) {
- addChildElement(new TerracottaConfigConfigurationElement(this, terracottaConfiguration));
- }
- }
-}
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/test/java/net/sf/ehcache/config/generator/xsom/XSDAttributeValueType.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/test/java/net/sf/ehcache/config/generator/xsom/XSDAttributeValueType.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/test/java/net/sf/ehcache/config/generator/xsom/XSDAttributeValueType.java (revision 0)
@@ -1,264 +0,0 @@
-/**
- * Copyright Terracotta, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.sf.ehcache.config.generator.xsom;
-
-import net.sf.ehcache.config.MemoryUnit;
-
-import java.util.Iterator;
-import java.util.Random;
-
-import com.sun.xml.xsom.XSAttributeDecl;
-import com.sun.xml.xsom.XSFacet;
-import com.sun.xml.xsom.XSRestrictionSimpleType;
-import com.sun.xml.xsom.XSSimpleType;
-
-public abstract class XSDAttributeValueType {
-
- protected static final Random RANDOM = new Random(System.currentTimeMillis());
- protected String pattern;
- public enum XsdType {
- BOOLEAN, INTEGER, POSITIVE_INTEGER, NON_NEGATIVE_INTEGER, STRING, ANY_SIMPLE_TYPE, ENUMERATION;
- }
- protected String maxValue;
- protected String minValue;
- protected String length;
- protected String maxLength;
- protected String minLength;
-
- protected String totalDigits;
-
- private final XsdType type;
-
- public XSDAttributeValueType(XsdType type) {
- this.type = type;
- }
-
- public abstract String getRandomAllowedValue();
-
- protected void fillUpRestrictions(XSAttributeDecl attributeDecl) {
- XSSimpleType localType = attributeDecl.getType();
- XSRestrictionSimpleType restriction = localType.asRestriction();
- if (restriction != null) {
- Iterator extends XSFacet> i = restriction.getDeclaredFacets().iterator();
- while (i.hasNext()) {
- XSFacet facet = i.next();
- if (facet.getName().equals(XSFacet.FACET_MAXINCLUSIVE)) {
- maxValue = facet.getValue().value;
- }
- if (facet.getName().equals(XSFacet.FACET_MININCLUSIVE)) {
- minValue = facet.getValue().value;
- }
- if (facet.getName().equals(XSFacet.FACET_MAXEXCLUSIVE)) {
- maxValue = String.valueOf(Integer.parseInt(facet.getValue().value) - 1);
- }
- if (facet.getName().equals(XSFacet.FACET_MINEXCLUSIVE)) {
- minValue = String.valueOf(Integer.parseInt(facet.getValue().value) + 1);
- }
- if (facet.getName().equals(XSFacet.FACET_LENGTH)) {
- length = facet.getValue().value;
- }
- if (facet.getName().equals(XSFacet.FACET_MAXLENGTH)) {
- maxLength = facet.getValue().value;
- }
- if (facet.getName().equals(XSFacet.FACET_MINLENGTH)) {
- minLength = facet.getValue().value;
- }
- if (facet.getName().equals(XSFacet.FACET_PATTERN)) {
- pattern = facet.getValue().value;
- }
- if (facet.getName().equals(XSFacet.FACET_TOTALDIGITS)) {
- totalDigits = facet.getValue().value;
- }
- }
- }
- }
-
- public static class XSDAttributeValueBooleanType extends XSDAttributeValueType {
-
- public XSDAttributeValueBooleanType() {
- super(XsdType.BOOLEAN);
- }
-
- @Override
- public String getRandomAllowedValue() {
- return RANDOM.nextInt() % 2 == 0 ? getTrue() : getFalse();
- }
-
- public String getTrue() {
- return String.valueOf(true);
- }
-
- public String getFalse() {
- return String.valueOf(false);
- }
-
- }
-
- public static class XSDAttributeValueIntegerType extends XSDAttributeValueType {
-
- public XSDAttributeValueIntegerType() {
- super(XsdType.INTEGER);
- }
-
- @Override
- public String getRandomAllowedValue() {
- return String.valueOf(RANDOM.nextInt());
- }
-
- }
-
- public static class XSDAttributeValuePositiveIntegerType extends XSDAttributeValueType {
-
- public XSDAttributeValuePositiveIntegerType() {
- super(XsdType.POSITIVE_INTEGER);
- }
-
- @Override
- public String getRandomAllowedValue() {
- return String.valueOf(Math.abs(RANDOM.nextInt() + 1));
- }
-
- }
-
- public static class XSDAttributeValueNonNegativeIntegerType extends XSDAttributeValueType {
-
- public XSDAttributeValueNonNegativeIntegerType() {
- super(XsdType.NON_NEGATIVE_INTEGER);
- }
-
- @Override
- public String getRandomAllowedValue() {
- return String.valueOf(Math.abs(RANDOM.nextInt()));
- }
-
- }
-
- public static class XSDAttributeValueMemoryUnitType extends XSDAttributeValueType {
-
- public static final char[] unitChars;
-
- static {
- MemoryUnit[] values = MemoryUnit.values();
- char [] chars = new char[values.length * 2];
- int i = 0;
- for (MemoryUnit memoryUnit : values) {
- chars[i++] = Character.toLowerCase(memoryUnit.getUnit());
- chars[i++] = Character.toUpperCase(memoryUnit.getUnit());
- }
- unitChars = chars;
- }
-
- public XSDAttributeValueMemoryUnitType() {
- super(XsdType.NON_NEGATIVE_INTEGER);
- }
-
- @Override
- public String getRandomAllowedValue() {
- int index = RANDOM.nextInt(unitChars.length + 1);
- if(index < unitChars.length) {
- return String.valueOf(Math.abs(RANDOM.nextInt())) + unitChars[index];
- }
- return String.valueOf(Math.abs(RANDOM.nextInt()));
- }
-
- }
-
- public static class XSDAttributeValueMemoryUnitOrPercentageType extends XSDAttributeValueType {
-
- public static final char[] unitChars;
-
- static {
- MemoryUnit[] values = MemoryUnit.values();
- char [] chars = new char[values.length * 2 + 1];
- int i = 0;
- for (MemoryUnit memoryUnit : values) {
- chars[i++] = Character.toLowerCase(memoryUnit.getUnit());
- chars[i++] = Character.toUpperCase(memoryUnit.getUnit());
- }
- chars[i] = '%';
- unitChars = chars;
- }
-
- public XSDAttributeValueMemoryUnitOrPercentageType() {
- super(XsdType.NON_NEGATIVE_INTEGER);
- }
-
- @Override
- public String getRandomAllowedValue() {
- int index = RANDOM.nextInt(unitChars.length + 1);
- if(index < unitChars.length) {
- switch (unitChars[index]) {
- case '%' :
- return String.valueOf(Math.abs(RANDOM.nextInt(100) + 1)) + unitChars[index];
- default:
- return String.valueOf(Math.abs(RANDOM.nextInt())) + unitChars[index];
- }
- }
- return String.valueOf(Math.abs(RANDOM.nextInt()));
- }
-
- }
-
- public static class XSDAttributeValueStringType extends XSDAttributeValueType {
-
- private static final String[] RANDOM_VALUES = {"random_string_one", "random_string_two", "random_string_three", "random_string_four",
- "random_string_five", };
-
- public XSDAttributeValueStringType() {
- super(XsdType.STRING);
- }
-
- @Override
- public String getRandomAllowedValue() {
- return RANDOM_VALUES[RANDOM.nextInt(RANDOM_VALUES.length)];
- }
-
- }
-
- public static class XSDAttributeValueAnySimpleType extends XSDAttributeValueType {
-
- private static final String[] RANDOM_VALUES = {"any_simple_type_random_one", "any_simple_type_random_two",
- "any_simple_type_random_three", "any_simple_type_random_four", "any_simple_type_random_five", };
-
- public XSDAttributeValueAnySimpleType() {
- super(XsdType.ANY_SIMPLE_TYPE);
- }
-
- @Override
- public String getRandomAllowedValue() {
- return RANDOM_VALUES[RANDOM.nextInt(RANDOM_VALUES.length)];
- }
-
- }
-
- public static class XSDAttributeValueEnumerationType extends XSDAttributeValueType {
-
- private final String[] enumeration;
-
- public XSDAttributeValueEnumerationType(String[] enumeration) {
- super(XsdType.ENUMERATION);
- this.enumeration = enumeration;
- }
-
- @Override
- public String getRandomAllowedValue() {
- return enumeration[RANDOM.nextInt(enumeration.length)];
- }
-
- }
-
-}
Index: rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/config/generator/model/elements/ElementValueComparatorConfigurationElement.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/config/generator/model/elements/ElementValueComparatorConfigurationElement.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/ehcache-core/src/main/java/net/sf/ehcache/config/generator/model/elements/ElementValueComparatorConfigurationElement.java (revision 0)
@@ -1,55 +0,0 @@
-/**
- * Copyright Terracotta, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.sf.ehcache.config.generator.model.elements;
-
-import net.sf.ehcache.config.ElementValueComparatorConfiguration;
-import net.sf.ehcache.config.generator.model.NodeElement;
-import net.sf.ehcache.config.generator.model.SimpleNodeAttribute;
-import net.sf.ehcache.config.generator.model.SimpleNodeElement;
-
-/**
- * {@link net.sf.ehcache.config.generator.model.NodeElement} representing the
- * {@link net.sf.ehcache.config.ElementValueComparatorConfiguration}
- *
- * @author Ludovic Orban
- *
- */
-public class ElementValueComparatorConfigurationElement extends SimpleNodeElement {
-
- private final ElementValueComparatorConfiguration elementValueComparatorConfiguration;
-
- /**
- * Constructor accepting the parent and the {@link net.sf.ehcache.config.ElementValueComparatorConfiguration}
- *
- * @param parent
- * @param elementValueComparatorConfiguration
- */
- public ElementValueComparatorConfigurationElement(NodeElement parent,
- ElementValueComparatorConfiguration elementValueComparatorConfiguration) {
- super(parent, "elementValueComparator");
- this.elementValueComparatorConfiguration = elementValueComparatorConfiguration;
- init();
- }
-
- private void init() {
- if (elementValueComparatorConfiguration == null) {
- return;
- }
- addAttribute(new SimpleNodeAttribute("class", elementValueComparatorConfiguration.getClassName()).optional(false));
- }
-
-}
Index: rctags/ehcache-2.10.9.1.15/system-tests/src/test/java/net/sf/ehcache/util/RetryAssert.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/system-tests/src/test/java/net/sf/ehcache/util/RetryAssert.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/system-tests/src/test/java/net/sf/ehcache/util/RetryAssert.java (revision 0)
@@ -1,80 +0,0 @@
-/*
- * All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved.
- */
-
-package net.sf.ehcache.util;
-
-import net.sf.ehcache.Ehcache;
-import net.sf.ehcache.Element;
-import net.sf.ehcache.store.Store;
-
-import org.hamcrest.Matcher;
-import org.junit.Assert;
-
-import java.util.concurrent.Callable;
-import java.util.concurrent.TimeUnit;
-
-public class RetryAssert {
- protected RetryAssert() {
- // static only class
- }
-
- public static void assertBy(long time, TimeUnit unit, Callable value, Matcher super T> matcher) {
- boolean interrupted = false;
- long start = System.nanoTime();
- long end = start + unit.toNanos(time);
- long sleep = Math.max(50, unit.toMillis(time) / 10);
- AssertionError latest;
- try {
- while (true) {
- try {
- Assert.assertThat(value.call(), matcher);
- return;
- } catch (AssertionError e) {
- latest = e;
- } catch (Exception e) {
- latest = new AssertionError(e);
- }
-
- if (System.nanoTime() > end) {
- break;
- } else {
- try {
- Thread.sleep(sleep);
- } catch (InterruptedException e) {
- interrupted = true;
- }
- }
- }
- } finally {
- if (interrupted) {
- Thread.currentThread().interrupt();
- }
- }
- throw latest;
- }
-
- public static Callable elementAt(final Ehcache cache, final Object key) {
- return new Callable() {
- public Element call() {
- return cache.get(key);
- }
- };
- }
-
- public static Callable sizeOf(final Ehcache cache) {
- return new Callable() {
- public Integer call() throws Exception {
- return cache.getSize();
- }
- };
- }
-
- public static Callable sizeOnDiskOf(final Store store) {
- return new Callable() {
- public Integer call() throws Exception {
- return store.getOnDiskSize();
- }
- };
- }
-}
Index: rctags/ehcache-2.10.9.1.15/system-tests/src/test/java/org/terracotta/ehcache/tests/container/hibernate/domain/Person.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/system-tests/src/test/java/org/terracotta/ehcache/tests/container/hibernate/domain/Person.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/system-tests/src/test/java/org/terracotta/ehcache/tests/container/hibernate/domain/Person.java (revision 0)
@@ -1,108 +0,0 @@
-/*
- * All content copyright (c) 2003-2008 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
- */
-
-package org.terracotta.ehcache.tests.container.hibernate.domain;
-
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-public class Person {
-
- private Long id;
- private int age;
- private String firstname;
- private String lastname;
- private List events = new ArrayList(); // list semantics, e.g., indexed
- private Set emailAddresses = new HashSet();
- private Set phoneNumbers = new HashSet();
- private List talismans = new ArrayList(); // a Bag of good-luck charms.
-
- public Person() {
- //
- }
-
- public List getEvents() {
- return events;
- }
-
- protected void setEvents(List events) {
- this.events = events;
- }
-
- public void addToEvent(Event event) {
- this.getEvents().add(event);
- event.getParticipants().add(this);
- }
-
- public void removeFromEvent(Event event) {
- this.getEvents().remove(event);
- event.getParticipants().remove(this);
- }
-
- public int getAge() {
- return age;
- }
-
- public void setAge(int age) {
- this.age = age;
- }
-
- public String getFirstname() {
- return firstname;
- }
-
- public void setFirstname(String firstname) {
- this.firstname = firstname;
- }
-
- public Long getId() {
- return id;
- }
-
- public void setId(Long id) {
- this.id = id;
- }
-
- public String getLastname() {
- return lastname;
- }
-
- public void setLastname(String lastname) {
- this.lastname = lastname;
- }
-
- public Set getEmailAddresses() {
- return emailAddresses;
- }
-
- public void setEmailAddresses(Set emailAddresses) {
- this.emailAddresses = emailAddresses;
- }
-
- public Set getPhoneNumbers() {
- return phoneNumbers;
- }
-
- public void setPhoneNumbers(Set phoneNumbers) {
- this.phoneNumbers = phoneNumbers;
- }
-
- public void addTalisman(String name) {
- talismans.add(name);
- }
-
- public List getTalismans() {
- return talismans;
- }
-
- public void setTalismans(List talismans) {
- this.talismans = talismans;
- }
-
- public String toString() {
- return getFirstname() + " " + getLastname();
- }
-}
Index: rctags/ehcache-2.10.9.1.15/system-tests/src/test/java/org/terracotta/modules/ehcache/bulkops/BulkOpsExplictLockingTest.java
===================================================================
diff -u -N
--- rctags/ehcache-2.10.9.1.15/system-tests/src/test/java/org/terracotta/modules/ehcache/bulkops/BulkOpsExplictLockingTest.java (revision 11494)
+++ rctags/ehcache-2.10.9.1.15/system-tests/src/test/java/org/terracotta/modules/ehcache/bulkops/BulkOpsExplictLockingTest.java (revision 0)
@@ -1,229 +0,0 @@
-/*
- * All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved.
- */
-package org.terracotta.modules.ehcache.bulkops;
-
-import net.sf.ehcache.Cache;
-import net.sf.ehcache.CacheManager;
-import net.sf.ehcache.Element;
-import net.sf.ehcache.config.CacheConfiguration;
-import net.sf.ehcache.config.TerracottaConfiguration;
-import net.sf.ehcache.config.TerracottaConfiguration.Consistency;
-
-import org.terracotta.ehcache.tests.AbstractCacheTestBase;
-import org.terracotta.ehcache.tests.ClientBase;
-import org.terracotta.toolkit.Toolkit;
-import org.terracotta.toolkit.concurrent.ToolkitBarrier;
-
-import com.tc.test.config.model.TestConfig;
-
-import java.io.Serializable;
-import java.util.Collection;
-import java.util.HashSet;
-import java.util.Map;
-import java.util.Set;
-import java.util.concurrent.BrokenBarrierException;
-
-import junit.framework.Assert;
-
-public class BulkOpsExplictLockingTest extends AbstractCacheTestBase {
- private static final int NODE_COUNT = 2;
-
- public BulkOpsExplictLockingTest(TestConfig testConfig) {
- super(testConfig, App.class, App.class);
- }
-
- public static class App extends ClientBase {
- private final ToolkitBarrier barrier;
-
- public App(String[] args) {
- super(args);
- this.barrier = getClusteringToolkit().getBarrier("test-barrier", NODE_COUNT);
- }
-
- public static void main(String[] args) {
- new App(args).run();
- }
-
- @Override
- protected void runTest(Cache cache, Toolkit clusteringToolkit) throws Throwable {
- Cache dcv2Strong = createCache("dcv2Strong", cacheManager, Consistency.STRONG);
- testBulkOpsWithExplictLocking(dcv2Strong);
- Cache dcv2Eventual = createCache("dcv2Eventual", cacheManager, Consistency.EVENTUAL);
- testBulkOpsWithExplictLocking(dcv2Eventual);
-
- }
-
- private void testBulkOpsWithExplictLocking(Cache cache) throws InterruptedException, BrokenBarrierException {
- int index = barrier.await();
- int numOfElements = 100;
- Set elements = new HashSet();
- for (int i = 0; i < numOfElements; i++) {
- elements.add(new Element(new Key("key" + i, i), new Value("val" + i, i)));
- }
- Key key = new Key("key0", 0);
- if (index == 0) {
- cache.acquireWriteLockOnKey(key);
- cache.putAll(elements);
- }
-
- barrier.await();
- if (index == 0) {
- Assert.assertTrue(cache.isWriteLockedByCurrentThread(key));
- } else {
- Assert.assertFalse(cache.isWriteLockedByCurrentThread(key));
- }
-
- if (index == 0) {
- cache.releaseWriteLockOnKey(key);
- }
- Assert.assertFalse(cache.isWriteLockedByCurrentThread(key));
- barrier.await();
-
- while (cache.getSize() != numOfElements) {
- Thread.sleep(1000);
- }
- Assert.assertEquals(numOfElements, cache.getSize());
-
- Set keySet1 = new HashSet();
- for (int i = 0; i < numOfElements; i++) {
- keySet1.add(new Key("key" + i, i));
- }
-
- cache.acquireReadLockOnKey(key);
- Map