Class InetSocketAddressSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<InetSocketAddress>
org.apache.flink.streaming.util.serialize.InetSocketAddressSerializer
@PublicEvolving
public class InetSocketAddressSerializer
extends com.esotericsoftware.kryo.Serializer<InetSocketAddress>
InetSocketAddressSerializer is a Kryo 5.x serializer for InetSocketAddress.
With the Flink Kryo 2.x code, the Chill library was used for a Kryo 2.x InetSocketAddressSerializer.
All other serializers from the Chill library are have analogs in the Kryo 5 base library. This is the one exception that isn't in the Kryo 5 library and needs a manual port.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends InetSocketAddress> type) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, InetSocketAddress object) Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
-
Constructor Details
-
InetSocketAddressSerializer
public InetSocketAddressSerializer()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, InetSocketAddress object) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer<InetSocketAddress>
-
read
public InetSocketAddress read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends InetSocketAddress> type) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer<InetSocketAddress>
-