blob: 4a286d55ce244afd5d5cab7d6b09221bfb250229 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.dispatch;
/**
* Computes next timeout in milliseconds
*
* @author baldersheim
*/
public interface TimeoutHandler {
long nextTimeoutMS(int answeredNodes);
/**
* Return a bitmask from com.yahoo.container.handler.Coverage.DEGRADED.... set
*/
int reason();
}
|