public class AggregatedServiceUsageRecord extends AbstractServiceUsageRecord implements AggregatedUsageRecord<AggregatedServiceUsageRecord,ServiceUsageRecord>
UsageRecord.OperationResult| Modifier and Type | Field and Description |
|---|---|
static String |
DURATION |
static String |
MAX_INVOCATION_TIME |
static String |
MIN_INVOCATION_TIME |
CALLED_METHOD, CALLER_HOST, HOST, SERVICE_CLASS, SERVICE_NAMEAGGREGATED, aggregatedFields, computedFields, CONSUMER_ID, CREATION_TIME, END_TIME, ID, OPERATION_COUNT, OPERATION_RESULT, requiredFields, resourceProperties, SCOPE, START_TIME, USAGE_RECORD_TYPE, validationOPERATION_COUNT| Constructor and Description |
|---|
AggregatedServiceUsageRecord() |
AggregatedServiceUsageRecord(Map<String,Serializable> properties) |
AggregatedServiceUsageRecord(ServiceUsageRecord record) |
| Modifier and Type | Method and Description |
|---|---|
AggregatedServiceUsageRecord |
getAggregatedUsageRecord(ServiceUsageRecord usageRecord) |
long |
getMaxInvocationTime() |
long |
getMinInvocationTime() |
int |
getOperationCount() |
void |
setMaxInvocationTime(long maxInvocationTime) |
void |
setMinInvocationTime(long minInvocationTime) |
void |
setOperationCount(int operationCount) |
getCalledMethod, getCallerHost, getDuration, getHost, getServiceClass, getServiceName, giveMeUsageRecordType, setCalledMethod, setCallerHost, setDuration, setHost, setServiceClass, setServiceNamecompareTo, getAllFields, getClass, getConsumerId, getCreationTime, getEndTimeAsCalendar, getEndTimeInMillis, getId, getMapFromString, getOperationResult, getRequiredFields, getResourceProperties, getResourceProperty, getScope, getStartTimeAsCalendar, getStartTimeInMillis, getUsageRecord, getUsageRecord, getUsageRecordType, initializeValidation, setConsumerId, setCreationTime, setEndTime, setId, setOperationResult, setResourceProperties, setResourceProperty, setScope, setStartTime, setUsageRecordType, timestampStringToCalendar, toString, validate, validateField, validatePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConsumerId, getCreationTime, getId, getOperationResult, getRequiredFields, getResourceProperties, getResourceProperty, getScope, getUsageRecordType, setConsumerId, setCreationTime, setId, setOperationResult, setResourceProperties, setResourceProperty, setScope, validatecompareTopublic static final String DURATION
public static final String MAX_INVOCATION_TIME
public static final String MIN_INVOCATION_TIME
public AggregatedServiceUsageRecord()
public AggregatedServiceUsageRecord(Map<String,Serializable> properties) throws InvalidValueException
InvalidValueExceptionpublic AggregatedServiceUsageRecord(ServiceUsageRecord record) throws InvalidValueException
InvalidValueExceptionpublic int getOperationCount()
getOperationCount in interface AggregatedUsageRecord<AggregatedServiceUsageRecord,ServiceUsageRecord>getOperationCount in class BasicUsageRecordpublic void setOperationCount(int operationCount)
throws InvalidValueException
setOperationCount in interface AggregatedUsageRecord<AggregatedServiceUsageRecord,ServiceUsageRecord>setOperationCount in class BasicUsageRecordInvalidValueExceptionpublic long getMaxInvocationTime()
public void setMaxInvocationTime(long maxInvocationTime)
throws InvalidValueException
InvalidValueExceptionpublic long getMinInvocationTime()
public void setMinInvocationTime(long minInvocationTime)
throws InvalidValueException
InvalidValueExceptionpublic AggregatedServiceUsageRecord getAggregatedUsageRecord(ServiceUsageRecord usageRecord) throws InvalidValueException
getAggregatedUsageRecord in interface AggregatedUsageRecord<AggregatedServiceUsageRecord,ServiceUsageRecord>InvalidValueExceptionCopyright © 2015. All Rights Reserved.