T - A - public class PollingSourceWrapper<T,A> extends SourceWrapper<T,A>
SourceWrapper implementation that provides Polling related capabilities to any wrapped Source, like scheduled
polling, watermarking and idempotent processing.| Constructor and Description |
|---|
PollingSourceWrapper(org.mule.runtime.extension.api.runtime.source.PollingSource<T,A> delegate,
Scheduler scheduler) |
| Modifier and Type | Method and Description |
|---|---|
void |
onBackPressure(CoreEvent event,
Map<String,Object> parameters,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext context,
org.mule.runtime.api.component.execution.CompletableCallback<Void> callback) |
void |
onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<T,A> sourceCallback) |
void |
onStop() |
void |
onTerminate(CoreEvent event,
Map<String,Object> parameters,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext context,
org.mule.runtime.api.component.execution.CompletableCallback<Void> callback) |
getDelegate, onError, onSuccesspublic void onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<T,A> sourceCallback) throws org.mule.runtime.api.exception.MuleException
public void onStop()
public void onTerminate(CoreEvent event, Map<String,Object> parameters, org.mule.runtime.extension.api.runtime.source.SourceCallbackContext context, org.mule.runtime.api.component.execution.CompletableCallback<Void> callback)
onTerminate in class SourceWrapper<T,A>public void onBackPressure(CoreEvent event, Map<String,Object> parameters, org.mule.runtime.extension.api.runtime.source.SourceCallbackContext context, org.mule.runtime.api.component.execution.CompletableCallback<Void> callback)
onBackPressure in class SourceWrapper<T,A>Copyright © 2003–2020 MuleSoft, Inc.. All rights reserved.