Class PrecomputedCodecCache<T>
- java.lang.Object
-
- org.opendaylight.yangtools.yang.data.util.codec.CodecCache<T>
-
- org.opendaylight.yangtools.yang.data.util.codec.PrecomputedCodecCache<T>
-
@Beta public final class PrecomputedCodecCache<T> extends CodecCache<T>
Pre-computed thread-safe CodecCache. All possible codecs are created upfront at instantiation time, after which they are available for the cost of a constant lookup.Instantiation needs to occur through
LazyCodecCache.toPrecomputed()
after the lazy cache has been fully populated.- Author:
- Robert Varga
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
complexSize()
int
simpleSize()
-