ProcessData class abstract
Represents a target executable and arguments for a ShardingManager
to spawn.
This is essentially a "blueprint" for the processes that nyxx_sharding will spawn. Each process spawned will run executable, with cwd as the Current Working Directory and args as the command-line arguments passed to the process.
- Implementers
Constructors
Properties
-
args
→ List<
String> -
The command-line arguments passed to each process.
no setter
- cwd → String?
-
The working directory to spawn each process in.
no setter
- executable → String
-
The executable ran for each process.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
spawn(
List< int> processShards, int totalShards, int port) → Future<Process> -
Spawns a single
Process
according to the information in thisProcessManager
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited