- java.lang.Object
-
- org.apache.lucene.codecs.Codec.Holder
-
- Enclosing class:
- Codec
private static final class Codec.Holder extends java.lang.Object
This static holder class prevents classloading deadlock by delaying init of default codecs and available codecs until needed.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static Codec
defaultCodec
private static NamedSPILoader<Codec>
LOADER
-
Constructor Summary
Constructors Modifier Constructor Description private
Holder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static NamedSPILoader<Codec>
getLoader()
-
-
-
Field Detail
-
LOADER
private static final NamedSPILoader<Codec> LOADER
-
defaultCodec
static Codec defaultCodec
-
-
Method Detail
-
getLoader
static NamedSPILoader<Codec> getLoader()
-
-