org.jboss.dashboard.dataset.profiler
Class DataSetLoadConstraints
java.lang.Object
org.jboss.dashboard.dataset.profiler.DataSetLoadConstraints
- All Implemented Interfaces:
- RuntimeConstraint
public class DataSetLoadConstraints
- extends Object
- implements RuntimeConstraint
Runtime constraints addressed to guarantee that data set load operations never exceed the max memory/time thresholds set.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dataSetRef
protected WeakReference<DataSet> dataSetRef
startMemory
protected long startMemory
startTime
protected long startTime
DataSetLoadConstraints
public DataSetLoadConstraints(DataSet dataSet)
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
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.