Package org.infinispan.commons.marshall
Annotation Type SerializeFunctionWith
-
@Retention(RUNTIME) @Target(TYPE) @Inherited @Documented public @interface SerializeFunctionWith
Indicate that this function should be serialized with an instance of the givenExternalizer
class. Any externalizer type referred by this annotation must be eitherSerializable
orExternalizable
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
Required Elements Modifier and Type Required Element Description Class<? extends Externalizer<?>>
value
Specify the externalizer class to be used by the annotated class.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ValueMatcherMode
valueMatcher
Specify the value matching capabilities of this function.
-
-
-
Element Detail
-
value
Class<? extends Externalizer<?>> value
Specify the externalizer class to be used by the annotated class.- Returns:
- the externalizer type
-
-
-
valueMatcher
ValueMatcherMode valueMatcher
Specify the value matching capabilities of this function.- Returns:
- a value matcher mode
- Default:
- org.infinispan.commons.marshall.ValueMatcherMode.MATCH_ALWAYS
-
-