java.lang.Object
org.apache.camel.component.file.consumer.adapters.FileOffset
All Implemented Interfaces:
org.apache.camel.resume.Offset<Long>, org.apache.camel.resume.Serializable

public class FileOffset extends Object implements org.apache.camel.resume.Offset<Long>
  • Field Summary

    Fields inherited from interface org.apache.camel.resume.Serializable

    BYTES, TYPE_FILE, TYPE_INTEGER, TYPE_LONG, TYPE_STRING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    FileOffset(Long offset)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
     
    void
    update(Long offset)
     

    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.Offset

    getValue, serialize

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

    serialize
  • Constructor Details

    • FileOffset

      public FileOffset()
    • FileOffset

      public FileOffset(Long offset)
  • Method Details

    • update

      public void update(Long offset)
      Specified by:
      update in interface org.apache.camel.resume.Offset<Long>
    • getLastOffset

      @Deprecated public Object getLastOffset()
      Deprecated.
    • getValue

      public Long getValue()
      Specified by:
      getValue in interface org.apache.camel.resume.Offset<Long>