Package deltix.qsrv.hf.pub.codec
Class CodecFactory
- java.lang.Object
-
- deltix.qsrv.hf.pub.codec.CodecFactory
-
public class CodecFactory extends java.lang.Object
Factory for all kinds of codecs. This class is thread-safe.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CodecFactory.CodecChooseMode
-
Field Summary
Fields Modifier and Type Field Description static CodecFactory.CodecChooseMode
CHOOSE_MODE
Client code should use this value, when it chooses a codecstatic CodecFactory
COMPILED
static CodecFactory
INTERPRETED
static deltix.gflog.LogLevel
VALIDATION_LEVEL
-
Constructor Summary
Constructors Constructor Description CodecFactory(CodecMetaFactory meta)
-
Method Summary
-
-
-
Field Detail
-
VALIDATION_LEVEL
public static deltix.gflog.LogLevel VALIDATION_LEVEL
-
INTERPRETED
public static final CodecFactory INTERPRETED
-
COMPILED
public static final CodecFactory COMPILED
-
CHOOSE_MODE
public static final CodecFactory.CodecChooseMode CHOOSE_MODE
Client code should use this value, when it chooses a codec
-
-
Constructor Detail
-
CodecFactory
public CodecFactory(CodecMetaFactory meta)
-
-
Method Detail
-
newCompiledCachingFactory
public static CodecFactory newCompiledCachingFactory()
-
newInterpretingCachingFactory
public static CodecFactory newInterpretingCachingFactory()
-
newCachingFactory
public static CodecFactory newCachingFactory()
-
useInterpretedCodecs
public static boolean useInterpretedCodecs(boolean interpretedIsDesired)
-
createFixedBoundEncoder
public FixedBoundEncoder createFixedBoundEncoder(TypeLoader loader, RecordClassDescriptor classDescriptor)
-
createFixedExternalDecoder
public FixedExternalDecoder createFixedExternalDecoder(TypeLoader loader, RecordClassDescriptor classDescriptor)
-
createFixedBoundDecoder
public BoundDecoder createFixedBoundDecoder(TypeLoader loader, RecordClassDescriptor classDescriptor)
-
createFixedUnboundDecoder
public UnboundDecoder createFixedUnboundDecoder(RecordClassDescriptor classDescriptor)
-
createFixedUnboundEncoder
public FixedUnboundEncoder createFixedUnboundEncoder(RecordClassDescriptor classDescriptor)
-
createPolyUnboundDecoder
public UnboundDecoder createPolyUnboundDecoder(RecordClassDescriptor... classDescriptors)
-
createPolyUnboundEncoder
public PolyUnboundEncoder createPolyUnboundEncoder(RecordClassDescriptor... classDescriptors)
-
createPolyBoundDecoder
public BoundDecoder createPolyBoundDecoder(TypeLoader loader, RecordClassDescriptor... classDescriptors)
-
createPolyBoundDecoder
public BoundDecoder createPolyBoundDecoder(TypeLoader loader, boolean ignoreUnloadableClasses, RecordClassDescriptor... classDescriptors)
-
createPolyBoundEncoder
public PolyBoundEncoder createPolyBoundEncoder(TypeLoader loader, RecordClassDescriptor... classDescriptors)
-
createPolyBoundEncoder
public PolyBoundEncoder createPolyBoundEncoder(TypeLoader loader, boolean ignoreUnloadableClasses, RecordClassDescriptor... classDescriptors)
-
getDefault
public static CodecFactory getDefault()
-
get
public static CodecFactory get(boolean preferCompiled)
-
get
public static CodecFactory get(CodecFactory preferred)
-
setValidationLevel
public static void setValidationLevel(deltix.gflog.LogLevel level)
-
-