public class ReconnectWorkManager extends Object implements org.mule.api.context.WorkManager
| Modifier and Type | Class and Description |
|---|---|
static class |
ReconnectWorkManager.WorkDelegate
Deprecated.
|
| Constructor and Description |
|---|
ReconnectWorkManager(org.mule.api.MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
doWork(javax.resource.spi.work.Work work) |
void |
doWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener) |
void |
execute(Runnable runnable) |
boolean |
isStarted() |
void |
scheduleWork(javax.resource.spi.work.Work work) |
void |
scheduleWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener) |
void |
start() |
void |
startIfNotStarted() |
long |
startWork(javax.resource.spi.work.Work work) |
long |
startWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener) |
void |
stop() |
public ReconnectWorkManager(org.mule.api.MuleContext muleContext)
public boolean isStarted()
public void dispose()
dispose in interface org.mule.api.lifecycle.Disposablepublic void stop()
public void startIfNotStarted()
throws org.mule.api.MuleException
org.mule.api.MuleExceptionpublic void start()
throws org.mule.api.MuleException
start in interface org.mule.api.lifecycle.Startableorg.mule.api.MuleExceptionpublic void doWork(javax.resource.spi.work.Work work)
throws javax.resource.spi.work.WorkException
doWork in interface javax.resource.spi.work.WorkManagerjavax.resource.spi.work.WorkExceptionpublic void doWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
throws javax.resource.spi.work.WorkException
doWork in interface javax.resource.spi.work.WorkManagerjavax.resource.spi.work.WorkExceptionpublic long startWork(javax.resource.spi.work.Work work)
throws javax.resource.spi.work.WorkException
startWork in interface javax.resource.spi.work.WorkManagerjavax.resource.spi.work.WorkExceptionpublic long startWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
throws javax.resource.spi.work.WorkException
startWork in interface javax.resource.spi.work.WorkManagerjavax.resource.spi.work.WorkExceptionpublic void scheduleWork(javax.resource.spi.work.Work work)
throws javax.resource.spi.work.WorkException
scheduleWork in interface javax.resource.spi.work.WorkManagerjavax.resource.spi.work.WorkExceptionpublic void scheduleWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
throws javax.resource.spi.work.WorkException
scheduleWork in interface javax.resource.spi.work.WorkManagerjavax.resource.spi.work.WorkExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.