Package com.gamingmesh.jobs.tasks

Examples of com.gamingmesh.jobs.tasks.BufferedPaymentTask


            // Schedule all payments
            int i = 0;
            for (BufferedPayment payment : paymentCache.values()) {
                i++;
                if (ConfigManager.getJobsConfiguration().isEconomyAsync()) {
                    Bukkit.getScheduler().runTaskLaterAsynchronously(plugin, new BufferedPaymentTask(this, economy, payment), i);
                } else {
                    Bukkit.getScheduler().runTaskLater(plugin, new BufferedPaymentTask(this, economy, payment), i);
                }
            }
            // empty payment cache
            paymentCache.clear();
        }
View Full Code Here

TOP

Related Classes of com.gamingmesh.jobs.tasks.BufferedPaymentTask

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.