Class PersistentEventLogLoader

    • Constructor Detail

      • PersistentEventLogLoader

        public PersistentEventLogLoader()
    • Method Detail

      • setKey

        public void setKey​(java.lang.String key)
      • getKey

        public java.lang.String getKey()
      • initialize

        public abstract void initialize()
        Called when the configuration database does not contain a valid current_id.
      • getCurrentId

        public long getCurrentId()
        Get current EventLog id. If the lookup throws an exception, either the configuration has been deleted or renamed, in which we need to reinitialize, or the table is missing and something is wrong.
      • setCurrentId

        public void setCurrentId​(long id)
      • deleteCurrentId

        public void deleteCurrentId()
      • more

        public long more()
        Description copied from class: EventLogLoader
        Should return an estimate of how many more EventLog instances are available for processing. Some implementations may attempt to take extra measures if the number is too large. Use 1 for a constant rather than Long.MAX_VALUE. Use 0 to stop execution.
        Specified by:
        more in class EventLogLoader