private static class StandardPublicPort.FlowFileRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
private AtomicBoolean |
beingServiced |
private long |
creationTime |
private Peer |
peer |
private ServerProtocol |
protocol |
private BlockingQueue<StandardPublicPort.ProcessingResult> |
queue |
| Constructor and Description |
|---|
FlowFileRequest(Peer peer,
ServerProtocol protocol) |
| Modifier and Type | Method and Description |
|---|---|
Peer |
getPeer() |
ServerProtocol |
getProtocol() |
BlockingQueue<StandardPublicPort.ProcessingResult> |
getResponseQueue() |
boolean |
isExpired() |
void |
setServiceBegin() |
boolean |
waitForService(long duration,
TimeUnit timeUnit) |
private final Peer peer
private final ServerProtocol protocol
private final BlockingQueue<StandardPublicPort.ProcessingResult> queue
private final long creationTime
private final AtomicBoolean beingServiced
public FlowFileRequest(Peer peer, ServerProtocol protocol)
public void setServiceBegin()
public boolean waitForService(long duration,
TimeUnit timeUnit)
throws InterruptedException
InterruptedExceptionpublic BlockingQueue<StandardPublicPort.ProcessingResult> getResponseQueue()
public Peer getPeer()
public ServerProtocol getProtocol()
public boolean isExpired()
Copyright © 2021 Apache NiFi Project. All rights reserved.