case class FactorSystem(address: SystemAddress, akkaConfigOverrides: String = "") extends Product with Serializable
A FactorSystem can host host actors locally, or act as a client/controller to create or locate Factors on another host.
It wraps up the underlying Akka machinery, exposing simply an FactorRef which can be used to send computations to Factors.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FactorSystem
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new FactorSystem(address: SystemAddress, akkaConfigOverrides: String = "")
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val address: SystemAddress
- val akkaConfigOverrides: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def createFactor[E, S](env: E, initialState: S, name: String, address: SystemAddress)(implicit timeout: FiniteDuration): FactorRef[E, S]
- def createFactorS[S](initialState: S, name: String, address: SystemAddress)(implicit timeout: FiniteDuration): FactorRef[Unit, S]
- val defaultConfig: Config
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findFactor[E, S](name: String, address: SystemAddress)(implicit timeout: FiniteDuration): IO[FactorRef[E, S]]
Locates an existing Factor previously created using
createFactor
by name and host.Locates an existing Factor previously created using
createFactor
by name and host.Note that the E and S types are assertions or downcasts, not guarantees.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
runAsync[A](f: () ⇒ IO[A], address: SystemAddress)(implicit timeout: FiniteDuration): IO[A]
Run a stateless, potentially async operation on a remote machine.
Run a stateless, potentially async operation on a remote machine. An emphemeral actor will host it.
- def runAsyncUnit[A](f: () ⇒ IO[A], address: SystemAddress)(implicit timeout: FiniteDuration): IO[Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val system: ActorSystem
- def terminate: IO[Unit]
- def terminateRemoteSystem(address: SystemAddress, waitTime: FiniteDuration = 3.second)(implicit ec: ExecutionContext): IO[Unit]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )