Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-11366 Remove Deprecated ConsistentHash methods

    • -135
    • +0
    ./impl/PartitionerConsistentHash.java
  1. … 71 more files in changeset.
ISPN-9600 ReflectionUtil.invokeAccessibly should not be public

  1. … 3 more files in changeset.
ISPN-9600 ReflectionUtil.invokeAccessibly should not be public

  1. … 2 more files in changeset.
ISPN-9600 ReflectionUtil.invokeAccessibly should not be public

  1. … 5 more files in changeset.
ISPN-9600 ReflectionUtil.invokeAccessibly should not be public

(cherry picked from commit 7bdc2822ccf79127a488130239c49a5e944e3ca2)

Conflicts:

commons/src/main/java/org/infinispan/commons/util/ReflectionUtil.java

commons/src/main/java/org/infinispan/commons/util/SecurityActions.java

core/src/main/java/org/infinispan/distribution/group/impl/GroupManagerImpl.java

core/src/main/java/org/infinispan/factories/impl/BasicComponentRegistryImpl.java

core/src/test/java/org/infinispan/test/TestingUtil.java

  1. … 4 more files in changeset.
ISPN-10137 Add missing @Scope and @SurvivesRestarts

* @Scope is required on each component class, except when inherited

from superclass (interfaces don't count)

* @SurvivesRestarts must be duplicated on all subclasses

or implementing classes

  1. … 136 more files in changeset.
ISPN-10137 Make injected fields and methods package-private

  1. … 184 more files in changeset.
ISPN-8192 Deprecate CollectionFactory

  1. … 65 more files in changeset.
ISPN-9127 Component registry

Introduce BasicComponentRegistry, which handles dependency injection but

doesn't have any logic specific to caches or managers.

Each component has its own lifecycle status, and starting a component

also starts its dependencies. Components can start in parallel.

ComponentRegistry and GlobalComponentRegistry still need to maintain

their own lifecycle status, but it is now possible to start a cache

before all the global components have finished starting.

  1. … 245 more files in changeset.
ISPN-9329 NPE during cache start due to circular component dependencies

* Don't wrap custom IDC

* Move circular dependency into GroupManagerImpl instead

  1. … 4 more files in changeset.
ISPN-8515 Allow @Inject on fields

  1. … 185 more files in changeset.
ISPN-8293 @Group and Grouper are not included in the javadoc

ISPN-7803 Let Grouping API use Object key (instead of String) in the internals

* Not changing AdvancedCache.getGroup as this is API & SPI

* Changed Grouper SPI but since existing implementations are expected

to be used only with string-based keys the bridge implementation

should work.

  1. … 10 more files in changeset.
ISPN-7400 Cache segment ownership information in DistributionManager

Use DM.getCacheTopology() in all ClusteringDependentLogic

implementations, and use it directly where possible

    • -0
    • +54
    ./impl/GroupManager.java
    • -136
    • +0
    ./PartitionerConsistentHash.java
  1. … 134 more files in changeset.
ISPN-5683 Enforce one new line at end of file

  1. … 392 more files in changeset.
ISPN-5683 Removed whitespaces at the end of the lines

  1. … 273 more files in changeset.
ISPN-5683 Organized imports

  1. … 2826 more files in changeset.
ISPN-3351 Graceful shutdown and restart

  1. … 46 more files in changeset.
ISPN-5683 Turned on tab validation

Automatic correction performed using:

find . -name '*.properties' ! -type d -exec bash -c 'expand -t 3 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;

find . -name '*.java' ! -type d -exec bash -c 'expand -t 3 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;

  1. … 49 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-6113 Make Consistent Hashes persistable to the global state

  1. … 16 more files in changeset.
ISPN-6055 Performance regression in replicated reads after ISPN-5465

* Introduce a new method, ConsistentHash.isReplicated().

* When it returns true, PartitionerConsistentHash can ignore the

key in isKeyLocalToNode().

  1. … 2 more files in changeset.
ISPN-6049 Calls to reflection API fail with enabled security manager; need to be run in privileged block

  1. … 3 more files in changeset.
ISPN-6049 Calls to reflection API fail with enabled security manager; need to be run in privileged block

  1. … 3 more files in changeset.
ISPN-5465 Introduce the KeyPartitioner interface

* Default to a HashFunctionPartitioner that uses the configured Hash

* Replace the GroupingConsistentHash with a GroupingPartitioner

* Introduce the embedded KeyPartitioner configuration

* Deprecate the Hash configuration

    • -0
    • +118
    ./PartitionerConsistentHash.java
    • -0
    • +31
    ./impl/GroupingPartitioner.java
  1. … 19 more files in changeset.
ISPN-4574 PartitionHandling: consider less than numOwners partitions

* Merge PartitionHandlingStrategy with RebalancePolicy -> AvailabilityStrategy

* Add a stable topology with the last topology that didn't need rebalancing

* NumOwnersNodeStopInSequenceTest - stop nodes gracefully instead of abruptly

  1. … 66 more files in changeset.
ISPN-3981 Enhance grouping API to support group manipulation methods

* First implementation. Added getGroup() and removeGroup() methods

  1. … 55 more files in changeset.
BZ1099969 ISPN-4222 Add support for distributed entry iterator

* Added distribute entry retriever

* Added local entry retriever (used by repl, local and inval)

  1. … 51 more files in changeset.
ISPN-4222 Add support for distributed entry iterator

* Added distribute entry retriever

* Added local entry retriever (used by repl, local and inval)

  1. … 113 more files in changeset.
BZ1014655 ISPN-4074 Only include public APIs in JavaDoc

  1. … 48 more files in changeset.