public class ConnectionResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
clusterManagerDN |
private StandardDataFlow |
dataFlow |
private String |
instanceId |
private Boolean |
managerRemoteCommsSecure |
private Integer |
managerRemoteInputPort |
private NodeIdentifier |
nodeIdentifier |
private boolean |
primary |
private String |
rejectionReason |
private int |
tryLaterSeconds |
| Modifier | Constructor and Description |
|---|---|
|
ConnectionResponse(int tryLaterSeconds) |
|
ConnectionResponse(NodeIdentifier nodeIdentifier,
StandardDataFlow dataFlow,
boolean primary,
Integer managerRemoteInputPort,
Boolean managerRemoteCommsSecure,
String instanceId) |
private |
ConnectionResponse(String rejectionReason) |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionResponse |
createBlockedByFirewallResponse() |
static ConnectionResponse |
createConflictingNodeIdResponse(String otherNode) |
static ConnectionResponse |
createRejectionResponse(String explanation) |
String |
getClusterManagerDN() |
StandardDataFlow |
getDataFlow() |
String |
getInstanceId() |
Integer |
getManagerRemoteInputPort() |
NodeIdentifier |
getNodeIdentifier() |
String |
getRejectionReason() |
int |
getTryLaterSeconds() |
Boolean |
isManagerRemoteCommsSecure() |
boolean |
isPrimary() |
void |
setClusterManagerDN(String dn) |
boolean |
shouldTryLater() |
private final String rejectionReason
private final int tryLaterSeconds
private final NodeIdentifier nodeIdentifier
private final StandardDataFlow dataFlow
private final boolean primary
private final Integer managerRemoteInputPort
private final Boolean managerRemoteCommsSecure
private final String instanceId
private volatile String clusterManagerDN
public ConnectionResponse(NodeIdentifier nodeIdentifier, StandardDataFlow dataFlow, boolean primary, Integer managerRemoteInputPort, Boolean managerRemoteCommsSecure, String instanceId)
public ConnectionResponse(int tryLaterSeconds)
private ConnectionResponse(String rejectionReason)
public static ConnectionResponse createBlockedByFirewallResponse()
public static ConnectionResponse createConflictingNodeIdResponse(String otherNode)
public static ConnectionResponse createRejectionResponse(String explanation)
public boolean isPrimary()
public boolean shouldTryLater()
public String getRejectionReason()
public int getTryLaterSeconds()
public StandardDataFlow getDataFlow()
public NodeIdentifier getNodeIdentifier()
public Integer getManagerRemoteInputPort()
public Boolean isManagerRemoteCommsSecure()
public String getInstanceId()
public void setClusterManagerDN(String dn)
public String getClusterManagerDN()
null
otherwiseCopyright © 2017 Apache NiFi Project. All rights reserved.