Şu satırı dahil ederiz
import com.hazelcast.internal.serialization.DataSerializerHook;
Açıklaması şöyle
In Hazelcast, a DataSerializerHook is a mechanism to register custom serializers for objects that are not natively serializable....The DataSerializerHook is an interface that you can implement to register custom serializers for your objects. You can use this interface to define how your objects will be serialized and deserialized. When Hazelcast encounters an object that needs to be serialized or deserialized, it will check if a serializer is registered for that object. If there is a serializer, Hazelcast will use it to convert the object into a format that can be transmitted over the network. If there is no serializer, Hazelcast will throw an exception.
Bu arayüzden kalıtan bir sürü sınıf var. Bunlardan bir tanesi
JetDataSerializerHook
Hiç yorum yok:
Yorum Gönder