Repository: activemq-artemis
Updated Branches:
  refs/heads/master 909222181 -> 9a5a3d496


NO-JIRA small doc on ActiveMQScheduledComponent


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/bc97720b
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/bc97720b
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/bc97720b

Branch: refs/heads/master
Commit: bc97720bf28e5798c758a2eeffac0ec5f88a42ba
Parents: 09a5d6f
Author: Clebert Suconic <clebertsuco...@apache.org>
Authored: Thu Oct 26 15:38:32 2017 -0400
Committer: Clebert Suconic <clebertsuco...@apache.org>
Committed: Thu Oct 26 15:38:37 2017 -0400

----------------------------------------------------------------------
 .../activemq/artemis/core/server/ActiveMQScheduledComponent.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/bc97720b/artemis-commons/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQScheduledComponent.java
----------------------------------------------------------------------
diff --git 
a/artemis-commons/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQScheduledComponent.java
 
b/artemis-commons/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQScheduledComponent.java
index a4e43e3..d9a8938 100644
--- 
a/artemis-commons/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQScheduledComponent.java
+++ 
b/artemis-commons/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQScheduledComponent.java
@@ -37,6 +37,8 @@ public abstract class ActiveMQScheduledComponent implements 
ActiveMQComponent, R
    private static final Logger logger = 
Logger.getLogger(ActiveMQScheduledComponent.class);
    private ScheduledExecutorService scheduledExecutorService;
    private boolean startedOwnScheduler;
+
+   /** initialDelay < 0 would mean no initial delay, use the period instead */
    private long initialDelay;
    private long period;
    private long millisecondsPeriod;

Reply via email to