Package de.elo.ix.client.health
Class HealthCheckInfo
java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.health.HealthCheckInfo
- All Implemented Interfaces:
Serializable
This class represents one value for health check evaluation.
- Since:
- 10.00.020.015
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected double
Numeric value.protected long
Maximaler Wert für mean values.protected long
Minimaler Wert für mean values.protected String
Value name.protected HealthCheckValueOperation
Operation to process when updating the value.protected long
Sample size for mean values.protected String
String value.protected String
protected HealthCheckInfoType
Type defining interpretation of the given data.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
-
Constructor Summary
ConstructorsConstructorDescriptionHealthCheckInfo
(String name, double doubleValue) HealthCheckInfo
(String name, double doubleValue, int sampleSize) HealthCheckInfo
(String name, double meanValue, long minValue, long maxValue, int sampleSize) Constructor for a HCI of the type MinMaxAvgHealthCheckInfo
(String name, double meanValue, long minValue, long maxValue, int sampleSize, HealthCheckInfoType hciType) Creates a HealthCheckInfo with the givenHealthCheckInfo
(String name, double doubleValue, HealthCheckInfoType hciType) EIX-1408HealthCheckInfo
(String name, double doubleValue, HealthCheckInfoType hciType, String timeStamp) HealthCheckInfo
(String name, String stringValue) HealthCheckInfo
(String name, String stringValue, HealthCheckInfoType hciType) EIX-1408 -
Method Summary
Modifier and TypeMethodDescriptiondouble
long
long
getName()
long
getType()
EIX-1408 added HealthCheckInfoType.void
setDoubleValue
(double doubleValue) void
setMaxValue
(long maxValue) void
setMinValue
(long minValue) void
void
setOperation
(HealthCheckValueOperation operation) void
setSampleSize
(long sampleSize) void
setStringValue
(String stringValue) void
setTimeStamp
(String timeStamp) void
setType
(HealthCheckInfoType type) static HealthCheckInfoType
toString()
Kurzfassung von toString für Logging EIX-1803static String
"Übersetzt" die HCS-Typen für Logging EIX-1803void
updateCounterValue
(double counter) Update eines Counter-Valuesvoid
updateMeanValue
(double meanValue) Update eines Mean Values.void
updateMeanValues
(double meanValue, long sampleSize, double min, double max) void
void
updateMeanValueWithSampleSize
(double meanValue, long sampleSize) Update eines Mean Value mit Sample Size EIX-2120Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
name
Value name. -
timeStamp
- Since:
- 20.00.000.002
-
stringValue
String value. Either this ordoubleValue
has to be set. -
doubleValue
protected double doubleValueNumeric value. Either this value orstringValue
has to be set. -
sampleSize
protected long sampleSizeSample size for mean values. IfdoubleValue
is a arithmetic mean, this value gives the number of the underlying samples. IfstringValue
is set, this value has to be 0. -
minValue
protected long minValueMinimaler Wert für mean values.EIX-1408
- Since:
- 20.00.000.001
-
maxValue
protected long maxValueMaximaler Wert für mean values.EIX-1408
- Since:
- 20.00.000.001
-
operation
Operation to process when updating the value.- Since:
- 10.00.020.016
-
type
Type defining interpretation of the given data.EIX-1408
- Since:
- 20.00.000.001
-
-
Constructor Details
-
HealthCheckInfo
public HealthCheckInfo() -
HealthCheckInfo
-
HealthCheckInfo
-
HealthCheckInfo
-
HealthCheckInfo
Constructor for a HCI of the type MinMaxAvgEIX-1408
- Parameters:
name
-meanValue
-minValue
-maxValue
-sampleSize
-- Since:
- 20.00.000.001
-
HealthCheckInfo
-
HealthCheckInfo
EIX-1408
- Parameters:
name
-doubleValue
-hciType
-- Since:
- 20.00.000.001
-
HealthCheckInfo
public HealthCheckInfo(String name, double doubleValue, HealthCheckInfoType hciType, String timeStamp) -
HealthCheckInfo
public HealthCheckInfo(String name, double meanValue, long minValue, long maxValue, int sampleSize, HealthCheckInfoType hciType) Creates a HealthCheckInfo with the givenEIX-1408
- Parameters:
name
-meanValue
-minValue
-maxValue
-sampleSize
-hciType
-- Since:
- 20.00.000.001
-
HealthCheckInfo
EIX-1408
- Parameters:
name
-stringValue
-hciType
-- Since:
- 20.00.000.001
-
-
Method Details
-
updateMeanValue
public void updateMeanValue(double meanValue) Update eines Mean Values. Berechnet wird der neue Mean Value sowie Min- und Max Werte.EIX-1408
- Since:
- 20.00.000.001
-
updateMeanValueWithSampleSize
public void updateMeanValueWithSampleSize(double meanValue, long sampleSize) Update eines Mean Value mit Sample Size EIX-2120- Parameters:
meanValue
-sampleSize
-
-
updateMeanValues
public void updateMeanValues(double meanValue, long sampleSize, double min, double max) -
updateMeanValues
-
updateCounterValue
public void updateCounterValue(double counter) Update eines Counter-ValuesEIX-1408
- Since:
- 20.00.000.001
-
getName
-
setName
-
getStringValue
-
setStringValue
-
getDoubleValue
public double getDoubleValue() -
setDoubleValue
public void setDoubleValue(double doubleValue) -
getSampleSize
public long getSampleSize() -
setSampleSize
public void setSampleSize(long sampleSize) -
getOperation
-
setOperation
-
getType
EIX-1408 added HealthCheckInfoType. Ich denke hier sollte der Type zurückgegeben werden...- Returns:
-
setType
-
getMinValue
public long getMinValue() -
setMinValue
public void setMinValue(long minValue) -
getMaxValue
public long getMaxValue() -
setMaxValue
public void setMaxValue(long maxValue) -
toString
-
toStringShort
Kurzfassung von toString für Logging EIX-1803- Returns:
-
translateTypes
"Übersetzt" die HCS-Typen für Logging EIX-1803- Parameters:
type
-- Returns:
-
stringToHealthCheckInfoType
-
getTimeStamp
-
setTimeStamp
-