Class Mapper<S>
java.lang.Object
org.jctools.channels.mapping.Mapper<S>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SimpleCompilerprivate final booleanprivate final TypeInspector -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckCompileFailures(String templateFile, CompilationResult result) private voiddebugLogSource(String source) intprivate Class<?>[]private <I> IinstantiateImplementation(Class<?>[] constructorParameterTypes, String name, CompilationResult result, Object[] args) <I> InewFlyweight(Class<I> implementationParent, String templateFileName, Object... args) <I> InewFlyweight(Class<I> implementationParent, String templateFileName, Template template, Object... args)
-
Field Details
-
debugEnabled
private final boolean debugEnabled -
inspector
-
structInterface
-
compiler
-
-
Constructor Details
-
Mapper
-
-
Method Details
-
getSizeInBytes
public int getSizeInBytes()- Returns:
- the size that each message takes up in bytes
-
newFlyweight
-
newFlyweight
-
debugLogSource
-
instantiateImplementation
private <I> I instantiateImplementation(Class<?>[] constructorParameterTypes, String name, CompilationResult result, Object[] args) -
checkCompileFailures
-
getTypes
-