static class Bytes.ConverterHolder extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
Bytes.ConverterHolder.PureJavaConverter |
protected static class |
Bytes.ConverterHolder.UnsafeConverter |
Modifier and Type | Field and Description |
---|---|
(package private) static Bytes.Converter |
BEST_CONVERTER |
(package private) static String |
UNSAFE_CONVERTER_NAME |
Constructor and Description |
---|
ConverterHolder() |
Modifier and Type | Method and Description |
---|---|
(package private) static Bytes.Converter |
getBestConverter()
Returns the Unsafe-using Converter, or falls back to the pure-Java implementation if unable
to do so.
|
static final String UNSAFE_CONVERTER_NAME
static final Bytes.Converter BEST_CONVERTER
ConverterHolder()
static Bytes.Converter getBestConverter()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.