|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.clif.analyze.lib.graph.DataProxyImpl
public class DataProxyImpl
The Class DataProxyImpl.
Field Summary |
---|
Fields inherited from interface org.ow2.clif.analyze.api.graph.DataSupplier |
---|
DATA_SUPPLIER, STAT_MAXIMUMS, STAT_MEANS, STAT_MINIMUMS, STAT_STD_DEVIATION |
Constructor Summary | |
---|---|
DataProxyImpl()
Instantiates a new data proxy impl. |
Method Summary | |
---|---|
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
long |
countValues(java.lang.String testName,
java.lang.String bladeId,
java.lang.String eventTypeLabel,
java.lang.String YFieldLabel)
Count values for the giving field label. |
java.lang.Object[][] |
getAllFieldsValues(java.lang.String testName,
java.lang.String bladeId,
java.lang.String eventTypeLabel,
java.lang.String XFieldLabel,
java.lang.String YFieldLabel,
int start,
int end,
int count)
Get all the values for a field from an event type, bladeId and test name |
BladeDescriptor[] |
getBladeDescriptor(java.lang.String testName,
BladeFilter filter)
Get the blade descriptor from a test and a blade filter |
BladeEvent[] |
getBladeEvents(java.lang.String testName,
java.lang.String bladeId,
java.lang.String eventTypeLabel,
EventFilter filter,
long fromIndex,
int count)
Get a bladeEvent array from a testName, a bladeId, an event |
java.lang.Object[][] |
getBladeEventsValues(BladeEvent[] bladeEventList,
java.lang.String XFieldLabel,
java.lang.String YFieldLabel)
Get 2 columns from a bladeEvent[] : use first getBladeEvents |
java.lang.String[] |
getBladesIds(java.lang.String testName)
Get the baldes' ids. |
java.lang.String[] |
getEventFieldLabels(java.lang.String testName,
java.lang.String bladeId,
java.lang.String eventTypeLabel)
Get the events fields labels. |
java.lang.String[] |
getEventsTypeLabels(java.lang.String testName,
java.lang.String bladeId)
Get the events labels. |
java.lang.Object[][] |
getFieldsValues(java.lang.String testName,
java.lang.String bladeId,
java.lang.String eventTypeLabel,
java.lang.String XFieldLabel,
java.lang.String YFieldLabel,
int start,
int end,
int count)
Get the values for the X and Y fields. |
long |
getLifecycleCompleted(java.lang.String testName,
java.lang.String bladeId)
Get the completed life-cycle for a blade in a test |
long |
getLifecycleRunning(java.lang.String testName,
java.lang.String bladeId)
Get the running life-cycle for a blade in a test |
long |
getMaxTimeFor(java.lang.String testName,
java.lang.String bladeId)
Gets the max time for. |
java.lang.Object[][] |
getMaxValues(java.lang.Object[][] values,
int timeWindow,
int step)
Gets the max values. |
java.lang.Object[][] |
getMeans(java.lang.Object[][] values,
int timeWindow,
int step)
Gets the means. |
java.lang.Object[][] |
getMinValues(java.lang.Object[][] values,
int timeWindow,
int step)
Gets the min values. |
java.lang.Object[][] |
getStandardDeviations(java.lang.Object[][] values,
int timeWindow,
int step)
Gets the standard deviation. |
java.util.Map |
getStatistics(java.lang.String testName,
java.lang.String bladeId,
java.lang.String eventTypeLabel,
java.lang.String XFieldLabel,
java.lang.String YFieldLabel,
int start,
int end,
int count)
Get statistic on the Y field. |
BladeDescriptor[] |
getTestPlan(java.lang.String testName,
BladeFilter filter)
Get the blade descriptors |
java.lang.String[] |
getTestsNames()
Get the tests' names. |
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
void |
unbindFc(java.lang.String clientItfName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataProxyImpl()
Method Detail |
---|
public long getLifecycleRunning(java.lang.String testName, java.lang.String bladeId)
DataSupplier
getLifecycleRunning
in interface DataSupplier
testName
- the test namebladeId
- the blade IDpublic long getLifecycleCompleted(java.lang.String testName, java.lang.String bladeId)
DataSupplier
getLifecycleCompleted
in interface DataSupplier
testName
- the test namebladeId
- the blade IDpublic java.lang.Object[][] getAllFieldsValues(java.lang.String testName, java.lang.String bladeId, java.lang.String eventTypeLabel, java.lang.String XFieldLabel, java.lang.String YFieldLabel, int start, int end, int count)
DataSupplier
getAllFieldsValues
in interface DataSupplier
testName
- the test namebladeId
- the blade IDeventTypeLabel
- the event type name/labelXFieldLabel
- the X fieldYFieldLabel
- the Y fieldstart
- the start timeend
- the end timecount
- the values count
public long countValues(java.lang.String testName, java.lang.String bladeId, java.lang.String eventTypeLabel, java.lang.String YFieldLabel)
DataSupplier
countValues
in interface DataSupplier
testName
- the test run namebladeId
- the blade ideventTypeLabel
- the event type labelYFieldLabel
- the Y field label
public java.lang.String[] getBladesIds(java.lang.String testName)
DataSupplier
getBladesIds
in interface DataSupplier
testName
- the test run name
public java.lang.String[] getEventFieldLabels(java.lang.String testName, java.lang.String bladeId, java.lang.String eventTypeLabel)
DataSupplier
getEventFieldLabels
in interface DataSupplier
testName
- the test run namebladeId
- the blade identifier from the given test runeventTypeLabel
- the label of the event type
public java.lang.String[] getEventsTypeLabels(java.lang.String testName, java.lang.String bladeId)
DataSupplier
getEventsTypeLabels
in interface DataSupplier
testName
- the test run namebladeId
- the blade identifier
public java.lang.Object[][] getFieldsValues(java.lang.String testName, java.lang.String bladeId, java.lang.String eventTypeLabel, java.lang.String XFieldLabel, java.lang.String YFieldLabel, int start, int end, int count)
DataSupplier
getFieldsValues
in interface DataSupplier
testName
- the test run namebladeId
- the blade identifier from the given test runeventTypeLabel
- the label of the event typeXFieldLabel
- the label of the X fieldYFieldLabel
- the label of the Y fieldstart
- the startend
- the endcount
- the count
public java.lang.Object[][] getMaxValues(java.lang.Object[][] values, int timeWindow, int step)
DataSupplier
getMaxValues
in interface DataSupplier
values
- the valuestimeWindow
- the time windowstep
- the step
public java.lang.Object[][] getMeans(java.lang.Object[][] values, int timeWindow, int step)
DataSupplier
getMeans
in interface DataSupplier
values
- the valuestimeWindow
- the windowstep
- the step
public java.lang.Object[][] getMinValues(java.lang.Object[][] values, int timeWindow, int step)
DataSupplier
getMinValues
in interface DataSupplier
values
- the valuestimeWindow
- the time windowstep
- the step
public java.lang.Object[][] getStandardDeviations(java.lang.Object[][] values, int timeWindow, int step)
DataSupplier
getStandardDeviations
in interface DataSupplier
values
- the valuestimeWindow
- the windowstep
- the step
public java.util.Map getStatistics(java.lang.String testName, java.lang.String bladeId, java.lang.String eventTypeLabel, java.lang.String XFieldLabel, java.lang.String YFieldLabel, int start, int end, int count)
DataSupplier
getStatistics
in interface DataSupplier
testName
- the test run namebladeId
- the blade identifier from the given test runeventTypeLabel
- the label of the event typeXFieldLabel
- the label of the X fieldYFieldLabel
- the label of the Y fieldstart
- the startend
- the endcount
- the count
public java.lang.String[] getTestsNames()
DataSupplier
getTestsNames
in interface DataSupplier
public long getMaxTimeFor(java.lang.String testName, java.lang.String bladeId)
DataSupplier
getMaxTimeFor
in interface DataSupplier
testName
- the test namebladeId
- the blade id
public BladeDescriptor[] getTestPlan(java.lang.String testName, BladeFilter filter)
DataSupplier
getTestPlan
in interface DataSupplier
testName
- the test namefilter
- the blade filter, null means no filter
public BladeEvent[] getBladeEvents(java.lang.String testName, java.lang.String bladeId, java.lang.String eventTypeLabel, EventFilter filter, long fromIndex, int count) throws ClifException
DataSupplier
getBladeEvents
in interface DataSupplier
ClifException
public java.lang.Object[][] getBladeEventsValues(BladeEvent[] bladeEventList, java.lang.String XFieldLabel, java.lang.String YFieldLabel)
DataSupplier
getBladeEventsValues
in interface DataSupplier
public BladeDescriptor[] getBladeDescriptor(java.lang.String testName, BladeFilter filter)
DataSupplier
getBladeDescriptor
in interface DataSupplier
public void bindFc(java.lang.String clientItfName, java.lang.Object serverItf) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException
bindFc
in interface org.objectweb.fractal.api.control.BindingController
org.objectweb.fractal.api.NoSuchInterfaceException
org.objectweb.fractal.api.control.IllegalBindingException
org.objectweb.fractal.api.control.IllegalLifeCycleException
public java.lang.String[] listFc()
listFc
in interface org.objectweb.fractal.api.control.BindingController
public java.lang.Object lookupFc(java.lang.String clientItfName) throws org.objectweb.fractal.api.NoSuchInterfaceException
lookupFc
in interface org.objectweb.fractal.api.control.BindingController
org.objectweb.fractal.api.NoSuchInterfaceException
public void unbindFc(java.lang.String clientItfName) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException
unbindFc
in interface org.objectweb.fractal.api.control.BindingController
org.objectweb.fractal.api.NoSuchInterfaceException
org.objectweb.fractal.api.control.IllegalBindingException
org.objectweb.fractal.api.control.IllegalLifeCycleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |