org.apache.falcon.entity
Class ColoClusterRelation

java.lang.Object
  extended by org.apache.falcon.entity.ColoClusterRelation
All Implemented Interfaces:
ConfigurationChangeListener

public final class ColoClusterRelation
extends Object
implements ConfigurationChangeListener

Map of clusters in each colocation/ datacenter.


Method Summary
static ColoClusterRelation get()
           
 Set<String> getClusters(String colo)
           
 void onAdd(Entity entity, boolean ignoreFailure)
           
 void onChange(Entity oldEntity, Entity newEntity)
           
 void onRemove(Entity entity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.