Class Mapper<S>

java.lang.Object
org.jctools.channels.mapping.Mapper<S>

public class Mapper<S> extends Object
  • Constructor Details

    • Mapper

      public Mapper(Class<S> structInterface, boolean debugEnabled)
  • Method Details

    • getSizeInBytes

      public int getSizeInBytes()
      Returns:
      the size that each message takes up in bytes
    • newFlyweight

      public <I> I newFlyweight(Class<I> implementationParent, String templateFileName, Object... args)
    • newFlyweight

      public <I> I newFlyweight(Class<I> implementationParent, String templateFileName, Template template, Object... args)