c

agents

NewResponsibleJavaAgent

class NewResponsibleJavaAgent extends ResponsibleJavaInternalAgent

Pushes random numbers to given O-DF path at given interval. Can be used in testing or as a base for other agents.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NewResponsibleJavaAgent
  2. ResponsibleJavaInternalAgent
  3. ResponsibleInternalAgent
  4. JavaInternalAgent
  5. InternalAgent
  6. AbstractActor
  7. Actor
  8. AnyRef
  9. 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 NewResponsibleJavaAgent(conf: Config, requestHandler: ActorRef, dbHandler: ActorRef)

Type Members

  1. final class FailureWrite extends OnFailure
    Attributes
    protected[agentSystem]
    Definition Classes
    ResponsibleJavaInternalAgent
  2. final class ForwardResult extends OnSuccess[ResponseRequest]
    Attributes
    protected[agentSystem]
    Definition Classes
    ResponsibleJavaInternalAgent
  3. final class LogFailure extends OnFailure
  4. final class LogResult extends OnSuccess[ResponseRequest]
  5. 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 NewResponsibleJavaAgent to any2stringadd[NewResponsibleJavaAgent] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (NewResponsibleJavaAgent, B)
    Implicit
    This member is added by an implicit conversion from NewResponsibleJavaAgent to ArrowAssoc[NewResponsibleJavaAgent] 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

    Method that is inherited from akka.actor.UntypedActor and handles incoming messages from other Actors.

    Method that is inherited from akka.actor.UntypedActor and handles incoming messages from other Actors.

    Definition Classes
    NewResponsibleJavaAgentResponsibleJavaInternalAgentJavaInternalAgent → AbstractActor
  15. def ensuring(cond: (NewResponsibleJavaAgent) ⇒ Boolean, msg: ⇒ Any): NewResponsibleJavaAgent
    Implicit
    This member is added by an implicit conversion from NewResponsibleJavaAgent to Ensuring[NewResponsibleJavaAgent] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (NewResponsibleJavaAgent) ⇒ Boolean): NewResponsibleJavaAgent
    Implicit
    This member is added by an implicit conversion from NewResponsibleJavaAgent to Ensuring[NewResponsibleJavaAgent] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): NewResponsibleJavaAgent
    Implicit
    This member is added by an implicit conversion from NewResponsibleJavaAgent to Ensuring[NewResponsibleJavaAgent] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): NewResponsibleJavaAgent
    Implicit
    This member is added by an implicit conversion from NewResponsibleJavaAgent to Ensuring[NewResponsibleJavaAgent] 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 NewResponsibleJavaAgent to StringFormat[NewResponsibleJavaAgent] 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 handleCall(call: CallRequest): Future[ResponseRequest]
  28. def handleDelete(delete: DeleteRequest): Future[ResponseRequest]
  29. def handleRead(read: ReadRequest): Future[ResponseRequest]
  30. def handleWrite(write: WriteRequest): Future[ResponseRequest]

    Method to be called when a WriteRequest is received.

    Method to be called when a WriteRequest is received.

    Definition Classes
    NewResponsibleJavaAgentResponsibleJavaInternalAgentResponsibleInternalAgent
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. 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
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def passWrite(write: WriteRequest): Unit
    Attributes
    protected[agentSystem]
    Definition Classes
    ResponsibleJavaInternalAgent
  38. def postRestart(reason: Throwable): Unit
    Definition Classes
    AbstractActor → Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  39. def postStop(): Unit

    Method to be called when actor is stopped.

    Method to be called when actor is stopped. This should gracefully stop all activities that the agent is doing.

    Definition Classes
    NewResponsibleJavaAgent → AbstractActor → Actor
  40. def preRestart(reason: Throwable, message: Optional[Any]): Unit
    Definition Classes
    AbstractActor
    Annotations
    @throws( classOf[java.lang.Exception] )
  41. def preStart(): Unit
    Definition Classes
    AbstractActor → Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  42. final def readFromDB(read: ReadRequest): Future[ResponseRequest]
    Definition Classes
    JavaInternalAgent
  43. def receive: PartialFunction[Any, Unit]
    Definition Classes
    AbstractActor → Actor
  44. final def receiveBuilder(): ReceiveBuilder
    Definition Classes
    AbstractActor
  45. final def requestFromDB(request: OdfRequest): Future[ResponseRequest]

    Wrapper for easier request execution.

    Wrapper for easier request execution.

    Definition Classes
    JavaInternalAgent
  46. final def requestFromNode(request: OdfRequest): Future[ResponseRequest]
    Definition Classes
    JavaInternalAgent
  47. final def respond(msg: Any): Unit
    Attributes
    protected[agentSystem]
    Definition Classes
    JavaInternalAgent
  48. final def respondFuture(responseFuture: Future[ResponseRequest]): Unit
    Attributes
    protected[agentSystem]
    Definition Classes
    JavaInternalAgent
  49. implicit final val self: ActorRef
    Definition Classes
    Actor
  50. final def sender(): ActorRef
    Definition Classes
    Actor
  51. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    AbstractActor → Actor
  52. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  53. def toString(): String
    Definition Classes
    AnyRef → Any
  54. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  55. def update(): Unit

    Method to be called when a "Update" message is received.

    Method to be called when a "Update" message is received. Made specifically for this agent to be used with the Akka scheduler. Updates values in target path.

  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  59. final def writeToDB(write: WriteRequest): Future[ResponseRequest]
    Definition Classes
    JavaInternalAgent
  60. final def writeToNode(write: WriteRequest, timeout: Timeout): Future[ResponseRequest]

    Wrapper for easier request execution.

    Wrapper for easier request execution.

    Definition Classes
    JavaInternalAgent
  61. def [B](y: B): (NewResponsibleJavaAgent, B)
    Implicit
    This member is added by an implicit conversion from NewResponsibleJavaAgent to ArrowAssoc[NewResponsibleJavaAgent] 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 ResponsibleInternalAgent

Inherited from JavaInternalAgent

Inherited from InternalAgent

Inherited from AbstractActor

Inherited from Actor

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped