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 Constructor Description InetSocketAddressSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetSocketAddress
read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends InetSocketAddress> type)
void
write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, InetSocketAddress object)
-
-
-
Method Detail
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, InetSocketAddress object)
- Specified by:
write
in 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:
read
in classcom.esotericsoftware.kryo.Serializer<InetSocketAddress>
-
-