blob: b8cabe5cc4857b01c97d82ba64c9fb3d0d62949b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.http.server;
import com.yahoo.vespa.http.client.core.OperationStatus;
import java.util.concurrent.BlockingQueue;
/**
* Mapping between document ID and client session.
*
* @author Steinar Knutsen
*/
public class ReplyContext {
public final String docId;
public final BlockingQueue<OperationStatus> feedReplies;
public final long creationTime;
public ReplyContext(String docId, BlockingQueue<OperationStatus> feedReplies) {
this.docId = docId;
this.feedReplies = feedReplies;
this.creationTime = System.currentTimeMillis();
}
}
|