Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-10362 Unify command initialization and invocation

Deprecate and remove usages of CommandsFactory::initializeReplicableCommand

  1. … 116 more files in changeset.
ISPN-7109 Merge LocalFlagAffectedCommand and FlagAffectedCommand

* remove uses of FlagAffectedCommand and then rename LocalFlagAffectedCommand to FlagAffectedCommand

* don't implement MetadataAwareCommand where it does not make sense

  1. … 39 more files in changeset.
ISPN-7108 Use wildcard in methods returning keys

* Wildcard play better with commands that use generics for the

collection, such as Collection<? extends K> keys;

* WriteCommand.getAffectedKeys() and RemoteLockCommand.getKeysToLock()

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

  1. … 2827 more files in changeset.
ISPN-6803 Pre-compute bitsets for each flag

  1. … 70 more files in changeset.
ISPN-6803 Pre-compute bitsets for each flag

  1. … 91 more files in changeset.
ISPN-6803 Pre-compute bitsets for each flag

  1. … 91 more files in changeset.
ISPN-5469 Invoke remote commands asynchronously

  1. … 74 more files in changeset.
ISPN-6488 Convert CacheRpcCommands to use a pre-computed ByteStrings

  1. … 72 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-6073 Replace Set<Flag> by a bit set

  1. … 57 more files in changeset.
ISPN-6056 Improve ReplicableCommand marshalling

  1. … 82 more files in changeset.
ISPN-5689 Preserve compatibility with Hibernate 5.0.0.Final

  1. … 12 more files in changeset.
ISPN-5643 Stop modifying the command flags in-place

LocalFlagAffectedCommand.setFlags(Flag...) implementations were sometimes

modifying the existing flags (e.g. set by a decorated cache) in place.

Deprecated setFlags(Flag...) for addFlag(Flag) and addFlags(Set<Flag),

and now all methods leave the input sets unmodified.

  1. … 10 more files in changeset.
ISPN-2849 Don't keep threads blocked when waiting for locks to be released

  1. … 93 more files in changeset.
ISPN-2183 Add the ability to fetch a set of keys at once (getAll)

* Made sure null is returned for a non existing key

* Fixed issues related to topology changes

* Added stress test to test out topology changes

  1. … 55 more files in changeset.
ISPN-5473 toString improvements

  1. … 2 more files in changeset.
ISPN-4074 Introduce a doclet to filter out private APIs from the JavaDoc

- Add package-info.java file for all public packages which need to be documented

- Separate interfaces from implementations by creating appropriate "impl" packages

- Remove legacy classes and interfaces which have moved to commons

  1. … 458 more files in changeset.
ISPN-3777 ThreadLocal in AbstractInvocationContextContainer is leaking instances of LocalTxInvocationContext

* InvocationContextInterceptor now sets the InvocationContext thread-local

* Batching mode now also uses InvocationContextInterceptor, so there is

only one place where the thread local is set/removed.

* InvocationContextFactory was extracted from InvocationContextContainer

* The thread-local is not set when the classloader is not needed, or when

the call classloader (either from AdvancedCache.with(ClassLoader) or from

the thread's context classloader) is the same as the configured

classloader (by default, the context classloader of the thread that

created the GlobalConfiguration).

* DefaultContextClassResolver now prefers the classloader in the

configuration to the current thread's context classloader (but if they

are different, the context classloader was already set in the

InvocationContext and returned by EmbeddedContextClassResolver).

  1. … 42 more files in changeset.
ISPN-3185 License and copyright header update

  1. … 3170 more files in changeset.
ISPN-3260 Split common API and classes into infinispan-commons

  1. … 863 more files in changeset.
ISPN-3163 Version generation should be common for all use cases

* By doing this, compatibility mode updates will result in change of

version which helps keep the premise that when data changes, version

changes too. This is needed for Hot Rod and Memcached endpoints.

* Version generator is therefor now a component that can be used by

server endpoints to generate version information.

* ClusterIdGenerator dissapears as a result of this and instead a

VersionGenerator class has been created that does the same job.

  1. … 30 more files in changeset.
fixed compilation errors

  1. … 2 more files in changeset.
ISPN-3108 Server compatibility minor adjustments

* Extend keyEquivalence usage to transaction collections.

* Add a getInstance() method to AnyEquivalence to provide a typesafe

equivalence for any type that relies on the object's equals/hashCode()

implementations.

* Byte arrays can now be stored in tree bins in EquivalentCHMv8

* Achieved by making sure that the keyEquivalence's isComparable method

for byte arrays returns true, and a unsigned method to compare byte

arrays is implemented.

* Make flag aware commands metadata aware. Makes it easier to pass down

metadata information without having to do instanceof/cast of classes.

* Add lifespan(long) and maxIdle(long) to Metadata builder

* Use immutable metadata instance when no expiration parameters

* A side effect of this is that CacheImpl does no longer extend

CacheSupport because that in itself does not extend AdvancedCache and

the methods defined are defined as final.

  1. … 46 more files in changeset.
ISPN-2578 Two PrepareCommands in parallel cause ConcurrentModificationException

  1. … 6 more files in changeset.
Remove unused imports.

  1. … 13 more files in changeset.
ISPN-2414 Create custom emptySet, emptyMap and emptyList implementations

* These custom implementations return a singleton Iterator instance

instead of creating a brand new one every time iterator() method is

called (i.e. a JDK5 style for loop).

  1. … 62 more files in changeset.
ISPN-2414 Create custom emptySet, emptyMap and emptyList implementations

* These custom implementations return a singleton Iterator instance

instead of creating a brand new one every time iterator() method is

called (i.e. a JDK5 style for loop).

  1. … 54 more files in changeset.
ISPN-1669 Flag checks should be done on commands, not in context

The invocation context no longer ships flags down since we moved

away from using thread local, and with need to ship a subset of

the flags in the commands to other nodes.

  1. … 62 more files in changeset.
ISPN-2186 Ignore cache view commands from an old coordinator.

Needed for JBPAPP-9658

  1. … 2 more files in changeset.