Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-11543 Add BlockingHandler to simplify running blocking operations

    • -14
    • +39
    ./impl/BatchingClusterEventManagerImpl.java
  1. … 56 more files in changeset.
ISPN-11459 NullPointerException installing continuous query listener on joiner

    • -2
    • +2
    ./ClusterListenerReplicateCallable.java
  1. … 5 more files in changeset.
ISPN-11459 NullPointerException installing continuous query listener on joiner

    • -2
    • +2
    ./ClusterListenerReplicateCallable.java
  1. … 5 more files in changeset.
ISPN-10362 Unify command initialization and invocation

Deprecate and remove usages of CommandsFactory::initializeReplicableCommand

  1. … 116 more files in changeset.
Remove redundant SuppressWarnings in some factories

  1. … 6 more files in changeset.
ISPN-9599 Require ADMIN permission for getGlobalComponentRegistry

* Deprecate getGlobalComponentRegistry and getComponentRegistry

* Require ADMIN permission for both

* Require ADMIN permission for configuration getters

(getCacheManagerConfiguration, getDefaultCacheConfiguration,

getCacheConfiguration)

* Remove some internal usages of the configuration getters

* Trust org.jboss.as.clustering.infinispan.* packages

    • -3
    • +2
    ./ClusterListenerReplicateCallable.java
  1. … 127 more files in changeset.
ISPN-9599 Require ADMIN permission for getGlobalComponentRegistry

* Deprecate getGlobalComponentRegistry and getComponentRegistry

* Require ADMIN permission for both

* Require ADMIN permission for configuration getters

(getCacheManagerConfiguration, getDefaultCacheConfiguration,

getCacheConfiguration)

* Remove some internal usages of the configuration getters

* Trust org.jboss.as.clustering.infinispan.* packages

    • -3
    • +2
    ./ClusterListenerReplicateCallable.java
  1. … 130 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

    • -0
    • +3
    ./impl/BatchingClusterEventManagerImpl.java
  1. … 135 more files in changeset.
ISPN-10137 Make injected fields and methods package-private

    • -4
    • +4
    ./impl/BatchingClusterEventManagerImpl.java
  1. … 184 more files in changeset.
ISPN-10322 Create unified interface for initializing commands

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

  1. … 65 more files in changeset.
ISPN-9784 Remove Distributed Executor

* Refactor DistributedExecutor to ClusterExecutor

    • -12
    • +10
    ./ClusterListenerRemoveCallable.java
    • -24
    • +34
    ./ClusterListenerReplicateCallable.java
    • -18
    • +20
    ./MultiClusterEventCallable.java
    • -21
    • +33
    ./impl/BatchingClusterEventManagerImpl.java
  1. … 28 more files in changeset.
ISPN-9714 Update CacheNotifier to return CompletionStage

* Also update many users to also support non blocking

* Listener invocation is done on separate thread when sync

* Listener can return CompletionStage to be non blocking

* Increase notification thread pool due to nested listener invocations

* Make cluster listeners fully non blocking

* Add ComposedCompletionStage to handle many depedent CompletionStages

* Add blocking methods for CompletionStages

    • -0
    • +108
    ./MultiClusterEventCommand.java
    • -54
    • +36
    ./impl/BatchingClusterEventManagerImpl.java
  1. … 101 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.

    • -6
    • +4
    ./impl/BatchingClusterEventManagerImpl.java
  1. … 244 more files in changeset.
ISPN-9181 ISPN-9184 Remove compat mode from Remote Listeners and Remote Iterator

    • -3
    • +7
    ./ClusterListenerReplicateCallable.java
  1. … 92 more files in changeset.
ISPN-8515 Allow @Inject on fields

  1. … 185 more files in changeset.
ISPN-8090 Functional commands don't support Data conversions In Transactional Caches

* Remove some generics in functional commands that don't make sense;

the function generics no longer match to the stored keys and values

* Add DataConversion to Mutations

* Use DataConversion.writeTo/readFrom directly

    • -4
    • +4
    ./ClusterListenerReplicateCallable.java
  1. … 36 more files in changeset.
ISPN-8004 Encapsulate wrapper/encoder classes

    • -23
    • +12
    ./ClusterListenerReplicateCallable.java
  1. … 37 more files in changeset.
ISPN-8004 Encapsulate wrapper/encoder classes

    • -23
    • +12
    ./ClusterListenerReplicateCallable.java
  1. … 37 more files in changeset.
ISPN-7896 Support for on-demand data conversion in caches

    • -13
    • +40
    ./ClusterListenerReplicateCallable.java
  1. … 118 more files in changeset.
ISPN-7283 Finer grained remote event listeners

* Cluster listener installed for remote listener is now more fine

grained, only adding listener callbacks for those events that the

client is interested in.

* To find out which callbacks the client is interested in, the Hot Rod

