Class DispatcherFlushFilter

  • All Implemented Interfaces:
    com.day.cq.replication.AgentFilter

    @ProviderType
    public class DispatcherFlushFilter
    extends Object
    implements com.day.cq.replication.AgentFilter
    Replication Agent Filter used to identify Flush agents.
    • Constructor Detail

      • DispatcherFlushFilter

        public DispatcherFlushFilter()
        Default constructor; Same as: new DispatcherFlushFilter(FlushType.All);.
      • DispatcherFlushFilter

        public DispatcherFlushFilter​(DispatcherFlushFilter.FlushType flushType)
        Targets a set of Dispatcher Flush agents based on the parameter flushType.
        Parameters:
        flushType - The type of Flush agents this Agent should target
    • Method Detail

      • isIncluded

        public final boolean isIncluded​(com.day.cq.replication.Agent agent)
        Checks if the @agent is considered an active Flush agent (Serialization Type ~> Flush and is enabled).
        Specified by:
        isIncluded in interface com.day.cq.replication.AgentFilter
        Parameters:
        agent - the agent to test test
        Returns:
        true is is considered an enabled Flush agent
      • getFlushType

        public final DispatcherFlushFilter.FlushType getFlushType()
        Returns the Dispatcher FlushType this filter was created with.
        Returns:
        this filter's dispatcher flushType