config

Checkout Tools
  • last updated 31 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
core is relocated now

    • -1689
    • +0
    ./ConfigurationFactoryTest.java
    • -331
    • +0
    ./CacheConfigurationListenerTest.java
    • -134
    • +0
    ./CacheWriterConfigurationTest.java
    • -172
    • +0
    ./generator/xsom/XSOMHelper.java
    • -45
    • +0
    ./generator/AttributeIgnoringXMLGenerator.java
    • -25
    • +0
    ./generator/xsom/XSDAttributeValueFactory.java
    • -62
    • +0
    ./generator/RememberingVisitor.java
  1. … 1097 more files in changeset.
fix test

    • -6
    • +6
    ./DynamicCacheConfigurationValidityTest.java
    • -0
    • +165
    ./DynamicCacheConfigurationValidityTest.java
  1. … 1 more file in changeset.
EHC-900 : fix copy-paste error in Configuration and add test coverage
  1. … 1 more file in changeset.
Fix Eclipse generics warning: Collections.EMPTY_XXX -> Collections.emptyXXX()
  1. … 7 more files in changeset.
remove unused import

DEV-6310: fixed class cast exception when only copy on read or on write (but not both) was enabled
  1. … 11 more files in changeset.
DEV-6310: fixed test
  1. … 1 more file in changeset.
DEV-6310: DefaultElementValueComparator now uses ReadWriteCopyStrategy before comparing element values
  1. … 12 more files in changeset.
fix tests

  1. … 20 more files in changeset.
DEV-6258, Disable classic storage mode for clustered caches
  1. … 1 more file in changeset.
EHC-849: attempting to change transactional mode once it is set now throws an exception
  1. … 1 more file in changeset.
Added JMX interface for changing CacheManager pool sizes (not offheap).

Updated config generator to only generate valid configs, needing the CacheManager Configuration for that purpose.

Updated config generator to generate short form of elements not containing text content or child elements.

Update config generator test to check standalone,clustered,entry-based,size-based configs.

Updated maven-check-style plugin from v2.5 -> v2.7 for the purpose of configuring the MagicNumber rule to allow them in hashCode methods.

Added hashCode/equals methods to various config types for the purpose of not generating default values.

Changed CacheConfiguration to:

* order sanity checks from most general to least

* in configCachePools, to not try to resize an existing offheap pool

* to ensure that offHeapPoolUsage is None for a Terracotta-clustered cache

    • -0
    • +92
    ./generator/StandaloneSizeBasedConfigAttributesValueFactory.java
    • -0
    • +93
    ./generator/StandaloneEntryBasedConfigAttributesValueFactory.java
    • -0
    • +95
    ./generator/ClusteredEntryBasedConfigAttributesValueFactory.java
    • -7
    • +31
    ./generator/AllConfigurationGeneratedTest.java
    • -0
    • +94
    ./generator/ClusteredSizeBasedConfigAttributesValueFactory.java
    • -72
    • +0
    ./generator/ValidDummyEhcacheConfigAttributesValueFactory.java
  1. … 20 more files in changeset.
DEV-6108 Don't allow setting maxEntriesLocalDisk when cache is terracotta clustered, but force usage of maxElementsOnDisk instead
  1. … 1 more file in changeset.
DEV-6109: implemented basic sizeof maximum depth check
    • -0
    • +7
    ./generator/ValidDummyEhcacheConfigAttributesValueFactory.java
  1. … 47 more files in changeset.
DEV-6111 Explicitly setting maxEntriesLocalHeap to 0 for these test
  1. … 3 more files in changeset.
MNK-2792 Added test and proper check for letting someone set both maxBytes & maxEntries on a tier, when the config isn't being used by a running cache
  1. … 1 more file in changeset.
MNK-2764 : add test to ensure generated configurations are parseable
    • -0
    • +55
    ./generator/ConfigurationGeneratedParses.java
DEV-5665 Dynamic config on Pools
    • -0
    • +14
    ./CacheConfigurationListenerTest.java
  1. … 17 more files in changeset.
DEV-5663 Config life-cycle part 1 ... of more to come
  1. … 7 more files in changeset.
Merged CacheManager Pool / RMP-565 / MemoryBased tuning branch -r3831:4279
    • -1
    • +6
    ./generator/ValidDummyEhcacheConfigAttributesValueFactory.java
    • -0
    • +6
    ./generator/xsom/XSDAttributeValueTypeFactory.java
    • -0
    • +68
    ./generator/xsom/XSDAttributeValueType.java
  1. … 227 more files in changeset.
EHC-847 : support arbitrary property substitution in disk store paths
  1. … 2 more files in changeset.
CacheManagerEventListener now receive a reference to the cache manager
  1. … 4 more files in changeset.
fix test - default storageStrategy test

EHC-834: throw exception for invalid values of boolean type in config

    • -0
    • +36
    ./InvalidConfigTest.java
  1. … 2 more files in changeset.
"strict" -> "strong", "non-strict" -> "eventual"

    • -2
    • +9
    ./generator/ValidDummyEhcacheConfigAttributesValueFactory.java
    • -7
    • +0
    ./generator/xsom/XSDAttributeValueFactory.java
  1. … 11 more files in changeset.
more test fixes about default coherent true/false

do not assume default mode in tests

EHC-784 A cache inherits the Manager's diskPath only if it hasn't been explicitly set on the CacheConfiguration (which has no default anymore)
    • -0
    • +51
    ./CacheConfigurationTest.java
  1. … 2 more files in changeset.
EHC-747 : eternal attribute overrides TTI & TTL
  1. … 2 more files in changeset.