protocol has been changed to add a byte indicating the event types

interested in.

* Added addFilteredListener which allows the caller to decide which

cache-entry specific events the listener is interested in.

    • -3
    • +13
    ./ClusterListenerReplicateCallable.java
  1. … 28 more files in changeset.
ISPN-7283 Finer grained remote event listeners

* Cluster listener installed for remote listener is now more fine

grained, only adding listener callbacks for those events that the

client is interested in.

* To find out which callbacks the client is interested in, the Hot Rod

protocol has been changed to add a byte indicating the event types

interested in.

* Added addFilteredListener which allows the caller to decide which

cache-entry specific events the listener is interested in.

    • -3
    • +13
    ./ClusterListenerReplicateCallable.java
  1. … 28 more files in changeset.
ISPN-6906 Minor marshalling adjustments

* Add AnyServerEquivalence externalizer

* Fixed VersionAwaremarshallerTest tests so that they verify that the

data read is the expected one.

* Add externalizers for Equivalence implementations.

* Make TransactionInfo use MarshallUtil.marshallArray to marshall the

modification array, making it easier for the internal marshaller to

avoid having to support WriteCommand[] directly.

* Make ClusterEvent use marshallEnum/unmarshallEnum for event's type

enumeration instance.

* Added missing externalizers for Java's UUID, ArrayDeque,

ImmutableSetWrapper, java.util.Collections$UnmodifiableRandomAccessList,

java.util.Collections$EmptyList, java.util.Collections$SingletonMap,

java.util.Collections$EmptyMap, java.util.Collections$SingletonSet,

java.util.Collections$SynchronizedSet and

java.util.Collections$UnmodifiableSet

* Added java.util.UUID advanced externalizer.

* A test has been added to main marshalling test to verify @SeralizeWith

annotated instances are marshalled and unmarshalled correctly.

* Add ConcurrentHashMap to MapExternalizer.

* Added MIMECacheentry externalizer.

* Added extra checks to

BaseStoreFunctionalTest.testPreloadStoredAsBinary

so that it verifies the preloaded store-as-binary payloads can

be correctly unmarshalled.

* Centralise list, singleton list and set externalizers into

CollectionExternalizer.

ISPN-6906 Regroup collection externalizers

  1. … 21 more files 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

    • -8
    • +8
    ./impl/BatchingClusterEventManagerImpl.java
  1. … 27 more files in changeset.
ISPN-5683 Removed whitespaces at the end of the lines

    • -13
    • +13
    ./impl/BatchingClusterEventManagerImpl.java
  1. … 274 more files in changeset.
ISPN-5683 Organized imports

    • -7
    • +7
    ./ClusterListenerReplicateCallable.java
  1. … 2821 more files in changeset.
ISPN-7029 Refactor command execution patterns and context entries handling

* Define entry wrapping throughout the interceptor stack (see EntryFactory javadoc)

* In VisitableCommand replace readsExistingValues() and alwaysReadsExistingValues() with single loadType()

* Make sure that write commands always return value from primary owner

* Deprecate CacheEntry.rollback(), StateChangingEntry and its methods + COPIED flag in ReadCommittedEntry

* Remove oldValue from ReadCommittedEntry, add resetCurrentValue() and updatePreviousValue() that revert the entry upon retry (with repeatable reads - without them, entry is removed from ctx before retry).

* Make ClusteredGetCommand and ClusteredGetAllCommand topology-aware (add topologyId).

** Don't block reads when the entry is in readCH of current node (ignore topology then)

** Return UnsuccessfulResponse if the originator has old topology

** Retry locally (with waiting for new topology) if this node has old topology

* Functional commands, GetAllCommand and PutMapCommand rewritten to use RpcManager.invokeRemotelyAsync and behave asynchronously.

* PutMapCommmand (optionally) returns List<Map.Entry> instead of Map to share code with functional commands (and generally be more inline).

* (Non-clustered) listeners now fire only on the owners, not on originator.

* Make DeltaAwareCacheEntry MVCC (though the plan is to remove it altogether).

* Remove redundant activation interceptors

* Instead of adding the version when wrapping the entry add it when the command returns, similar to skipLookup(true).

* Remove IncrementalVersionableEntryFactory as it does not do much anymore (ClusteredRepeatableReadEntry can be created by EntryFactoryImpl).

* Deprecate CacheTransaction.replaceVersionRead because now we are sure which version we read and we should never overwrite it

  1. … 136 more files in changeset.
ISPN-6744 ClusterEvent doesn't implement CacheEntryExpired

* Made sure ClusterEvent implements CacheEntryExpired

ISPN-6744 ClusterEvent doesn't implement CacheEntryExpired

* Made sure ClusterEvent implements CacheEntryExpired

Apply Java 8 syntax

    • -2
    • +2
    ./ClusterListenerReplicateCallable.java
  1. … 56 more files in changeset.