org.apache.falcon.entity.v0
Class EntityGraph
java.lang.Object
org.apache.falcon.entity.v0.EntityGraph
- All Implemented Interfaces:
- ConfigurationChangeListener
public final class EntityGraph
- extends Object
- implements ConfigurationChangeListener
An in-memory graph of entities and relationship among themselves.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public static EntityGraph get()
getDependents
public Set<Entity> getDependents(Entity entity)
throws FalconException
- Throws:
FalconException
onAdd
public void onAdd(Entity entity,
boolean ignoreFailure)
throws FalconException
- Specified by:
onAdd
in interface ConfigurationChangeListener
- Throws:
FalconException
onRemove
public void onRemove(Entity entity)
throws FalconException
- Specified by:
onRemove
in interface ConfigurationChangeListener
- Throws:
FalconException
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.