public class WorkEventListener
extends javax.resource.spi.work.WorkAdapter
Constructor and Description |
---|
WorkEventListener(boolean isLong,
StatisticsExecutor shortThreadPool,
StatisticsExecutor longThreadPool,
Address address,
Transport transport)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
workCompleted(javax.resource.spi.work.WorkEvent e) |
void |
workRejected(javax.resource.spi.work.WorkEvent e) |
public WorkEventListener(boolean isLong, StatisticsExecutor shortThreadPool, StatisticsExecutor longThreadPool, Address address, Transport transport)
isLong
- Is long running work instanceshortThreadPool
- The short running thread poollongThreadPool
- The long running thread pooladdress
- The addresstransport
- The transportpublic void workCompleted(javax.resource.spi.work.WorkEvent e)
workCompleted
in interface javax.resource.spi.work.WorkListener
workCompleted
in class javax.resource.spi.work.WorkAdapter
public void workRejected(javax.resource.spi.work.WorkEvent e)
workRejected
in interface javax.resource.spi.work.WorkListener
workRejected
in class javax.resource.spi.work.WorkAdapter
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)