public class OperatorValidationUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
validateMaxParallelism(int maxParallelism) |
static void |
validateMaxParallelism(int maxParallelism,
boolean canBeParallel) |
static void |
validateMaxParallelism(int maxParallelism,
int upperBound) |
static void |
validateMaxParallelism(int maxParallelism,
int upperBound,
boolean canBeParallel) |
static void |
validateMinAndPreferredResources(ResourceSpec minResources,
ResourceSpec preferredResources) |
static void |
validateParallelism(int parallelism) |
static void |
validateParallelism(int parallelism,
boolean canBeParallel) |
static void |
validateResources(ResourceSpec resources) |
public static void validateParallelism(int parallelism)
public static void validateParallelism(int parallelism, boolean canBeParallel)
public static void validateMaxParallelism(int maxParallelism)
public static void validateMaxParallelism(int maxParallelism, int upperBound)
public static void validateMaxParallelism(int maxParallelism, boolean canBeParallel)
public static void validateMaxParallelism(int maxParallelism, int upperBound, boolean canBeParallel)
public static void validateResources(ResourceSpec resources)
public static void validateMinAndPreferredResources(ResourceSpec minResources, ResourceSpec preferredResources)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.