Class LazyCodecCache<T>
- java.lang.Object
-
- org.opendaylight.yangtools.yang.data.util.codec.CodecCache<T>
-
- org.opendaylight.yangtools.yang.data.util.codec.LazyCodecCache<T>
-
@Beta public final class LazyCodecCache<T> extends CodecCache<T>
Lazily-populated CodecCache. This is a non-thread-safe factory, which performs caching of codecs. It is most appropriate for one-off encodings of repetitive data.- Author:
- Robert Varga
-
-
Constructor Summary
Constructors Constructor Description LazyCodecCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrecomputedCodecCache<T>
toPrecomputed()
-
-
-
Method Detail
-
toPrecomputed
public PrecomputedCodecCache<T> toPrecomputed()
-
-