1 | <?php |
||
10 | class GeneratorStatus |
||
11 | { |
||
12 | /** |
||
13 | * Machine ID. |
||
14 | * |
||
15 | * @var int |
||
16 | */ |
||
17 | public $machine; |
||
18 | |||
19 | /** |
||
20 | * Generator timestamp of last ID generation (converted with epoch). |
||
21 | * |
||
22 | * @var int |
||
23 | */ |
||
24 | public $lastTime; |
||
25 | |||
26 | /** |
||
27 | * Current sequence. |
||
28 | * |
||
29 | * @var int |
||
30 | */ |
||
31 | public $sequence; |
||
32 | |||
33 | /** |
||
34 | * True, if server works in 32bit mode. |
||
35 | * |
||
36 | * @var bool |
||
37 | */ |
||
38 | public $is32Bit; |
||
39 | |||
40 | /** |
||
41 | * Class constructor. |
||
42 | * |
||
43 | * @param int $machine |
||
44 | * @param int $lastTime |
||
45 | * @param int $sequence |
||
46 | * @param bool $is32Bit |
||
47 | */ |
||
48 | 2 | public function __construct($machine, $lastTime, $sequence, $is32Bit) |
|
55 | } |
||
56 |