c

agents

JavaTemplateAgent

class JavaTemplateAgent extends JavaInternalAgent

Template class for Java agents.

Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaTemplateAgent
  2. JavaInternalAgent
  3. InternalAgent
  4. AbstractActor
  5. Actor
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JavaTemplateAgent(config: Config, requestHandler: ActorRef, dbHandler: ActorRef)

Type Members

  1. final class LogFailure extends OnFailure
  2. final class LogResult extends OnSuccess[ResponseRequest]
  3. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from JavaTemplateAgent to any2stringadd[JavaTemplateAgent] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (JavaTemplateAgent, B)
    Implicit
    This member is added by an implicit conversion from JavaTemplateAgent to ArrowAssoc[JavaTemplateAgent] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  7. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  8. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  9. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  10. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  13. implicit val context: ActorContext
    Definition Classes
    Actor
  14. def createReceive(): Receive
    Definition Classes
    JavaInternalAgent → AbstractActor
  15. def ensuring(cond: (JavaTemplateAgent) ⇒ Boolean, msg: ⇒ Any): JavaTemplateAgent
    Implicit
    This member is added by an implicit conversion from JavaTemplateAgent to Ensuring[JavaTemplateAgent] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (JavaTemplateAgent) ⇒ Boolean): JavaTemplateAgent
    Implicit
    This member is added by an implicit conversion from JavaTemplateAgent to Ensuring[JavaTemplateAgent] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): JavaTemplateAgent
    Implicit
    This member is added by an implicit conversion from JavaTemplateAgent to Ensuring[JavaTemplateAgent] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): JavaTemplateAgent
    Implicit
    This member is added by an implicit conversion from JavaTemplateAgent to Ensuring[JavaTemplateAgent] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from JavaTemplateAgent to StringFormat[JavaTemplateAgent] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def getContext(): ActorContext
    Definition Classes
    AbstractActor
  25. def getSelf(): ActorRef
    Definition Classes
    AbstractActor
  26. def getSender(): ActorRef
    Definition Classes
    AbstractActor
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def name(): String

    Get name of the agent as was given in application.conf

    Get name of the agent as was given in application.conf

    Attributes
    protected[agentSystem]
    Definition Classes
    JavaInternalAgent
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def postRestart(reason: Throwable): Unit
    Definition Classes
    AbstractActor → Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  34. def postStop(): Unit
    Definition Classes
    AbstractActor → Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  35. def preRestart(reason: Throwable, message: Optional[Any]): Unit
    Definition Classes
    AbstractActor
    Annotations
    @throws( classOf[java.lang.Exception] )
  36. def preStart(): Unit
    Definition Classes
    AbstractActor → Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  37. final def readFromDB(read: ReadRequest): Future[ResponseRequest]
    Definition Classes
    JavaInternalAgent
  38. def receive: PartialFunction[Any, Unit]
    Definition Classes
    AbstractActor → Actor
  39. final def receiveBuilder(): ReceiveBuilder
    Definition Classes
    AbstractActor
  40. final def requestFromDB(request: OdfRequest): Future[ResponseRequest]

    Wrapper for easier request execution.

    Wrapper for easier request execution.

    Definition Classes
    JavaInternalAgent
  41. final def requestFromNode(request: OdfRequest): Future[ResponseRequest]
    Definition Classes
    JavaInternalAgent
  42. final def respond(msg: Any): Unit
    Attributes
    protected[agentSystem]
    Definition Classes
    JavaInternalAgent
  43. final def respondFuture(responseFuture: Future[ResponseRequest]): Unit
    Attributes
    protected[agentSystem]
    Definition Classes
    JavaInternalAgent
  44. implicit final val self: ActorRef
    Definition Classes
    Actor
  45. final def sender(): ActorRef
    Definition Classes
    Actor
  46. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    AbstractActor → Actor
  47. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  53. final def writeToDB(write: WriteRequest): Future[ResponseRequest]
    Definition Classes
    JavaInternalAgent
  54. final def writeToNode(write: WriteRequest, timeout: Timeout): Future[ResponseRequest]

    Wrapper for easier request execution.

    Wrapper for easier request execution.

    Definition Classes
    JavaInternalAgent
  55. def [B](y: B): (JavaTemplateAgent, B)
    Implicit
    This member is added by an implicit conversion from JavaTemplateAgent to ArrowAssoc[JavaTemplateAgent] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    AbstractActor → Actor
    Annotations
    @deprecated @throws( classOf[java.lang.Exception] )
    Deprecated

    (Since version 2.5.0) Override preRestart with message parameter with Optional type instead

Inherited from JavaInternalAgent

Inherited from InternalAgent

Inherited from AbstractActor

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from JavaTemplateAgent to any2stringadd[JavaTemplateAgent]

Inherited by implicit conversion StringFormat from JavaTemplateAgent to StringFormat[JavaTemplateAgent]

Inherited by implicit conversion Ensuring from JavaTemplateAgent to Ensuring[JavaTemplateAgent]

Inherited by implicit conversion ArrowAssoc from JavaTemplateAgent to ArrowAssoc[JavaTemplateAgent]

Ungrouped