Skip to main content

[jsr352-public] Re: clarify stopping a partitioned batchlet step

  • From: Scott Kurz < >
  • To:
  • Subject: [jsr352-public] Re: clarify stopping a partitioned batchlet step
  • Date: Mon, 6 May 2013 08:59:04 -0400

Cheng,

I think the wording could be cleaned up... the intention is to say that the container will issue a stop on each active partition.

It is not to imply that the stop method is invoke on the same thread running process(), for each partition.   You're right it would need another thread to call stop() upon.

------------------------------------------------------
Scott Kurz
WebSphere Batch / Compute Grid Development
T/L 295-5649;
External Phone 845-435-5649

--------------------------------------------------------


Inactive hide details for Cheng Fang ---05/05/2013 11:21:48 PM---On pg 115, toward the bottom has: "Note for partitioned batchlCheng Fang ---05/05/2013 11:21:48 PM---On pg 115, toward the bottom has: "Note for partitioned batchlet steps the Batchlet stop method is i

From: Cheng Fang < >
To: ,
Date: 05/05/2013 11:21 PM
Subject: [jsr352-public] clarify stopping a partitioned batchlet step





On pg 115, toward the bottom has:

"Note for partitioned batchlet steps the Batchlet stop method is invoked
on each thread actively processing a partition."

If a thread is actively processing a partition, it won't be able to
invoke the bathlet stop method on this thread.  More likely, the stop
method will be called on another watcher-type of thread, or even the
step main thread.  Can you clarify?

Thanks,
Cheng


GIF image



[jsr352-public] clarify stopping a partitioned batchlet step

Cheng Fang 05/06/2013

[jsr352-public] Re: clarify stopping a partitioned batchlet step

Scott Kurz 05/06/2013
 
 
Close
loading
Please Confirm
Close