ThreadPoolManager

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
RmzVoid
Posts: 35
Joined: Fri Mar 10, 2006 1:40 pm
Location: Russia

ThreadPoolManager

Post by RmzVoid »

I am scheduled some task by scheduleGeneral.
How can I cancel this schedule? removeGeneral - deprecated. I think there is some troubles with it?
Now modding L2J...
L2J server revision: 5522
L2J datapack revision: 9008
djmouse
Posts: 135
Joined: Tue Feb 07, 2012 4:48 am

Re: ThreadPoolManager

Post by djmouse »

Code: Select all

 ScheduledFuture<?> task = ThreadPoolManager.getInstance().scheduleGeneral(new Task(), delay);task.cancel(true); 
User avatar
RmzVoid
Posts: 35
Joined: Fri Mar 10, 2006 1:40 pm
Location: Russia

Re: ThreadPoolManager

Post by RmzVoid »

Thank you very much.
Now modding L2J...
L2J server revision: 5522
L2J datapack revision: 9008
Post Reply