Skip to content

Commit

Permalink
Merge pull request #1910 from lift/msf_issue_1778
Browse files Browse the repository at this point in the history
Improve LAPinger documentation for clarity
  • Loading branch information
farmdawgnation committed Sep 13, 2017
2 parents ba4f02f + 77c2e9a commit d5d34cb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions core/actor/src/main/scala/net/liftweb/actor/LAPinger.scala
Expand Up @@ -34,8 +34,8 @@ object ThreadPoolRules {
}

/**
* The ActorPing object schedules an actor to be ping-ed with a given message at specific intervals.
* The schedule methods return a ScheduledFuture object which can be cancelled if necessary
* LAPinger is for scheduling LiftActors to be pinged with an arbitrary message at some point
* in the future.
*/
object LAPinger {

Expand All @@ -60,6 +60,9 @@ object LAPinger {
/**
* Schedules the sending of a message to occur after the specified delay.
*
* @param to The LiftActor to send the message to.
* @param msg The message to send.
* @param delay The number of milliseconds to delay before sending msg
* @return a <code>ScheduledFuture</code> which sends the <code>msg</code> to
* the <code>to<code> Actor after the specified TimeSpan <code>delay</code>.
*/
Expand Down Expand Up @@ -96,4 +99,3 @@ private object TF extends ThreadFactory {
d
}
}

0 comments on commit d5d34cb

Please sign in to comment.