
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, updateShortRunningFreeprotected 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 Policydwm - The invoking distributed work managerwork - The work instanceCopyright © 2014 IronJacamar (http://www.ironjacamar.org)