Class LocalServicePolicy
- java.lang.Object
-
- com.yahoo.documentapi.messagebus.protocol.LocalServicePolicy
-
- All Implemented Interfaces:
DocumentProtocolRoutingPolicy
,com.yahoo.messagebus.routing.RoutingPolicy
public class LocalServicePolicy extends java.lang.Object implements DocumentProtocolRoutingPolicy
This policy implements the logic to prefer local services that matches a slobrok pattern.- Author:
- Simon Thoresen Hult
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
merge(com.yahoo.messagebus.routing.RoutingContext ctx)
void
select(com.yahoo.messagebus.routing.RoutingContext ctx)
-
-
-
Method Detail
-
select
public void select(com.yahoo.messagebus.routing.RoutingContext ctx)
- Specified by:
select
in interfacecom.yahoo.messagebus.routing.RoutingPolicy
-
merge
public void merge(com.yahoo.messagebus.routing.RoutingContext ctx)
- Specified by:
merge
in interfacecom.yahoo.messagebus.routing.RoutingPolicy
-
destroy
public void destroy()
- Specified by:
destroy
in interfacecom.yahoo.messagebus.routing.RoutingPolicy
-
-