If you think the Android project candymem listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
package se.tube42.lib.service;
//fromwww.java2s.comimport se.tube42.lib.ks.*;
publicclass JobService
{
privatestatic JobManager manager = new JobManager();
publicstatic Job add(Job j)
{
return add(j, 0);
}
publicstatic Job add(Job j, long delay)
{
synchronized(manager) {
return manager.add(j, delay);
}
}
publicstatic Job add(MessageListener ml, long time, int msg)
{
synchronized(manager) {
return manager.add(ml, time, msg);
}
}
publicstatic Job add(MessageListener ml, long time, int msg, int data0, Object data1, Object sender)
{
synchronized(manager) {
return manager.add(ml, time, msg, data0, data1, sender);
}
}
publicstaticvoid service(long d)
{
synchronized(manager) {
manager.service(d);
}
}
}