Class: DeepTest::Distributed::ThroughputWorkerClient
- Inherits:
-
Object
- Object
- DeepTest::Distributed::ThroughputWorkerClient
- Defined in:
- lib/deep_test/distributed/throughput_worker_client.rb
Instance Method Summary collapse
-
#initialize(options, test_server) ⇒ ThroughputWorkerClient
constructor
A new instance of ThroughputWorkerClient.
- #start_all ⇒ Object
- #stop_all ⇒ Object
Constructor Details
#initialize(options, test_server) ⇒ ThroughputWorkerClient
Returns a new instance of ThroughputWorkerClient.
4 5 6 7 |
# File 'lib/deep_test/distributed/throughput_worker_client.rb', line 4 def initialize(, test_server) @options = @test_server = test_server end |
Instance Method Details
#start_all ⇒ Object
9 10 11 12 |
# File 'lib/deep_test/distributed/throughput_worker_client.rb', line 9 def start_all @worker_server = @test_server.spawn_worker_server(@options) @worker_server.start_all end |
#stop_all ⇒ Object
14 15 16 |
# File 'lib/deep_test/distributed/throughput_worker_client.rb', line 14 def stop_all @worker_server.stop_all end |