59851: Merged BRANCHES/DEV/mward/head_bf_gdata_upgd to BRANCHES/DEV/HEAD-BUG-FIX (local cache improvements):
59586: DefaultSimpleCache max size is Integer.MAX_VALUE when configured with maxItems of 0.
59590: maxItems for DefaultSimpleCache is now an optional feature.
59592: non-clustered caches will not use size-based eviction when {cacheName}.eviction-policy=NONE, to match clustered caches.
59594: Added TTL to DefaultSimpleCache - not yet configurable through the factory.
59602: DefaultCacheFactory can create caches with a time-to-live setting enabled.
59620: Organise imports for DefaultSimpleCache
59622: DefaultSimpleCache: changed field name from map to cache, as this makes more sense with changing to use of CacheBuilder.
59627: Added maxIdleSecs property to DefaultSimpleCache - not yet configurable from the cache factory.
59629: DefaultCacheFactory now supports maxIdleSeconds property for configuring non-clustered caches.
59633: Updated description of supported non-clustered cache properties in caches.properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59850: Merged BRANCHES/DEV/mward/head_bf_gdata_upgd to BRANCHES/DEV/HEAD-BUG-FIX (upgrade gdata libs):
59515: Removed gdata-1.45.0 libraries.
59516: Removed concurrentlinkedhashmap-lru-1.2 library.
59518: Added gdata-1.47.1 library JARs (dependencies to follow)
59521: Added gdata-1.47.1 dependencies (guava-11.0.2 and JSR-305)
59524: Updated ant build files to use gdata-1.47.1
59528: Removed outdated gdata-1.45.0 src zip.
59530: Added gdata-1.47.1 src zip
59531: Update eclipse .classpath with gdata 1.47.1 libraries
59532: Exported new gdata-1.47.1 and guava-11 libs from 3rd party project
59559: Fix DefaultSimpleCache to use a Guava Cache, replacing ConcurrentLinkedHashMap usage.
59568: Reverted r59516: concurrentlinkedhashmap lib is required by Surf.
59572: Replaced use of google-collections with guava in repository's pom.xml
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
After much deliberation I decided not to offer an unbounded cache size, i.e. maxItems MUST be at least one. This simplifies the implementation (marginally) and means that tests do not have to be duplicated for both underlying data structure types (better coverage). Would we really want a cache to grow indefinitely?
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@42223 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
41454: ALF-15881: Disabling clustering in community
41500: ALF-15883: Move configuration files
41503: ALF-15884: Move cluster package to enterprise repository project
41504: ALF-15884: Move cluster package to enterprise repository project
41519: ALF-15886: References/definition for "hazelcastInstanceFactory" must be in enterprise repo only
41523: ALF-15886: References/definition for "hazelcastInstanceFactory" must be in enterprise repo only
41525: ALF-15886: References/definition for "hazelcastInstanceFactory" must be in enterprise repo only
41527: ALF-15886: References/definition for "hazelcastInstanceFactory" must be in enterprise repo only
41530: ALF-15886: remove import for class no longer in project.
41532: ALF-15887: LockStoreFactoryImpl must be separated into community and enterprise versions
41535: ALF-15883: Move configuration files
41561: ALF-15886: factory class to create key fileserver config beans.
41578: ALF-15888: separate transactional and shared cache bean definitions.
41623: ALF-15888: first pass at DefaultSimpleCache implementation.
41646: ALF-15888: move ehcache-default.xml
41651: ALF-15888: update javadoc to reflect changes
41762: ALF-15888: improve cache test to prove that null values are stored correctly.
41812: ALF-15888: added new cache provider for use by hibernate: DefaultCacheProvider.
41830: ALF-15888: make DefaultSimpleCache BeanNameAware to help with debugging etc.
41831: ALF-15888: missing file from commit - adds enterprise override capability for hibernate-cfg.properties
41850: ALF-15888: move tickets cache to cache-context.xml
41857: ALF-15888: make RemoteAlfrescoTicketServiceImpl cache implementation agnostic.
41866: ALF-15888: extract caches from fileservers and web-client and provide enterprise overrides
41881: ALF-15888: replace use of EhCacheAdapter with DefaultSimpleCache and SimpleCache interface.
41884: ALF-15888: added DefaultSimpleCache configuration to CachingContentStore sample XML.
41885: ALF-15888: move EhCacheAdapter to new package.
41886: ALF-15888: correct absolute class names in config for EhCacheAdapter.
41892: ALF-15888: fix CachingContentStore tests.
41897: ALF-15888: move CacheTest and config to new package.
41898: ALF-15888: remove redundant directory
41899: ALF-15889: move EhCacheManagerFactoryBean to new package.
41902: ALF-15889: moved EhCacheTracerJob to new package.
41913: ALF-15889: move InternalEhCacheManagerFactoryBean to new package.
41916: ALF-15889: move AlfrescoCacheManagerPeerProviderFactory to new package.
41937: ALF-15889: decouple TransactionalCache from EhCache
41966: ALF-15889: decouple RetryingTransactionHelper from ehcache.
41989: ALF-15889: added ContextListener test.
41996: ALF-15889: moved cache test to its own class.
41998: ALF-15889: move ehcache jars.
41999: ALF-15889: modify .classpath to reflect jar moves.
42037: ALF-15889: update poms to reflect lib moves.
42038: ALF-15889: add eclipse library reference to enterprise projects.
42093: ALF-15916: moved core properties to enterprise
42114: ALF-15888: externalized cache sizes to repository.properties.
42127: ALF-16136: move re-indexing configuration
42140: ALF-16136: move cluster check property.
42186: ALF-15889: removing seemingly redundant test config file.
42187: ALF-15888: tidy up config changes.
42189: ALF-15888: cleanup config
42190: ALF-15888: config cleanup
42191: ALF-15888: config cleanup
42198: ALF-16136: restored lost property
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@42210 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261