blob: 69eef2ba87cc02ba9a1a7c405118607ca54609fa (
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
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.http.server;
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();
}
}
|