private class DistributeLoad.RoundRobinStrategy extends Object implements DistributeLoad.DistributionStrategy
| Modifier and Type | Field and Description |
|---|---|
private AtomicLong |
counter |
| Modifier | Constructor and Description |
|---|---|
private |
RoundRobinStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Relationship |
mapToRelationship(ProcessContext context,
FlowFile flowFile) |
boolean |
requiresAllDestinationsAvailable() |
private final AtomicLong counter
public Relationship mapToRelationship(ProcessContext context, FlowFile flowFile)
mapToRelationship in interface DistributeLoad.DistributionStrategycontext - contextflowFile - flowFilenull if the needed relationships are not available to accept filespublic boolean requiresAllDestinationsAvailable()
requiresAllDestinationsAvailable in interface DistributeLoad.DistributionStrategyCopyright © 2023 Apache NiFi Project. All rights reserved.