Class: Worker::Process
Overview
Worker::Process
Constant Summary
Constants included from Spark::Constant
Spark::Constant::ACCUMULATOR_ACK, Spark::Constant::CREATE_WORKER, Spark::Constant::DATA_EOF, Spark::Constant::KILL_WORKER, Spark::Constant::KILL_WORKER_AND_WAIT, Spark::Constant::SUCCESSFULLY_KILLED, Spark::Constant::UNSUCCESSFUL_KILLING, Spark::Constant::WORKER_DONE, Spark::Constant::WORKER_ERROR
Constants included from Spark::Helper::Serialize
Spark::Helper::Serialize::DIRECTIVE_CHARS, Spark::Helper::Serialize::DIRECTIVE_DOUBLES_BIG_ENDIAN, Spark::Helper::Serialize::DIRECTIVE_DOUBLE_BIG_ENDIAN, Spark::Helper::Serialize::DIRECTIVE_INTEGERS_BIG_ENDIAN, Spark::Helper::Serialize::DIRECTIVE_INTEGER_BIG_ENDIAN, Spark::Helper::Serialize::DIRECTIVE_LONGS_BIG_ENDIAN, Spark::Helper::Serialize::DIRECTIVE_LONG_BIG_ENDIAN, Spark::Helper::Serialize::DIRECTIVE_UNSIGNED_CHARS
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from Spark::Helper::System
Methods included from Spark::Helper::Serialize
#pack_double, #pack_doubles, #pack_int, #pack_ints, #pack_long, #pack_longs, #pack_unsigned_chars, #unpack_chars, #unpack_int, #unpack_long
Constructor Details
This class inherits a constructor from Worker::Base
Instance Method Details
#id ⇒ Object
145 146 147 |
# File 'lib/spark/worker/worker.rb', line 145 def id ::Process.pid end |