Class KinesisResumeStrategy
java.lang.Object
org.apache.camel.component.aws2.kinesis.consumer.KinesisResumeStrategy
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.resume.ResumeStrategy,org.apache.camel.Service
@JdkService("kinesis-resume-strategy")
public class KinesisResumeStrategy
extends Object
implements org.apache.camel.resume.ResumeStrategy
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.camel.resume.ResumeStrategy
org.apache.camel.resume.ResumeStrategy.UpdateCallBack -
Field Summary
Fields inherited from interface org.apache.camel.resume.ResumeStrategy
DEFAULT_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.resume.ResumeAdapterorg.apache.camel.resume.ResumeStrategyConfigurationvoidsetAdapter(org.apache.camel.resume.ResumeAdapter adapter) voidsetResumeStrategyConfiguration(org.apache.camel.resume.ResumeStrategyConfiguration resumeStrategyConfiguration) voidstart()voidstop()voidupdateLastOffset(org.apache.camel.resume.OffsetKey<?> offsetKey, org.apache.camel.resume.Offset<?> offsetValue) voidupdateLastOffset(org.apache.camel.resume.OffsetKey<?> offsetKey, org.apache.camel.resume.Offset<?> offset, org.apache.camel.resume.ResumeStrategy.UpdateCallBack updateCallBack) <T extends org.apache.camel.resume.Resumable>
voidupdateLastOffset(T offset) <T extends org.apache.camel.resume.Resumable>
voidupdateLastOffset(T offset, org.apache.camel.resume.ResumeStrategy.UpdateCallBack updateCallBack) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.resume.ResumeStrategy
getAdapter, loadCacheMethods inherited from interface org.apache.camel.Service
build, close, init
-
Constructor Details
-
KinesisResumeStrategy
public KinesisResumeStrategy()
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.apache.camel.Service
-
stop
public void stop()- Specified by:
stopin interfaceorg.apache.camel.Service
-
setAdapter
public void setAdapter(org.apache.camel.resume.ResumeAdapter adapter) - Specified by:
setAdapterin interfaceorg.apache.camel.resume.ResumeStrategy
-
getAdapter
public org.apache.camel.resume.ResumeAdapter getAdapter()- Specified by:
getAdapterin interfaceorg.apache.camel.resume.ResumeStrategy
-
updateLastOffset
public <T extends org.apache.camel.resume.Resumable> void updateLastOffset(T offset) - Specified by:
updateLastOffsetin interfaceorg.apache.camel.resume.ResumeStrategy
-
updateLastOffset
public <T extends org.apache.camel.resume.Resumable> void updateLastOffset(T offset, org.apache.camel.resume.ResumeStrategy.UpdateCallBack updateCallBack) - Specified by:
updateLastOffsetin interfaceorg.apache.camel.resume.ResumeStrategy
-
updateLastOffset
public void updateLastOffset(org.apache.camel.resume.OffsetKey<?> offsetKey, org.apache.camel.resume.Offset<?> offsetValue) - Specified by:
updateLastOffsetin interfaceorg.apache.camel.resume.ResumeStrategy
-
updateLastOffset
public void updateLastOffset(org.apache.camel.resume.OffsetKey<?> offsetKey, org.apache.camel.resume.Offset<?> offset, org.apache.camel.resume.ResumeStrategy.UpdateCallBack updateCallBack) - Specified by:
updateLastOffsetin interfaceorg.apache.camel.resume.ResumeStrategy
-
setResumeStrategyConfiguration
public void setResumeStrategyConfiguration(org.apache.camel.resume.ResumeStrategyConfiguration resumeStrategyConfiguration) - Specified by:
setResumeStrategyConfigurationin interfaceorg.apache.camel.resume.ResumeStrategy
-
getResumeStrategyConfiguration
public org.apache.camel.resume.ResumeStrategyConfiguration getResumeStrategyConfiguration()- Specified by:
getResumeStrategyConfigurationin interfaceorg.apache.camel.resume.ResumeStrategy
-