Dashboard Builder Data Provider API 6.2.0.CR2

org.jboss.dashboard.dataset.profiler
Class DataSetGroupByConstraints

java.lang.Object
  extended by org.jboss.dashboard.dataset.profiler.DataSetGroupByConstraints
All Implemented Interfaces:
RuntimeConstraint

public class DataSetGroupByConstraints
extends Object
implements RuntimeConstraint

Runtime constraints addressed to guarantee that data set group-by operations never exceed the max. time set.


Field Summary
protected  WeakReference<DataSet> dataSetRef
           
protected  long startTime
           
 
Constructor Summary
DataSetGroupByConstraints(DataSet dataSet)
           
 
Method Summary
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataSetRef

protected WeakReference<DataSet> dataSetRef

startTime

protected long startTime
Constructor Detail

DataSetGroupByConstraints

public DataSetGroupByConstraints(DataSet dataSet)
Method Detail

validate

public void validate()
              throws Exception
Specified by:
validate in interface RuntimeConstraint
Throws:
DataSetException - In case any it doesn't meet the thresholds set.
Exception

Dashboard Builder Data Provider API 6.2.0.CR2

Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.