Class SerdeProvisionByClass

java.lang.Object
com.espertech.esper.common.client.serde.SerdeProvision
com.espertech.esper.common.client.serde.SerdeProvisionByClass

public class SerdeProvisionByClass extends SerdeProvision
For use with high-availability and scale-out only, this class instructs the compiler that the serializer and de-serializer (serde) is available via a singleton-pattern-style static field named "INSTANCE" (preferred) or by has a default constructor.
  • Constructor Details

    • SerdeProvisionByClass

      public SerdeProvisionByClass(Class serdeClass)
      Class of the serde.
      Parameters:
      serdeClass - serde class
  • Method Details

    • getSerdeClass

      public Class getSerdeClass()
      Returns the class of the serde
      Returns:
      serde class
    • toForge

      public com.espertech.esper.common.internal.serde.compiletime.resolve.DataInputOutputSerdeForge toForge()
      Description copied from class: SerdeProvision
      Convert to serde forge
      Specified by:
      toForge in class SerdeProvision
      Returns:
      serde forge