Interface EdgeIndexTask

    • Method Detail

      • convertToJournalEntry

        default Optional<JournalEntry> convertToJournalEntry​(JournalIdentifier journalIdentifier)
        This default method returns an empty Optional object because an index task for an edge will be serialised and stored as the entry message when being queued.

        The entry message is de-serialised to the task later when the task is about to perform.

        Specified by:
        convertToJournalEntry in interface ConvertibleToJournalEntry
        Parameters:
        journalIdentifier - the journal identifier
        Returns:
        an empty Optional