Brooklyn

brooklyn.policy.followthesun
[Java] Class FollowTheSunPolicy

java.lang.Object
  brooklyn.policy.basic.AbstractEntityAdjunct
      brooklyn.policy.basic.AbstractPolicy
          brooklyn.policy.followthesun.FollowTheSunPolicy

public class FollowTheSunPolicy
extends AbstractPolicy

Field Summary
static java.lang.String NAME

 
Fields inherited from class AbstractPolicy
execution, leftoverProperties, policyStatus, suspended
 
Fields inherited from class AbstractEntityAdjunct
_subscriptionTracker, entity, id, name
 
Constructor Summary
FollowTheSunPolicy(AttributeSensor itemUsageMetric, FollowTheSunModel model, FollowTheSunParameters parameters)

FollowTheSunPolicy(java.util.Map props, AttributeSensor itemUsageMetric, FollowTheSunModel model, FollowTheSunParameters parameters)

 
Method Summary
void resume()

void setEntity(EntityLocal entity)

void suspend()

java.lang.String toString()

 
Methods inherited from class AbstractPolicy
configure, configure, destroy, isRunning, isSuspended, resume, suspend, toString
 
Methods inherited from class AbstractEntityAdjunct
check, destroy, getAllSubscriptions, getId, getManagementContext, getName, getSubscriptionTracker, isDestroyed, isRunning, setEntity, setId, setName, subscribe, subscribeToChildren, subscribeToMembers, unsubscribe, unsubscribe
 

Field Detail

NAME

public static final java.lang.String NAME


 
Constructor Detail

FollowTheSunPolicy

public FollowTheSunPolicy(AttributeSensor itemUsageMetric, FollowTheSunModel model, FollowTheSunParameters parameters)


FollowTheSunPolicy

public FollowTheSunPolicy(java.util.Map props, AttributeSensor itemUsageMetric, FollowTheSunModel model, FollowTheSunParameters parameters)


 
Method Detail

resume

@Override
public void resume()


setEntity

@Override
public void setEntity(EntityLocal entity)


suspend

@Override
public void suspend()


toString

@Override
public java.lang.String toString()


 

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