summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/scheduler
diff options
context:
space:
mode:
authorErik Broes <erikbroes@grum.nl>2012-01-15 14:37:30 +0100
committerErik Broes <erikbroes@grum.nl>2012-01-15 14:37:43 +0100
commit88c17a7f86eacd1bc49c8f97577bf3c8bc60662f (patch)
tree81a39731db8a8d5ee839148d2fefd254ee78be37 /src/main/java/org/bukkit/scheduler
parentbc95edd4dc77aec8698d3b3c9a43838f71e04be0 (diff)
downloadbukkit-88c17a7f86eacd1bc49c8f97577bf3c8bc60662f.tar
bukkit-88c17a7f86eacd1bc49c8f97577bf3c8bc60662f.tar.gz
bukkit-88c17a7f86eacd1bc49c8f97577bf3c8bc60662f.tar.lz
bukkit-88c17a7f86eacd1bc49c8f97577bf3c8bc60662f.tar.xz
bukkit-88c17a7f86eacd1bc49c8f97577bf3c8bc60662f.zip
Generic cleaning
Diffstat (limited to 'src/main/java/org/bukkit/scheduler')
-rw-r--r--src/main/java/org/bukkit/scheduler/BukkitScheduler.java14
-rw-r--r--src/main/java/org/bukkit/scheduler/BukkitWorker.java2
2 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/org/bukkit/scheduler/BukkitScheduler.java b/src/main/java/org/bukkit/scheduler/BukkitScheduler.java
index 637d22e0..4477c56d 100644
--- a/src/main/java/org/bukkit/scheduler/BukkitScheduler.java
+++ b/src/main/java/org/bukkit/scheduler/BukkitScheduler.java
@@ -76,7 +76,7 @@ public interface BukkitScheduler {
/**
* Calls a method on the main thread and returns a Future object
* This task will be executed by the main server thread
- *
+ * <p />
* Note: The Future.get() methods must NOT be called from the main thread
* Note2: There is at least an average of 10ms latency until the isDone() method returns true
*
@@ -108,33 +108,33 @@ public interface BukkitScheduler {
/**
* Check if the task currently running.
- *
+ * <p />
* A repeating task might not be running currently, but will be running in the future.
* A task that has finished, and does not repeat, will not be running ever again.
- *
+ * <p />
* Explicitly, a task is running if there exists a thread for it, and that thread is alive.
*
* @param taskId The task to check.
- *
+ * <p />
* @return If the task is currently running.
*/
public boolean isCurrentlyRunning(int taskId);
/**
* Check if the task queued to be run later.
- *
+ * <p />
* If a repeating task is currently running, it might not be queued now but could be in the future.
* A task that is not queued, and not running, will not be queued again.
*
* @param taskId The task to check.
- *
+ * <p />
* @return If the task is queued to be run.
*/
public boolean isQueued(int taskId);
/**
* Returns a list of all active workers.
- *
+ * <p />
* This list contains asynch tasks that are being executed by separate threads.
*
* @return Active workers
diff --git a/src/main/java/org/bukkit/scheduler/BukkitWorker.java b/src/main/java/org/bukkit/scheduler/BukkitWorker.java
index 3783608c..70a637b8 100644
--- a/src/main/java/org/bukkit/scheduler/BukkitWorker.java
+++ b/src/main/java/org/bukkit/scheduler/BukkitWorker.java
@@ -5,7 +5,7 @@ import org.bukkit.plugin.Plugin;
/**
* Represents a worker thread for the scheduler. This gives information about
* the Thread object for the task, owner of the task and the taskId.
- *
+ * </p>
* Workers are used to execute async tasks.
*/