blob: 9125b8a6d68ef8cd799aa33e1807292d62fbb8a3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jrt;
/**
* Interface used to wait for the completion of a {@link
* Request}. This interface is used with the {@link Target#invokeAsync
* Target.invokeAsync} method.
**/
public interface RequestWaiter {
/**
* Invoked when a request has completed.
*
* @param req the completed request
**/
public void handleRequestDone(Request req);
}
|