public class ServiceUsageRecord extends ServiceUsageRecord implements AggregatedUsageRecord<ServiceUsageRecord,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| Modifier | Constructor and Description |
|---|---|
|
ServiceUsageRecord() |
protected |
ServiceUsageRecord(Map<String,Serializable> properties) |
|
ServiceUsageRecord(ServiceUsageRecord record) |
| Modifier and Type | Method and Description |
|---|---|
ServiceUsageRecord |
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, setCalledMethod, setCallerHost, setDuration, setHost, setServiceClass, setServiceNamecompareTo, getAllFields, getClass, getConsumerId, getCreationTime, getEndTimeAsCalendar, getEndTimeInMillis, getId, getOperationResult, getRequiredFields, getResourceProperties, getResourceProperty, getScope, getStartTimeAsCalendar, getStartTimeInMillis, getUsageRecord, initializeValidation, setConsumerId, setCreationTime, setEndTime, setId, setOperationResult, setResourceProperties, setResourceProperty, setScope, setStartTime, timestampStringToCalendar, toString, validate, validateField, validatePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConsumerId, getCreationTime, getId, getOperationResult, getRequiredFields, getResourceProperties, getResourceProperty, getScope, 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 ServiceUsageRecord()
protected ServiceUsageRecord(Map<String,Serializable> properties) throws InvalidValueException
InvalidValueExceptionpublic ServiceUsageRecord(ServiceUsageRecord record) throws InvalidValueException
InvalidValueExceptionpublic int getOperationCount()
getOperationCount in class BasicUsageRecordpublic void setOperationCount(int operationCount)
throws InvalidValueException
setOperationCount in class BasicUsageRecordInvalidValueExceptionpublic long getMaxInvocationTime()
public void setMaxInvocationTime(long maxInvocationTime)
throws InvalidValueException
InvalidValueExceptionpublic long getMinInvocationTime()
public void setMinInvocationTime(long minInvocationTime)
throws InvalidValueException
InvalidValueExceptionpublic ServiceUsageRecord getAggregatedUsageRecord(ServiceUsageRecord usageRecord) throws InvalidValueException
getAggregatedUsageRecord in interface AggregatedUsageRecord<ServiceUsageRecord,ServiceUsageRecord>InvalidValueExceptionCopyright © 2015. All Rights Reserved.