blob: cfa18ddee85e3188a3cdb3573a61eda7b4e363b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright Yahoo. 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);
}
|