public class DoiMonitoringRecord extends Object
| Modifier and Type | Field and Description |
|---|---|
private float |
average
Current average time to access this service *
|
private String |
description
Description (name) of the service to record *
|
private int |
nbAccess
Nb of values to compute the average *
|
| Constructor and Description |
|---|
DoiMonitoringRecord(String description,
float average,
int nbAccess)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getAverage()
Returns the average speed of the request.
|
String |
getDescription()
Returns the service description.
|
int |
getNbAccess()
Returns the number of access.
|
void |
setAverage(float average)
Sets the average speed of the request.
|
void |
setDescription(String description)
Sets the service description.
|
void |
setNbAccess(int nbAccess)
Sets the number of access.
|
private String description
private float average
private int nbAccess
public DoiMonitoringRecord(String description, float average, int nbAccess)
description - Service descriptionaverage - Average speed of the requestnbAccess - Number of accesspublic String getDescription()
public void setDescription(String description)
description - the description to setpublic float getAverage()
public void setAverage(float average)
average - the average to setpublic int getNbAccess()
public void setNbAccess(int nbAccess)
nbAccess - the nbAccess to setCopyright © 2017–2020 CNES. All rights reserved.