org.apache.ignite.internal.util

## Annotation Type TransientSerializable

    @Retention(value=RUNTIME)
     @Target(value=TYPE)
    public @interface TransientSerializable

Marks class as it has non-transient fields that should not be serialized. Annotated class must have method that returns list of non-transient fields that should not be serialized.

Works only for jobs. For other messages node version is not available.

### Required Element Summary

Required Elements
`String` `methodName` Name of the private static method that returns list of non-transient fields that should not be serialized (String[]), and accepts `IgniteProductVersion`, e.g.

### Element Detail

#### methodName

    public abstract String methodName

Name of the private static method that returns list of non-transient fields that should not be serialized (String[]), and accepts `IgniteProductVersion`, e.g.

         private static String[] fields(IgniteProductVersion ver){
             return ver.compareTo("1.5.30") < 0 ? EXCLUDED_FIELDS : null;
         }

On serialization version argument `ver` is receiver version and sender version on deserialization.

If it returns empty array or null all non-transient fields will be normally serialized.

Returns:
  Name of the method.

${current.year} Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Database and Caching Platform | : ver. 2.7.6
Release Date | : September 11 2019