public interface DataSerializable
Externalizableand relies on reflection to create instances using class names.
Conforming classes must provide a no-arguments constructor to facilitate the creation of their instances during the deserialization. Anonymous, local and non-static member classes can't satisfy this requirement since their constructors are always accepting an instance of the enclosing class as an implicit argument, therefore they must be avoided.
void writeData(ObjectDataOutput out) throws IOException
IOException- if an I/O error occurs. In particular, an
IOExceptionmay be thrown if the output stream has been closed.
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.