diff options
author | Sven Gothel <sgothel@jausoft.com> | 2011-02-26 18:10:53 +0100 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2011-02-26 18:10:53 +0100 |
commit | 837e90f090cf1627ad2897ecc1e9be428e0e3d43 (patch) | |
tree | 8a6fdd5aca35571aea852c5b19b03131275636ae /src/java/com/jogamp/common/util/RunnableTask.java | |
parent | 45788d1f3264725ba2e2f31f4b56d492e265b67c (diff) | |
parent | be26200a6d2fbeff6df49aada0bcf7cad91fe64f (diff) |
Merge remote-tracking branch 'remotes/mbien/master'
Diffstat (limited to 'src/java/com/jogamp/common/util/RunnableTask.java')
-rw-r--r-- | src/java/com/jogamp/common/util/RunnableTask.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/util/RunnableTask.java b/src/java/com/jogamp/common/util/RunnableTask.java index d5622b2..3707ce8 100644 --- a/src/java/com/jogamp/common/util/RunnableTask.java +++ b/src/java/com/jogamp/common/util/RunnableTask.java @@ -34,7 +34,7 @@ package com.jogamp.common.util; */ public class RunnableTask implements Runnable { Runnable runnable; - Object notifyObject; + final Object notifyObject; boolean catchExceptions; Object attachment; @@ -121,6 +121,7 @@ public class RunnableTask implements Runnable { public long getDurationInExec() { return ts2 - ts1; } public long getDurationTotal() { return ts2 - ts0; } + @Override public String toString() { return "RunnableTask[executed "+isExecuted()+", t2-t0 "+getDurationTotal()+", t2-t1 "+getDurationInExec()+", t1-t0 "+getDurationInQueue()+", throwable "+getThrowable()+", Runnable "+runnable+", Attachment "+attachment+"]"; } |