Class RequestHolder.UpConverter

java.lang.Object
com.oracle.coherence.grpc.RequestHolder.UpConverter
All Implemented Interfaces:
Converter<Binary,Binary>, Converter<Binary,Binary>, Function<Binary,Binary>
Enclosing class:
RequestHolder<Req,Res>

protected static class RequestHolder.UpConverter extends Object implements Converter<Binary,Binary>
A Converter that converts from a Binary serialized in one format to a Binary serialized in a different format.
  • Field Details

  • Constructor Details

    • UpConverter

      protected UpConverter(Serializer serializerFrom, Serializer serializerTo)
      Construct the Converter that converts from a Binary serialized in one format to a Binary serialized in a different format.
      Parameters:
      serializerFrom - the Serializer to convert from
      serializerTo - the Serializer to serialize to
  • Method Details

    • convert

      public Binary convert(Binary binary)
      Description copied from interface: Converter
      Convert the passed object to another object.
      Specified by:
      convert in interface Converter<Binary,Binary>
      Parameters:
      binary - the object to convert
      Returns:
      the converted form of the passed object