Class Configured

java.lang.Object
org.apache.hadoop.conf.Configured
All Implemented Interfaces:
Configurable
Direct Known Subclasses:
AvroSerialization, Command, CommandFactory, CommandShell, ErasureDecoder, ErasureEncoder, FileSystem, FindClass, FsShell, GetGroupsBase, HAAdmin, KDiag, PowerShellFencer, ReconfigurableBase, SerializationFactory, ShellBasedUnixGroupsMapping, ShellCommandFencer, SshFenceByTcpPort, Trash, TrashPolicy, WritableSerialization

@Public @Stable public class Configured extends Object implements Configurable
Base class for things that may be configured with a Configuration.
  • Constructor Details

    • Configured

      public Configured()
      Construct a Configured.
    • Configured

      public Configured(Configuration conf)
      Construct a Configured.
      Parameters:
      conf - the Configuration object.
  • Method Details

    • setConf

      public void setConf(Configuration conf)
      Description copied from interface: Configurable
      Set the configuration to be used by this object.
      Specified by:
      setConf in interface Configurable
      Parameters:
      conf - configuration to be used
    • getConf

      public Configuration getConf()
      Description copied from interface: Configurable
      Return the configuration used by this object.
      Specified by:
      getConf in interface Configurable
      Returns:
      Configuration