Class NamedWriteableRegistry.Entry

org.elasticsearch.common.io.stream.NamedWriteableRegistry.Entry
Enclosing class:
NamedWriteableRegistry

public static class NamedWriteableRegistry.Entry extends
An entry in the registry, made up of a category class and name, and a reader for that category class.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    <?>
    The superclass of a NamedWriteable which will be read by reader.
    A name for the writeable which is unique to the categoryClass.
    A reader capability of reading
  • Constructor Summary

    Constructors
    Constructor
    Description
    <T> categoryClass,  name, Writeable.Reader<? extends T> reader)
    Creates a new entry which can be stored by the registry.
  • Method Summary

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Field Details

    • categoryClass

      public final <?> categoryClass
      The superclass of a NamedWriteable which will be read by reader.
    • name

      public final  name
      A name for the writeable which is unique to the categoryClass.
    • reader

      public final Writeable.Reader<?> reader
      A reader capability of reading
  • Constructor Details

    • Entry

      public Entry(<T> categoryClass,  name, Writeable.Reader<? extends T> reader)
      Creates a new entry which can be stored by the registry.