Package com.yahoo.search.dispatch
Class SimpleTimeoutHandler
java.lang.Object
com.yahoo.search.dispatch.SimpleTimeoutHandler
- All Implemented Interfaces:
TimeoutHandler
Computes the timeout based solely on the query timeout
- Author:
- baldersheim
-
Method Summary
Modifier and TypeMethodDescriptionlong
nextTimeoutMS
(int answeredNodes) int
reason()
Return a bitmask from com.yahoo.container.handler.Coverage.DEGRADED....
-
Method Details
-
nextTimeoutMS
public long nextTimeoutMS(int answeredNodes) - Specified by:
nextTimeoutMS
in interfaceTimeoutHandler
-
reason
public int reason()Description copied from interface:TimeoutHandler
Return a bitmask from com.yahoo.container.handler.Coverage.DEGRADED.... set- Specified by:
reason
in interfaceTimeoutHandler
-