org.apache.falcon.entity
Class ColoClusterRelation
java.lang.Object
org.apache.falcon.entity.ColoClusterRelation
- All Implemented Interfaces:
- ConfigurationChangeListener
public final class ColoClusterRelation
- extends Object
- implements ConfigurationChangeListener
Map of clusters in each colocation/ datacenter.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public static ColoClusterRelation get()
getClusters
public Set<String> getClusters(String colo)
onAdd
public void onAdd(Entity entity,
boolean ignoreFailure)
- Specified by:
onAdd
in interface ConfigurationChangeListener
onRemove
public void onRemove(Entity entity)
- Specified by:
onRemove
in interface ConfigurationChangeListener
onChange
public void onChange(Entity oldEntity,
Entity newEntity)
throws FalconException
- Specified by:
onChange
in interface ConfigurationChangeListener
- Throws:
FalconException
Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.