@Retention(value=RUNTIME) @Target(value=TYPE) public @interface SerializableTransient
Works only for jobs. For other messages node version is not available.
| Modifier and Type | Required Element and Description |
|---|---|
String |
methodName
Name of the private static method that returns list of transient fields
that should be serialized (String[]), and accepts
IgniteProductVersion, e.g. |
public abstract String methodName
IgniteProductVersion, e.g.
private static String[] fields(IgniteProductVersion ver){
return ver.compareTo("1.5.30") > 0 ? SERIALIZABLE_FIELDS : null;
}
On serialization version argument ver is receiver version and sender version on deserialization.
If it returns empty array or null all transient fields will be normally ignored.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023