Module org.elasticsearch.server
Class NamedWriteableRegistry.Entry
java.lang.Object
org.elasticsearch.common.io.stream.NamedWriteableRegistry.Entry
- Enclosing class:
NamedWriteableRegistry
An entry in the registry, made up of a category class and name, and a reader for that category class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Class
<?> The superclass of aNamedWriteable
which will be read byreader
.final String
A name for the writeable which is unique to thecategoryClass
.final Writeable.Reader
<?> A reader capability of reading -
Constructor Summary
ConstructorsConstructorDescriptionEntry
(Class<T> categoryClass, String name, Writeable.Reader<? extends T> reader) Creates a new entry which can be stored by the registry. -
Method Summary
-
Field Details
-
categoryClass
The superclass of aNamedWriteable
which will be read byreader
. -
name
A name for the writeable which is unique to thecategoryClass
. -
reader
A reader capability of reading
-
-
Constructor Details
-
Entry
Creates a new entry which can be stored by the registry.
-