Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-10887 GlobalJmxStatisticsConfiguration.allowDuplicateDomains is not implemented atomically and can fail frequently

* remove JmxUtil.buildJmxDomain and provide alternative atomic implementation

    • -52
    • +29
    ./infinispan/jcache/RIMBeanServerRegistrationUtility.java
    • -15
    • +4
    ./infinispan/jcache/SecurityActions.java
  1. … 8 more files in changeset.
ISPN-10723 JMX registration cleanup

* all jmx registration should happen via CacheManagerJmxRegistration/CacheJmxRegistration

* we should not have other classes using JmxUtil.buildJmxDomain because it can lead to split domains. Better fail early.

* there are very few legitimate direct usages of JmxUtil.lookupMBeanServer; all else must go

* prefer CacheManagerJmxRegistration/CacheJmxRegistration.registerMBean over other methods

* remove PerThreadMBeanServerLookup

* remove ManagedAttribute annotation elements that are equal to their defaults

    • -15
    • +6
    ./infinispan/jcache/RIMBeanServerRegistrationUtility.java
  1. … 99 more files in changeset.
ISPN-8192 Deprecate CollectionFactory

    • -2
    • +1
    ./infinispan/jcache/AbstractJCacheNotifier.java
  1. … 65 more files in changeset.
ISPN-9912 preventing controlling the flow with NPE in LimitExpiryPolicy methods

  1. … 2 more files in changeset.
ISPN-9768 Do not register MBeans if they are disabled

- avoids initializing classes

    • -1
    • +4
    ./infinispan/jcache/AbstractJCache.java
    • -25
    • +33
    ./infinispan/jcache/RIMBeanServerRegistrationUtility.java
  1. … 22 more files in changeset.
ISPN-9298 Remove sun.jdk and ibm.jdk references and refer to the jdk.* modules

  1. … 18 more files in changeset.
ISPN-8870 Remove logger inheritance to reduce class metadata

- JCache loggers

- Removed some more unused methods

    • -23
    • +17
    ./infinispan/jcache/logging/Log.java
  1. … 3 more files in changeset.
ISPN-8870 Remove logger inheritance to reduce class metadata

  1. … 35 more files in changeset.
ISPN-8651 Add statistics for functional commands

* WriteOnlyManyCommand and WriteOnlyManyEntriesCommand still not supported

* Add ReadEntryView.peek() method

    • -0
    • +6
    ./infinispan/jcache/AbstractJCacheNotifier.java
  1. … 27 more files in changeset.
ISPN-8651 Use functional commands for JCache operations

* Single-key operations are executed using single command

* Multi-key operations use multi-key command or are executed in parallel

    • -1
    • +2
    ./infinispan/jcache/AbstractJCache.java
    • -0
    • +14
    ./infinispan/jcache/Exceptions.java
  1. … 24 more files in changeset.
ISPN-8571 JCache 1.1 compliance

* getCacheNames() should throw IllegalStateEx when closed.

* Unsafe type not checked in getCache(String)

* Fix remote cache filter issues

* JCache 1.1 requires filtering to happen with non-null values,

but when notifying listeners, whether the old value is required

or not needs to be verified, so events have to be laundered.

* Added more logging to client listener notifier when the listener

itself throws an exception.

* Removed old iterable/iterator classes and just use Stream methods

to compute the required filtering.

* Cache.close() should close any listeners that are Closeable.

* Close ExpiryPolicy instances if Closeable.

* Moved all close logic to Closeables utils class.

* Close cache loader and writer if Closeable.

* Cache miss on putIfAbsent must be counted.

* close() calls might throw things other than IOException.

* The TCK hooks listener instances whose close() methods can end

up throwing RuntimeExceptions, so make sure when closing you deal

with anything thrown by any pluggable instances.

* Make sure JCache.close() is called for both impls.

* Count putIfAbsent misses for stats in embedded too

* Add a comment for required ISPN-8652 fix.

* Make notified Closeable to make the need to close it more obvious.

    • -0
    • +9
    ./infinispan/jcache/AbstractJCache.java
    • -13
    • +4
    ./infinispan/jcache/AbstractJCacheManager.java
    • -17
    • +47
    ./infinispan/jcache/AbstractJCacheNotifier.java
    • -0
    • +40
    ./infinispan/jcache/Closeables.java
    • -53
    • +0
    ./infinispan/jcache/JCacheEventFilteringIterable.java
    • -102
    • +0
    ./infinispan/jcache/JCacheEventFilteringIterator.java
    • -22
    • +54
    ./infinispan/jcache/RICacheEntryEvent.java
  1. … 9 more files in changeset.
ISPN-6829 JCacheTwoCachesBasicOpsTest.testUpdatedListener random failures

    • -1
    • +6
    ./infinispan/jcache/AbstractJCacheNotifier.java
ISPN-7547 Don't swallow JMX exceptions

    • -35
    • +42
    ./infinispan/jcache/SecurityActions.java
  1. … 1 more file in changeset.
ISPN-7547 Don't swallow JMX exceptions

    • -35
    • +42
    ./infinispan/jcache/SecurityActions.java
  1. … 1 more file in changeset.
[ISPN-7207] Cache creation requires specific permissions when using security manager

