returns the current task that is executing . this value could be null if no operation is executing . value could be stale as soon as it is returned . this method is thread-safe ; so the thread that executes a task will set/unset the current task , any other thread in the system is allowed to read it . concode_field_sep Thread currentThread concode_elem_sep int partitionId concode_elem_sep Object currentTask concode_field_sep Thread currentThread concode_elem_sep void setCurrentThread concode_elem_sep int getPartitionId concode_elem_sep void run concode_elem_sep void run concode_elem_sep void run
Object function ( ) { return currentTask ; }