@Target(value=TYPE) @Retention(value=RUNTIME) public @interface BinaryInterface
@BinaryInterface
classes are serialized will result in incompatibilities, so the following rules
apply to classes annotated with this annotation in the 3.x release series:
- NEVER CHANGE THEM
- NEVER MAKE THEM IMPLEMENT THE VERSIONED INTERFACE
For the purposes of serializable classes conventions testing, this annotation is only taken into account when used on concrete classes; it does not make sense to annotate an interface or an abstract class, because serialized form is only relevant in the context of a concrete class. However, it may be informative to use this annotation also on interfaces or abstract classes, as a warning to implementers.
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.