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