Code example for ScheduledThreadPoolExecutor

Methods: remove

0
	} 
	 
	@Deprecated 
	public boolean removeEffect(RunnableScheduledFuture<?> r)
	{ 
		return _effectsScheduledThreadPool.remove(r);
	} 
	 
	public ScheduledFuture<?> scheduleGeneral(Runnable r, long delay)
	{ 
		try 
		{ 
			delay = ThreadPoolManager.validateDelay(delay);
			return _generalScheduledThreadPool.schedule(new RunnableWrapper(r), delay, TimeUnit.MILLISECONDS);
		} 
		catch (RejectedExecutionException e)
		{ 
			return null; /* shutdown, ignore */ 
		} 
	}