Brooklyn

brooklyn.entity.group.zoneaware
[Java] Class CombiningZoneFailureDetector

java.lang.Object
  brooklyn.entity.group.zoneaware.CombiningZoneFailureDetector
All Implemented Interfaces:
ZoneFailureDetector

public class CombiningZoneFailureDetector

Constructor Summary
protected CombiningZoneFailureDetector(Predicate joiner, ZoneFailureDetector... detectors)

 
Method Summary
static CombiningZoneFailureDetector failIfAll(ZoneFailureDetector... detectors)

static CombiningZoneFailureDetector failIfAny(ZoneFailureDetector... detectors)

boolean hasFailed(Location loc)

void onStartupFailure(Location loc, Entity entity, java.lang.Throwable cause)

void onStartupSuccess(Location loc, Entity entity)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Constructor Detail

CombiningZoneFailureDetector

protected CombiningZoneFailureDetector(Predicate joiner, ZoneFailureDetector... detectors)


 
Method Detail

failIfAll

public static CombiningZoneFailureDetector failIfAll(ZoneFailureDetector... detectors)


failIfAny

public static CombiningZoneFailureDetector failIfAny(ZoneFailureDetector... detectors)


hasFailed

@Override
public boolean hasFailed(Location loc)


onStartupFailure

@Override
public void onStartupFailure(Location loc, Entity entity, java.lang.Throwable cause)


onStartupSuccess

@Override
public void onStartupSuccess(Location loc, Entity entity)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.