Spring Session for VMware GemFire
Interface IsDirtyPredicate
- All Known Implementing Classes:
DeltaAwareDirtyPredicate,EqualsDirtyPredicate,IdentityEqualsDirtyPredicate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
IsDirtyPredicate is a strategy interface used to configure Spring Session on how to evaluate application
domain objects to determine whether they are dirty or not.- Since:
- 2.1.2
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault IsDirtyPredicateandThen(IsDirtyPredicate other) Composes 2IsDirtyPredicateobjects using the logical AND operator.booleandefault IsDirtyPredicateorThen(IsDirtyPredicate other) Composes 2IsDirtyPredicateobjects using the logical OR operator.
-
Field Details
-
ALWAYS_DIRTY
-
NEVER_DIRTY
-
-
Method Details
-
isDirty
-
andThen
Composes 2IsDirtyPredicateobjects using the logical AND operator. TheotherIsDirtyPredicateis applied after thisIsDirtyPredicatein theisDirty(Object, Object)comparison evaluation. This composition is null-safe and returns thisIsDirtyPredicateifotheris null.- Parameters:
other-IsDirtyPredicatecomposed with thisIsDirtyPredicate.- Returns:
- an
IsDirtyPredicatecomposition consisting of thisIsDirtyPredicatecomposed with theotherIsDirtyPredicateusing the logical AND operator. Returns thisIsDirtyPredicateifotheris null. - See Also:
-
orThen
Composes 2IsDirtyPredicateobjects using the logical OR operator. TheotherIsDirtyPredicateis applied after thisIsDirtyPredicatein theisDirty(Object, Object)comparison evaluation. This composition is null-safe and returns thisIsDirtyPredicateifotheris null.- Parameters:
other-IsDirtyPredicatecomposed with thisIsDirtyPredicate.- Returns:
- an
IsDirtyPredicatecomposition consisting of thisIsDirtyPredicatecomposed with theotherIsDirtyPredicateusing the logical OR operator. Returns thisIsDirtyPredicateifotheris null. - See Also:
-