Dashboard Builder Data Provider API 6.2.0.Final

org.jboss.dashboard.dataset.profiler
Class DataSetFilterConstraints

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

public class DataSetFilterConstraints
extends Object
implements RuntimeConstraint

Runtime constraints addressed to guarantee that data set filter operations never exceed the max. time set.


Field Summary
protected  WeakReference<DataSet> dataSetRef
           
protected  long startTime
           
 
Constructor Summary
DataSetFilterConstraints(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

DataSetFilterConstraints

public DataSetFilterConstraints(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.Final

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