-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New periodic and scheduled effector policies #822
Conversation
060d7d1
to
c549420
Compare
cool @grkvlt - wonder if you could do two things:
|
(yaml could be used in a test :nudge:) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @grkvlt, thanks. Could really do with some tests.
* desiredSize: 1 | ||
* period: 1 day | ||
* time: 18:00:00 | ||
* }</pre> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example is for the ScheduledEffectorPolicy
not the PeriodicEffectorPolicy
|
||
@Override | ||
public void rebind() { | ||
// XXX Will the AtomicBoolean field be saved during rebind? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably resolve this question before merging...
I have added a PR for the documentation for this here. |
156dee4
to
a5dff67
Compare
a5dff67
to
00deb7d
Compare
d47edce
to
0a71cf5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @grkvlt
Adds policies to execute effectors at specific times, either singly or repeated.