Issue: https://issues.jboss.org/browse/ISPN-7207

    • -5
    • +5
    ./infinispan/jcache/RIMBeanServerRegistrationUtility.java
    • -0
    • +54
    ./infinispan/jcache/SecurityActions.java
  1. … 3 more files in changeset.
[ISPN-7207] Cache creation requires specific permissions when using security manager

Issue: https://issues.jboss.org/browse/ISPN-7207

    • -5
    • +5
    ./infinispan/jcache/RIMBeanServerRegistrationUtility.java
    • -0
    • +54
    ./infinispan/jcache/SecurityActions.java
  1. … 3 more files in changeset.
[ISPN-7207] Cache creation requires specific permissions when using security manager

Issue: https://issues.jboss.org/browse/ISPN-7207

    • -5
    • +5
    ./infinispan/jcache/RIMBeanServerRegistrationUtility.java
    • -0
    • +54
    ./infinispan/jcache/SecurityActions.java
  1. … 3 more files in changeset.
ISPN-7050 Unwrap JCache's CacheException from Infinispan's CacheException

  1. … 1 more file in changeset.
ISPN-5683 Fix whitespace around generics and update some usages of vintage generics syntax

* also enable some checkstyle rules that are not violated

  1. … 28 more files in changeset.
ISPN-5683 Enforce one new line at end of file

    • -1
    • +0
    ./infinispan/jcache/RIMBeanServerRegistrationUtility.java
  1. … 393 more files in changeset.
ISPN-5683 Removed whitespaces at the end of the lines

    • -1
    • +1
    ./infinispan/jcache/AbstractJCachingProvider.java
    • -5
    • +5
    ./infinispan/jcache/JCacheEventFilteringIterable.java
    • -11
    • +11
    ./infinispan/jcache/JCacheEventFilteringIterator.java
    • -2
    • +2
    ./infinispan/jcache/RICacheEntryEvent.java
  1. … 272 more files in changeset.
ISPN-5683 Organized imports

    • -1
    • +1
    ./infinispan/jcache/AbstractJCache.java
    • -1
    • +1
    ./infinispan/jcache/AbstractJCachingProvider.java
    • -3
    • +3
    ./infinispan/jcache/FailureEntryProcessorResult.java
    • -2
    • +2
    ./infinispan/jcache/RICacheEntryEvent.java
    • -3
    • +2
    ./infinispan/jcache/RIMBeanServerRegistrationUtility.java
  1. … 2819 more files in changeset.
ISPN-6563 JCache remote should pick HR props file

* For situations where JCache cannot be instantiated directly, it should

pick Hot Rod client properties file to enable it to be configured only

declaratively.

  1. … 3 more files in changeset.
ISPN-6563 JCache remote should pick HR props file

* For situations where JCache cannot be instantiated directly, it should

pick Hot Rod client properties file to enable it to be configured only

declaratively.

  1. … 3 more files in changeset.
ISPN-6226 Replace usages of InfinispanCollections.emptySet/Map/List with java.util.Collections.empty*()

  1. … 74 more files in changeset.
ISPN-6002 Cache log.isTraceEnabled() as much as possible

    • -2
    • +3
    ./infinispan/jcache/AbstractJCache.java
    • -4
    • +5
    ./infinispan/jcache/AbstractJCachingProvider.java
  1. … 107 more files in changeset.
ISPN-4955 Removed unused methods and fix put stats on replace

    • -5
    • +0
    ./infinispan/jcache/AbstractJCacheNotifier.java
  1. … 1 more file in changeset.
ISPN-4955 Fixes: * Resolved serialization issues * Added integration test against clustered caches * Added warn when events do not arrive * Removed hardcoded listener wait time

    • -27
    • +14
    ./infinispan/jcache/AbstractJCacheNotifier.java
  1. … 11 more files in changeset.
ISPN-4955 JCache implementation over HotRod

    • -3
    • +29
    ./infinispan/jcache/AbstractJCache.java
    • -20
    • +150
    ./infinispan/jcache/AbstractJCacheNotifier.java
  1. … 15 more files in changeset.
ISPN-4955 JCache implementation over HotRod

    • -0
    • +400
    ./infinispan/jcache/AbstractJCache.java
    • -0
    • +11
    ./infinispan/jcache/AbstractJCacheListenerAdapter.java
    • -0
    • +295
    ./infinispan/jcache/AbstractJCacheManager.java
    • -19
    • +18
    ./infinispan/jcache/AbstractJCacheNotifier.java
    • -0
    • +146
    ./infinispan/jcache/AbstractJCachingProvider.java
    • -9
    • +12
    ./infinispan/jcache/Exceptions.java
    • -1
    • +1
    ./infinispan/jcache/FailureEntryProcessorResult.java
    • -0
    • +0
    ./infinispan/jcache/JCacheEventFilteringIterable.java
    • -0
    • +0
    ./infinispan/jcache/JCacheEventFilteringIterator.java
    • -0
    • +0
    ./infinispan/jcache/RICacheEntryEvent.java
    • -0
    • +0
    ./infinispan/jcache/RIDelegatingCacheMXBean.java
    • -5
    • +9
    ./infinispan/jcache/RIMBeanServerRegistrationUtility.java
  1. … 139 more files in changeset.