activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/3] git commit: Polished
Date Sun, 03 Nov 2013 12:41:56 GMT
Updated Branches:
  refs/heads/trunk 06356db1c -> 4ddbb8546


Polished


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

Branch: refs/heads/trunk
Commit: af1edf45888d559bf3b3e34e560b59c73fd16324
Parents: 06356db
Author: Claus Ibsen <claus.ibsen@gmail.com>
Authored: Sun Nov 3 11:52:44 2013 +0100
Committer: Claus Ibsen <claus.ibsen@gmail.com>
Committed: Sun Nov 3 11:52:44 2013 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/activemq/thread/Scheduler.java       | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/af1edf45/activemq-client/src/main/java/org/apache/activemq/thread/Scheduler.java
----------------------------------------------------------------------
diff --git a/activemq-client/src/main/java/org/apache/activemq/thread/Scheduler.java b/activemq-client/src/main/java/org/apache/activemq/thread/Scheduler.java
index f746138..d6dc372 100755
--- a/activemq-client/src/main/java/org/apache/activemq/thread/Scheduler.java
+++ b/activemq-client/src/main/java/org/apache/activemq/thread/Scheduler.java
@@ -44,7 +44,10 @@ public final class Scheduler extends ServiceSupport {
     /*
      * execute on rough schedule based on termination of last execution. There is no
      * compensation (two runs in quick succession) for delays
+     *
+     * @deprecated use {@link #executePeriodically}
      */
+    @Deprecated
     public synchronized void schedualPeriodically(final Runnable task, long period) {
         TimerTask timerTask = new SchedulerTimerTask(task);
         timer.schedule(timerTask, period, period);


Mime
View raw message