public class SkylineStoreValidator
extends java.lang.Object
SkylineStore.| Constructor | Description |
|---|---|
SkylineStoreValidator() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
validate(java.lang.String pipelineId) |
Check if pipelineId is null.
|
void |
validate(java.lang.String pipelineId,
org.apache.hadoop.yarn.server.resourcemanager.reservation.RLESparseResourceAllocation resourceOverTime) |
Check if pipelineId is null or resourceOverTime is null.
|
void |
validate(RecurrenceId recurrenceId) |
Check if recurrenceId is null.
|
void |
validate(RecurrenceId recurrenceId,
java.util.List<ResourceSkyline> resourceSkylines) |
Check if recurrenceId is null or resourceSkylines is
null.
|
public final void validate(RecurrenceId recurrenceId) throws SkylineStoreException
recurrenceId - the id of the recurring pipeline job.SkylineStoreException - if input parameters are invalid.public final void validate(java.lang.String pipelineId)
throws SkylineStoreException
pipelineId - the id of the recurring pipeline job.SkylineStoreException - if input parameters are invalid.public final void validate(RecurrenceId recurrenceId, java.util.List<ResourceSkyline> resourceSkylines) throws SkylineStoreException
recurrenceId - the id of the recurring pipeline job.resourceSkylines - the list of ResourceSkylines to be added.SkylineStoreException - if input parameters are invalid.public final void validate(java.lang.String pipelineId,
org.apache.hadoop.yarn.server.resourcemanager.reservation.RLESparseResourceAllocation resourceOverTime)
throws SkylineStoreException
pipelineId - the id of the recurring pipeline.resourceOverTime - predicted Resource allocation to be added.SkylineStoreException - if input parameters are invalid.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.