Remove the locks in NodeMap to ease thread contention when lots of processes are resolving inheritance & refactor the way LocalizedNodes are created (#734)

This commit is contained in:
Luck
2018-05-04 16:16:12 +01:00
Unverified
parent 55d59bb1c4
commit 2dbbea4993
13 changed files with 219 additions and 320 deletions
@@ -556,7 +556,7 @@ public interface Node {
*
* @param value the value
* @return the builder
* @see Node#getValuePrimitive()
* @see Node#getValue()
*/
@Nonnull
Builder setValue(boolean value);
@@ -44,7 +44,7 @@ public enum StandardNodeEquality implements NodeEqualityPredicate {
/**
* All attributes must match, except for
* {@link Node#getValuePrimitive() value}, which is ignored.
* {@link Node#getValue() value}, which is ignored.
*/
IGNORE_VALUE,
@@ -59,14 +59,14 @@ public enum StandardNodeEquality implements NodeEqualityPredicate {
/**
* All attributes must match, except for
* {@link Node#getValuePrimitive() value} and the
* {@link Node#getValue() value} and the
* {@link Node#getExpiry() expiry time}, which are ignored.
*/
IGNORE_EXPIRY_TIME_AND_VALUE,
/**
* All attributes must match, except for
* {@link Node#getValuePrimitive() value} and the if the node is
* {@link Node#getValue() value} and the if the node is
* {@link Node#isTemporary() temporary}, which are ignored.
*/
IGNORE_VALUE_OR_IF_TEMPORARY;