public class Never extends AbstractPolicy
longRunning, shortRunning
Constructor and Description |
---|
Never()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
shouldDistribute(DistributedWorkManager dwm,
javax.resource.spi.work.DistributableWork work)
Should a distribution of the work happen
|
getShouldDistribute
deltaDoWorkAccepted, deltaDoWorkRejected, deltaScheduleWorkAccepted, deltaScheduleWorkRejected, deltaStartWorkAccepted, deltaStartWorkRejected, deltaWorkFailed, deltaWorkSuccessful, join, leave, updateLongRunningFree, updateShortRunningFree
public boolean shouldDistribute(DistributedWorkManager dwm, javax.resource.spi.work.DistributableWork work)
shouldDistribute
in interface Policy
shouldDistribute
in class AbstractPolicy
dwm
- The invoking distributed work managerwork
- The work instanceCopyright © 2013 IronJacamar (http://www.ironjacamar.org)