Interface ReconnectedEventBundle

All Superinterfaces:
EventBundle, Iterable<Event>, Serializable
All Known Implementing Classes:
ReconnectedEventBundleImpl

public interface ReconnectedEventBundle extends EventBundle
Because EventBundle can be processed asynchronously, they can be executed:
  • in a different security context
  • with a different CoreSession
This interface is used to mark Bundles that supports this kind of processing. This basically means:
Author:
tiry
  • Field Details

    • SKIP_REFETCH_DOCUMENT_CONTEXT_KEY

      static final String SKIP_REFETCH_DOCUMENT_CONTEXT_KEY
      Marker to pass and set to true in document models context data when passing it in event properties, to avoid refetching it when reconnecting.
      See Also:
  • Method Details

    • disconnect

      void disconnect()
      Manage cleanup after processing.