diff options
author | 2018-03-16 00:14:23 -0400 | |
---|---|---|
committer | 2018-03-16 00:15:39 -0400 | |
commit | b431b6eb7a365fc839dd8a1e8e7034b07e4377a0 (patch) | |
tree | d3bba9cf37c7689d09353de71d172853c79edfbc /veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary | |
parent | 8b805372218d73a26057cbe59e07ff53f26226db (diff) |
Fix scaling measurement and sonar cover
Issue-ID: VNFSDK-217
Change-Id: I2a6ec5ed2aa9e29e72d76138f40b4f6fd142c214
Signed-off-by: Gokul SIngaraju <gs244f@att.com>
Diffstat (limited to 'veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary')
-rw-r--r-- | veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelScalingMeasurement.java | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelScalingMeasurement.java b/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelScalingMeasurement.java index bcbcd20..8645427 100644 --- a/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelScalingMeasurement.java +++ b/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelScalingMeasurement.java @@ -449,7 +449,7 @@ public class EvelScalingMeasurement extends EvelHeader { * @param concurrent_sessions The Concurrent Sessions to be set.
*****************************************************************************/
- public void evel_measurement_conc_sess_set(int conc_sessions)
+ public void evel_measurement_concurrent_sessions_set(int conc_sessions)
{
EVEL_ENTER();
@@ -474,8 +474,7 @@ public class EvelScalingMeasurement extends EvelHeader { * @param configured_entities The Configured Entities to be set.
*****************************************************************************/
- public void evel_measurement_cfg_ents_set(EvelScalingMeasurement measurement,
- int config_entities)
+ public void evel_measurement_config_entities_set(int config_entities)
{
EVEL_ENTER();
@@ -1273,6 +1272,26 @@ public class EvelScalingMeasurement extends EvelHeader { disk_use.mergewritemin.SetValuePr(val, "Disk writemin set");
EVEL_EXIT();
}
+ /**************************************************************************//**
+ * Set number of logical write operations that were merged into physical read
+ * operations, e.g., two logical writes were served by one physical disk access;
+ * provide the maximum measurement within the measurement interval
+ *
+ * @note The property is treated as immutable: it is only valid to call
+ * the setter once. However, we don't assert if the caller tries to
+ * overwrite, just ignoring the update instead.
+ *
+ * @param disk_use Pointer to the Disk Use.
+ * @param val double
+ *****************************************************************************/
+ public void evel_measurement_disk_use_mergewriteavg_set(MEASUREMENT_DISK_USE disk_use,
+ double val)
+ {
+ EVEL_ENTER();
+ disk_use.mergewriteavg.SetValuePr(val, "Disk writeavg set");
+ EVEL_EXIT();
+ }
+
/**************************************************************************//**
* Set number of octets per second read from a disk or partition;
@@ -3524,7 +3543,7 @@ public class EvelScalingMeasurement extends EvelHeader { builder.add(obj.build());
}
- evelmeasmt.add("vNicUsageArray", builder);
+ evelmeasmt.add("vNicPerformanceArray", builder);
}
|