mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-25 22:25:34 +00:00
stuff
This commit is contained in:
36
app/S/ThreadedInSPackage.java
Normal file
36
app/S/ThreadedInSPackage.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package S;
|
||||
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
class ThreadedInSPackage extends Thread {
|
||||
long a = 0L;
|
||||
|
||||
int b = 99;
|
||||
|
||||
f(e parame) {
|
||||
super("Offline Event Monitor Thread");
|
||||
}
|
||||
|
||||
public void run() {
|
||||
while (true) {
|
||||
if (System.currentTimeMillis() - this.a > this.b)
|
||||
this.c.b();
|
||||
try {
|
||||
Thread.sleep(50L);
|
||||
} catch (InterruptedException interruptedException) {
|
||||
Logger.getLogger(e.class.getName()).log(Level.SEVERE, (String)null, interruptedException);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void a() {
|
||||
this.a = System.currentTimeMillis();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/S/f.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
Reference in New Issue
Block a user