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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.camel.resume.ResumeAdapter
     
    org.apache.camel.resume.ResumeStrategyConfiguration
     
    void
    setAdapter(org.apache.camel.resume.ResumeAdapter adapter)
     
    void
    setResumeStrategyConfiguration(org.apache.camel.resume.ResumeStrategyConfiguration resumeStrategyConfiguration)
     
    void
     
    void
     
    void
    updateLastOffset(org.apache.camel.resume.OffsetKey<?> offsetKey, org.apache.camel.resume.Offset<?> offsetValue)
     
    void
    updateLastOffset(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>
    void
    updateLastOffset(T offset)
     
    <T extends org.apache.camel.resume.Resumable>
    void
    updateLastOffset(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, wait

    Methods inherited from interface org.apache.camel.resume.ResumeStrategy

    getAdapter, loadCache

    Methods inherited from interface org.apache.camel.Service

    build, close, init
  • Constructor Details

    • KinesisResumeStrategy

      public KinesisResumeStrategy()
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface org.apache.camel.Service
    • stop

      public void stop()
      Specified by:
      stop in interface org.apache.camel.Service
    • setAdapter

      public void setAdapter(org.apache.camel.resume.ResumeAdapter adapter)
      Specified by:
      setAdapter in interface org.apache.camel.resume.ResumeStrategy
    • getAdapter

      public org.apache.camel.resume.ResumeAdapter getAdapter()
      Specified by:
      getAdapter in interface org.apache.camel.resume.ResumeStrategy
    • updateLastOffset

      public <T extends org.apache.camel.resume.Resumable> void updateLastOffset(T offset)
      Specified by:
      updateLastOffset in interface org.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:
      updateLastOffset in interface org.apache.camel.resume.ResumeStrategy
    • updateLastOffset

      public void updateLastOffset(org.apache.camel.resume.OffsetKey<?> offsetKey, org.apache.camel.resume.Offset<?> offsetValue)
      Specified by:
      updateLastOffset in interface org.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:
      updateLastOffset in interface org.apache.camel.resume.ResumeStrategy
    • setResumeStrategyConfiguration

      public void setResumeStrategyConfiguration(org.apache.camel.resume.ResumeStrategyConfiguration resumeStrategyConfiguration)
      Specified by:
      setResumeStrategyConfiguration in interface org.apache.camel.resume.ResumeStrategy
    • getResumeStrategyConfiguration

      public org.apache.camel.resume.ResumeStrategyConfiguration getResumeStrategyConfiguration()
      Specified by:
      getResumeStrategyConfiguration in interface org.apache.camel.resume.ResumeStrategy