public class ServiceUsageRecord extends BasicUsageRecord implements SingleUsageRecord
UsageRecord.OperationResult| Modifier and Type | Field and Description |
|---|---|
protected static String |
AVERAGE_INVOCATION_COUNT |
static String |
CALLER_IP |
static String |
CALLER_SCOPE |
protected static String |
DOMAIN |
static String |
DURATION |
protected static String |
INVOCATION_COUNT |
static String |
REF_HOST |
static String |
REF_VM |
static String |
SERVICE_CLASS |
static String |
SERVICE_NAME |
AGGREGATED, 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 |
|---|---|
String |
getCallerIP() |
String |
getCallerScope() |
Long |
getDuration() |
String |
getRefHost() |
String |
getRefVM() |
String |
getServiceClass() |
String |
getServiceName() |
void |
setCallerIP(String callerIP) |
void |
setCallerScope(String callerScope) |
void |
setDuration(Long duration) |
void |
setRefHost(String refHost) |
void |
setRefVM(String refVM) |
void |
setServiceClass(String serviceClass) |
void |
setServiceName(String serviceName) |
compareTo, 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, getConsumerId, getCreationTime, getCreatorId, getId, getOperationResult, getResourceProperties, getResourceProperty, getResourceScope, setAggregatedUsageRecordId, setConsumerId, setCreationTime, setCreatorId, setId, setOperationResult, setResourceProperties, setResourceProperty, setResourceScope, validatecompareTopublic static final String CALLER_IP
public static final String CALLER_SCOPE
public static final String REF_HOST
public static final String REF_VM
protected static final String DOMAIN
protected static final String INVOCATION_COUNT
protected static final String AVERAGE_INVOCATION_COUNT
public static final String SERVICE_CLASS
public static final String SERVICE_NAME
public static final String DURATION
public ServiceUsageRecord()
public ServiceUsageRecord(Map<String,Serializable> properties) throws InvalidValueException
InvalidValueExceptionpublic String getCallerIP()
public void setCallerIP(String callerIP) throws InvalidValueException
InvalidValueExceptionpublic String getCallerScope()
public void setCallerScope(String callerScope) throws InvalidValueException
InvalidValueExceptionpublic String getRefHost()
public void setRefHost(String refHost) throws InvalidValueException
InvalidValueExceptionpublic String getRefVM()
public void setRefVM(String refVM) throws InvalidValueException
InvalidValueExceptionpublic String getServiceClass()
public void setServiceClass(String serviceClass) throws InvalidValueException
InvalidValueExceptionpublic String getServiceName()
public void setServiceName(String serviceName) throws InvalidValueException
InvalidValueExceptionpublic Long getDuration()
public void setDuration(Long duration) throws InvalidValueException
InvalidValueExceptionCopyright © 2015. All Rights Reserved.