org.apache.hadoop.conf
Class Configured

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
All Implemented Interfaces:
Configurable
Direct Known Subclasses:
AvroSerialization, CLI, FileSystem, InputSampler, LogsCLI, MigrationTool, Submitter, Trash, TrashPolicy, WritableSerialization

@InterfaceAudience.Public
@InterfaceStability.Stable
public class Configured
extends Object
implements Configurable

Base class for things that may be configured with a Configuration.


Constructor Summary
Configured()
          Construct a Configured.
Configured(Configuration conf)
          Construct a Configured.
 
Method Summary
 Configuration getConf()
          Return the configuration used by this object.
 void setConf(Configuration conf)
          Set the configuration to be used by this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configured

public Configured()
Construct a Configured.


Configured

public Configured(Configuration conf)
Construct a Configured.

Method Detail

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

getConf

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

Specified by:
getConf in interface Configurable


Copyright © 2014 Apache Software Foundation. All Rights Reserved.