blob: 6ff20c8ccc392be82e6e59f9456eae770988d6e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.jdisc;
import com.yahoo.jdisc.handler.CompletionHandler;
/**
* A completion handler which does access logging.
*
* @see ThreadedHttpRequestHandler#createLoggingCompletionHandler(long, long, HttpResponse, HttpRequest, ContentChannelOutputStream)
* @author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a>
*/
public interface LoggingCompletionHandler extends CompletionHandler {
/**
* Set the commit start time to the current time. Commit start is only well
* defined for synchronous renderers, it is the point in time when rendering
* has finished, but there may still be I/O operations to transfer the data
* to the client pending.
*/
public void markCommitStart();
}
|