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