com.hazelcast.nio.serialization

## Annotation Type BinaryInterface

-     @Target(value=TYPE)
       @Retention(value=RUNTIME)
      public @interface BinaryInterface

  Indicates that the binary serialized form of the annotated class is used in client-member communication over Hazelcast Open Binary Client Protocol or in other ways which may break Hazelcast or other systems. Changing the way `@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 © 2019. All rights reserved.