Package org.infinispan.commons.marshall
Annotation Interface SerializeFunctionWith
Indicate that this function should be serialized with an instance of
the given
Externalizer
class.
Any externalizer type referred by this annotation must be either
Serializable
or Externalizable
because the
marshalling infrastructure will ship an instance of the externalizer to any
node that's no aware of this externalizer, hence allowing for dynamic
externalizer discovery.- Since:
- 8.0
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass
<? extends Externalizer<?>> Specify the externalizer class to be used by the annotated class. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionSpecify the value matching capabilities of this function.
-
Element Details
-
value
Class<? extends Externalizer<?>> valueSpecify the externalizer class to be used by the annotated class.- Returns:
- the externalizer type
-
valueMatcher
ValueMatcherMode valueMatcherSpecify the value matching capabilities of this function.- Returns:
- a value matcher mode
- Default:
MATCH_ALWAYS
-