public class SkylineStoreValidator extends Object
SkylineStore.| Constructor and Description |
|---|
SkylineStoreValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(RecurrenceId recurrenceId)
Check if recurrenceId is null.
|
void |
validate(RecurrenceId recurrenceId,
List<ResourceSkyline> resourceSkylines)
Check if recurrenceId is null or resourceSkylines is
null.
|
void |
validate(String pipelineId)
Check if pipelineId is null.
|
void |
validate(String pipelineId,
org.apache.hadoop.yarn.server.resourcemanager.reservation.RLESparseResourceAllocation resourceOverTime)
Check if pipelineId is null or resourceOverTime 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(String pipelineId) throws SkylineStoreException
pipelineId - the id of the recurring pipeline job.SkylineStoreException - if input parameters are invalid.public final void validate(RecurrenceId recurrenceId, 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(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 © 2019 Apache Software Foundation. All Rights Reserved.