Github user tbouron commented on a diff in the pull request:

    https://github.com/apache/brooklyn-docs/pull/213#discussion_r138928088
  
    --- Diff: guide/blueprints/policies.md ---
    @@ -100,6 +100,39 @@ The ConnectionFailureDetector is an HA policy for 
monitoring an http connection,
     
     ### Optimization Policies
     
    +#### ScheduledEffector Policy
    +
    +- org.apache.brooklyn.policy.action.ScheduledEffectorPolicy
    +
    +The ScheduledEffectorPolicy calls an effector with a set of arguments at a 
specified time and date. The following example
    +calls a resize effector to resize a cluster up to 10 members at 8am and 
then down to 1 member at 6pm. 
    +
    +    - type: org.apache.brooklyn.policy.action.ScheduledEffectorPolicy
    +      brooklyn.config:
    +        effector: resize
    +        args:
    +          desiredSize: 10
    +        period: 1 day
    +        time: 08:00:00
    +    - type: org.apache.brooklyn.policy.action.ScheduledEffectorPolicy
    +      brooklyn.config:
    +        effector: resize
    +        args:
    +          desiredSize: 1
    +        period: 1 day
    +        time: 18:00:00
    +
    +#### PeriodicEffector Policy
    +
    +- org.apache.brooklyn.policy.action.PeriodicEffectorPolicy
    +
    +The PeriodicEffectorPolicy calls an effector after a specified interval 
has expired. The interval can be triggered from a sensor, `SERVICE_UP` by 
default. 
    --- End diff --
    
    Same as above but for `PeriodicEffectorPolicy`


---

Reply via email to