Class Resumables


  • public final class Resumables
    extends Object
    A wrapper for resumable entities
    • Method Detail

      • of

        public static <K,​V> org.apache.camel.resume.Resumable<K,​V> of​(K addressable,
                                                                                  V offset)
        Creates a new resumable for an addressable
        Type Parameters:
        K - the type of the key, name or object that can be addressed by the given offset (aka addressable)
        V - the type of offset
        Parameters:
        addressable - the key, name or object that can be addressed by the given offset
        offset - the offset value
        Returns:
        A new resumable entity for the given addressable with the given offset value