Package org.glite.ce.commonj.utils

Examples of org.glite.ce.commonj.utils.TimerTask


    }

    public void removePolicyTask(String name) {
        if (name != null && policyTaskTable.containsKey(name)) {
            for (int i = 0; i < timer.size(); i++) {
                TimerTask timerTask = timer.getTimerTask(i);

                if (timerTask != null && timerTask.getName().equalsIgnoreCase(name)) {
                    timerTask.cancel();
                }
            }

            timer.purge();
            PolicyTask task = policyTaskTable.remove(name);
View Full Code Here

TOP

Related Classes of org.glite.ce.commonj.utils.TimerTask

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.