Hi,
The getContext().getVertexParallelism gives you the total number of
tasks. is that what you are looking for?
Prakash
On 9/11/14 7:40 PM, Kostas Tzoumas wrote:
Hi,
A Processor can read its task index via getContext().getTaskIndex().
Is there a way to similarly get the total number of tasks scheduled
for this vertex?
Kostas
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.