package actor
- Alphabetic
- Public
- All
Type Members
-
final
class
AbortedFutureException
extends Exception
Thrown if an LAFuture is aborted during a get
- trait ILAExecute extends AnyRef
- class JavaActorBase extends AnyRef
-
class
LAFuture
[T] extends AnyRef
A container that contains a calculated value or may contain one in the future
-
trait
LAScheduler
extends AnyRef
The definition of a scheduler
- trait LiftActor extends SpecializedLiftActor[Any] with GenericActor[Any] with ForwardableActor[Any, Any]
-
class
LiftActorJ
extends JavaActorBase with LiftActor
Java versions of Actors should subclass this method.
Java versions of Actors should subclass this method. Methods decorated with the @Receive annotation will receive messages of that type.
-
class
MockLiftActor
extends MockSpecializedLiftActor[Any] with LiftActor
A MockLiftActor for use in testing other compnents that talk to actors.
A MockLiftActor for use in testing other compnents that talk to actors.
Much like MockSpecializedLiftActor, this class is intended to be injected into other components, such as snippets, during testing. Whereas these components would normally talk to a real actor that would process their message, this mock actor simply records them and exposes methods the unit test can use to investigate what messages have been received by the actor.
-
class
MockSpecializedLiftActor
[T] extends SpecializedLiftActor[T]
A SpecializedLiftActor designed for use in unit testing of other components.
A SpecializedLiftActor designed for use in unit testing of other components.
Messages sent to an actor extending this interface are not processed, but are instead recorded in a List. The intent is that when you are testing some other component (say, a snippet) that should send a message to an actor, the test for that snippet should simply test that the actor received the message, not what the actor does with that message. If an actor implementing this trait is injected into the component you're testing (in place of the real actor) you gain the ability to run these kinds of tests.
-
case class
PingerException
(msg: String, e: Throwable) extends RuntimeException with Product with Serializable
Exception thrown if a ping can't be scheduled.
- trait SpecializedLiftActor [T] extends SimpleActor[T]
Value Members
- object ActorLogger extends Logger
- object LAFuture
-
object
LAPinger
The ActorPing object schedules an actor to be ping-ed with a given message at specific intervals.
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
- object LAScheduler extends LAScheduler with Loggable
- object LiftActorJ
-
object
ThreadPoolRules
Rules for dealing with thread pools, both in lift-actor and in lift-util