public static class ConnectorSplitManager.SplitSchedulingContext extends Object
| Constructor and Description |
|---|
SplitSchedulingContext(ConnectorSplitManager.SplitSchedulingStrategy splitSchedulingStrategy,
boolean schedulerUsesHostAddresses,
WarningCollector warningCollector) |
| Modifier and Type | Method and Description |
|---|---|
ConnectorSplitManager.SplitSchedulingStrategy |
getSplitSchedulingStrategy() |
WarningCollector |
getWarningCollector() |
boolean |
schedulerUsesHostAddresses() |
public SplitSchedulingContext(ConnectorSplitManager.SplitSchedulingStrategy splitSchedulingStrategy, boolean schedulerUsesHostAddresses, WarningCollector warningCollector)
splitSchedulingStrategy - the method by which splits are scheduledschedulerUsesHostAddresses - whether host addresses are take into account
when choosing where to schedule remotely accessible splits. If this is false,
the connector can return an empty list of addresses for remotely accessible
splits without any performance loss. Non-remotely accessible splits always
need to provide host addresses.public ConnectorSplitManager.SplitSchedulingStrategy getSplitSchedulingStrategy()
public boolean schedulerUsesHostAddresses()
public WarningCollector getWarningCollector()
Copyright © 2012–2022. All rights reserved.