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 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:
      write in class com.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 class com.esotericsoftware.kryo.Serializer<InetSocketAddress>