public class ServiceUsageRecord extends ServiceUsageRecord implements AggregatedUsageRecord<ServiceUsageRecord>
UsageRecord.OperationResult| Modifier and Type | Field and Description |
|---|---|
protected static String |
AVERAGE_INVOCATION_COUNT |
protected static String |
INVOCATION_COUNT |
CALLER_IP, CALLER_SCOPE, DOMAIN, DURATION, REF_HOST, REF_VM, SERVICE_CLASS, SERVICE_NAMEAGGREGATED, AGGREGATED_USAGE_RECORD_ID, aggregatedFields, computedFields, CONSUMER_ID, CREATION_TIME, CREATOR_ID, END_TIME, ID, OPERATION_RESULT, requiredFields, RESOURCE_SCOPE, resourceProperties, START_TIME, USAGE_RECORD_TYPE, validation| Constructor and Description |
|---|
ServiceUsageRecord() |
ServiceUsageRecord(Map<String,Serializable> properties) |
| Modifier and Type | Method and Description |
|---|---|
List<ServiceUsageRecord> |
aggregate(List<ServiceUsageRecord> records) |
String |
getAverageInvocationTime() |
String |
getInvocationCount() |
void |
setAverageInvocationTime(String averageInvocationTime) |
void |
setInvocationCount(String invocationCount) |
getCallerIP, getCallerScope, getDuration, getRefHost, getRefVM, getServiceClass, getServiceName, setCallerIP, setCallerScope, setDuration, setRefHost, setRefVM, setServiceClass, setServiceNamecompareTo, getAggregatedUsageRecordId, getClass, getConsumerId, getCreationTime, getCreatorId, getEndTimeAsCalendar, getId, getOperationResult, getResourceProperties, getResourceProperty, getResourceScope, getStartTimeAsCalendar, getUsageRecord, initializeValidation, setAggregatedUsageRecordId, setConsumerId, setCreationTime, setCreatorId, setEndTime, setId, setOperationResult, setResourceProperties, setResourceProperty, setResourceScope, setStartTime, timestampStringToCalendar, toString, validate, validateField, validatePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAggregatedUsageRecordId, setAggregatedUsageRecordIdgetConsumerId, getCreationTime, getCreatorId, getId, getOperationResult, getResourceProperties, getResourceProperty, getResourceScope, setConsumerId, setCreationTime, setCreatorId, setId, setOperationResult, setResourceProperties, setResourceProperty, setResourceScope, validatecompareToprotected static final String INVOCATION_COUNT
protected static final String AVERAGE_INVOCATION_COUNT
public ServiceUsageRecord()
public ServiceUsageRecord(Map<String,Serializable> properties) throws InvalidValueException
InvalidValueExceptionpublic String getInvocationCount()
public void setInvocationCount(String invocationCount) throws InvalidValueException
InvalidValueExceptionpublic String getAverageInvocationTime()
public void setAverageInvocationTime(String averageInvocationTime) throws InvalidValueException
InvalidValueExceptionpublic List<ServiceUsageRecord> aggregate(List<ServiceUsageRecord> records)
aggregate in interface AggregatedUsageRecord<ServiceUsageRecord>Copyright © 2015. All Rights Reserved.