Package com.scivicslab.pojoactor.core
Class ActorSystem.Builder
java.lang.Object
com.scivicslab.pojoactor.core.ActorSystem.Builder
- Enclosing class:
ActorSystem
Builder class for creating ActorSystem instances with custom configurations.
-
Constructor Details
-
Builder
Constructs a new Builder with the specified system name.- Parameters:
systemName- the name for the actor system
-
-
Method Details
-
threadNum
Sets the number of threads for the actor system.- Parameters:
num- the number of threads to use- Returns:
- this builder instance for method chaining
-
build
Builds and returns a new ActorSystem instance.- Returns:
- a new ActorSystem with the configured settings
-