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