Dashboard Builder Data Provider API 6.0.1-SNAPSHOT

org.jboss.dashboard.dataset.profiler
Class DataSetSortConstraints

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

public class DataSetSortConstraints
extends Object
implements RuntimeConstraint

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


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

DataSetSortConstraints

public DataSetSortConstraints(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.0.1-SNAPSHOT

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