Class SerializablePredicate.All
java.lang.Object
com.loomcache.common.protocol.SerializablePredicate.All
- All Implemented Interfaces:
SerializablePredicate
- Enclosing interface:
SerializablePredicate
Matches every entry.
- Since:
- 2.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface SerializablePredicate
SerializablePredicate.All, SerializablePredicate.KeyEquals, SerializablePredicate.KeyStartsWith, SerializablePredicate.ValueContains, SerializablePredicate.ValueEquals -
Field Summary
Fields inherited from interface SerializablePredicate
KIND_ALL, KIND_KEY_EQUALS, KIND_KEY_STARTS_WITH, KIND_VALUE_CONTAINS, KIND_VALUE_EQUALS, MAX_ENCODED_BYTES, MAX_OPERAND_BYTES -
Method Summary
-
Method Details
-
test
Description copied from interface:SerializablePredicateTest whether the predicate matches the given entry.- Specified by:
testin interfaceSerializablePredicate- Parameters:
key- the entry key (non-null — decoded map keys are always non-null)value- the entry value (may be null for REMOVED events)- Returns:
trueif the entry matches
-
encode
public byte[] encode()Description copied from interface:SerializablePredicateEncode this predicate into a newly-allocated byte array.- Specified by:
encodein interfaceSerializablePredicate
-
toString
-