me.armar.plugins.autorank.mysql.wrapper
Class TimeRunnable
java.lang.Object
me.armar.plugins.autorank.mysql.wrapper.TimeRunnable
- All Implemented Interfaces:
- java.lang.Runnable
public class TimeRunnable
- extends java.lang.Object
- implements java.lang.Runnable
This will get the database time.
We have to wait for the thread to finish before we can get the results
Every database lookup will have to have its own thread.
- Author:
- Staartvin
|
Method Summary |
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrapper
private MySQLWrapper wrapper
mysql
private SQLDataStorage mysql
name
private java.lang.String name
table
private java.lang.String table
time
private int time
TimeRunnable
public TimeRunnable(MySQLWrapper wrapper,
SQLDataStorage mysql,
java.lang.String name,
java.lang.String table)
run
public void run()
- Specified by:
run in interface java.lang.Runnable