blob: c8e3fc9d0a224a86d5cf1d62a5fe02ce4461d04d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.dispatch;
/**
* Classes implementing ResponseMonitor can be informed by monitored objects
* that a response is available for processing. The responseAvailable method
* must be thread-safe.
*
* @author ollivir
*/
public interface ResponseMonitor<T> {
void responseAvailable(T from);
}
|