-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathRuntime.php
More file actions
224 lines (206 loc) Β· 7.46 KB
/
Runtime.php
File metadata and controls
224 lines (206 loc) Β· 7.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\lang;
use PHPJava\Exceptions\NotImplementedException;
/**
* The `Runtime` class was auto generated.
*
* @parent \PHPJava\Packages\java\lang\Object_
*/
class Runtime extends Object_
{
/**
* Registers a new virtual-machine shutdown hook.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#addShutdownHook
* @param null|mixed $a
* @throws NotImplementedException
*/
public function addShutdownHook($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the number of processors available to the Java virtual machine.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#availableProcessors
* @param null|mixed $a
* @throws NotImplementedException
*/
public function availableProcessors($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Executes the specified string command in a separate process.
* Executes the specified command and arguments in a separate process.
* Executes the specified command and arguments in a separate process with the specified environment.
* Executes the specified command and arguments in a separate process with the specified environment and working directory.
* Executes the specified string command in a separate process with the specified environment.
* Executes the specified string command in a separate process with the specified environment and working directory.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#exec
* @param null|mixed $a
* @param null|mixed $b
* @param null|mixed $c
* @throws NotImplementedException
*/
public function exec($a = null, $b = null, $c = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Terminates the currently running Java virtual machine by initiating its shutdown sequence.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#exit
* @param null|mixed $a
* @throws NotImplementedException
*/
public function exit($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the amount of free memory in the Java Virtual Machine.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#freeMemory
* @param null|mixed $a
* @throws NotImplementedException
*/
public function freeMemory($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Runs the garbage collector.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#gc
* @param null|mixed $a
* @throws NotImplementedException
*/
public function gc($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the runtime object associated with the current Java application.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#getRuntime
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function static_getRuntime($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Forcibly terminates the currently running Java virtual machine.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#halt
* @param null|mixed $a
* @throws NotImplementedException
*/
public function halt($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Loads the native library specified by the filename argument.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#load
* @param null|mixed $a
* @throws NotImplementedException
*/
public function load($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Loads the native library specified by the libname argument.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#loadLibrary
* @param null|mixed $a
* @throws NotImplementedException
*/
public function loadLibrary($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the maximum amount of memory that the Java virtual machine will attempt to use.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#maxMemory
* @param null|mixed $a
* @throws NotImplementedException
*/
public function maxMemory($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* De-registers a previously-registered virtual-machine shutdown hook.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#removeShutdownHook
* @param null|mixed $a
* @throws NotImplementedException
*/
public function removeShutdownHook($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Runs the finalization methods of any objects pending finalization.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#runFinalization
* @param null|mixed $a
* @throws NotImplementedException
*/
public function runFinalization($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the total amount of memory in the Java virtual machine.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#totalMemory
* @param null|mixed $a
* @throws NotImplementedException
*/
public function totalMemory($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Deprecated, for removal: This API element is subject to removal in a future version.This method was intended to control instruction tracing.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#traceInstructions
* @param null|mixed $a
* @throws NotImplementedException
*/
public function traceInstructions($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Deprecated, for removal: This API element is subject to removal in a future version.This method was intended to control method call tracing.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#traceMethodCalls
* @param null|mixed $a
* @throws NotImplementedException
*/
public function traceMethodCalls($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the version of the Java Runtime Environment as a Runtime.Version.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#version
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function static_version($a = null)
{
throw new NotImplementedException(__METHOD__);
}
}