Class SubsetServicePolicy

java.lang.Object
com.yahoo.documentapi.messagebus.protocol.SubsetServicePolicy
All Implemented Interfaces:
DocumentProtocolRoutingPolicy, com.yahoo.messagebus.routing.RoutingPolicy

public class SubsetServicePolicy extends Object implements DocumentProtocolRoutingPolicy
This policy implements the logic to select a subset of services that matches a slobrok pattern.
Author:
Simon Thoresen Hult
  • Method Details

    • select

      public void select(com.yahoo.messagebus.routing.RoutingContext ctx)
      Specified by:
      select in interface com.yahoo.messagebus.routing.RoutingPolicy
    • merge

      public void merge(com.yahoo.messagebus.routing.RoutingContext ctx)
      Specified by:
      merge in interface com.yahoo.messagebus.routing.RoutingPolicy
    • destroy

      public void destroy()
      Specified by:
      destroy in interface com.yahoo.messagebus.routing.RoutingPolicy