public ConnectionStatus clone()

in src/main/java/org/apache/nifi/controller/status/ConnectionStatus.java [234:263]


    public ConnectionStatus clone() {
        final ConnectionStatus clonedObj = new ConnectionStatus();
        clonedObj.groupId = groupId;
        clonedObj.id = id;
        clonedObj.loadBalanceStatus = loadBalanceStatus;
        clonedObj.inputBytes = inputBytes;
        clonedObj.inputCount = inputCount;
        clonedObj.name = name;
        clonedObj.outputBytes = outputBytes;
        clonedObj.outputCount = outputCount;
        clonedObj.queuedBytes = queuedBytes;
        clonedObj.queuedCount = queuedCount;
        clonedObj.sourceId = sourceId;
        clonedObj.sourceName = sourceName;
        clonedObj.destinationId = destinationId;
        clonedObj.destinationName = destinationName;
        clonedObj.flowFileAvailability = flowFileAvailability;

        if (predictions != null) {
            clonedObj.setPredictions(predictions.clone());
        }

        clonedObj.backPressureDataSizeThreshold = backPressureDataSizeThreshold;
        clonedObj.backPressureObjectThreshold = backPressureObjectThreshold;
        clonedObj.maxQueuedBytes = maxQueuedBytes;
        clonedObj.maxQueuedCount = maxQueuedCount;
        clonedObj.totalQueuedDuration = totalQueuedDuration;
        clonedObj.maxQueuedDuration = maxQueuedDuration;
        return clonedObj;
    }