public abstract class AbstractServiceUsageRecord extends BasicUsageRecord
UsageRecord.OperationResult| Modifier and Type | Field and Description |
|---|---|
static String |
CALLED_METHOD
KEY for : Called Method
|
static String |
CALLER_HOST
KEY for : hostname:port of the Hosting Node made the service call
|
static String |
CALLER_QUALIFIER
KEY for : callerQualifier
|
static String |
DURATION
KEY for : Duration
|
static String |
HOST
KEY for : hostname:port of the Hosting Node receiving the service call
|
static String |
SERVICE_CLASS
KEY for : Service Class
|
static String |
SERVICE_NAME
KEY for : Service Name
|
static String |
UNKNOWN |
CONSUMER_ID, OPERATION_RESULT, SCOPE| Constructor and Description |
|---|
AbstractServiceUsageRecord() |
AbstractServiceUsageRecord(Map<String,? extends Serializable> properties) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCalledMethod() |
String |
getCallerHost() |
String |
getCallerQualifier() |
Long |
getDuration() |
String |
getHost() |
String |
getRecordType() |
String |
getServiceClass() |
String |
getServiceName() |
void |
setCalledMethod(String calledMethod) |
void |
setCallerHost(String callerHost) |
void |
setCallerQualifier(String callerQualifier) |
void |
setDuration(Long duration) |
void |
setHost(String host) |
void |
setServiceClass(String serviceClass) |
void |
setServiceName(String serviceName) |
getConsumerId, getContextFromToken, getOperationResult, getQuerableKeys, getScope, init, setConsumerId, setOperationResult, setScopecleanExtraFields, compareTo, computeField, getAggregatedFields, getAllFields, getComputedFields, getCreationTime, getEndTimeAsCalendar, getEndTimeInMillis, getId, getOperationCount, getRequiredFields, getResourceProperties, getResourceProperty, getStartTimeAsCalendar, getStartTimeInMillis, initializeValidation, isAggregated, removeResourceProperty, setAggregated, setCreationTime, setEndTime, setId, setOperationCount, setResourceProperties, setResourceProperty, setStartTime, timestampToCalendar, toString, validate, validateField, validatePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComputedFields, getCreationTime, getId, getRequiredFields, getResourceProperties, getResourceProperty, removeResourceProperty, setCreationTime, setId, setResourceProperties, setResourceProperty, validatecompareTopublic static final String CALLER_HOST
public static final String HOST
public static final String SERVICE_CLASS
public static final String SERVICE_NAME
public static final String CALLED_METHOD
public static final String DURATION
public static final String CALLER_QUALIFIER
public static final String UNKNOWN
public AbstractServiceUsageRecord()
public AbstractServiceUsageRecord(Map<String,? extends Serializable> properties) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic String getRecordType()
getRecordType in interface org.gcube.documentstore.records.RecordgetRecordType in class BasicUsageRecordpublic String getCallerHost()
public void setCallerHost(String callerHost) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic String getHost()
public void setHost(String host) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic String getServiceClass()
public void setServiceClass(String serviceClass) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic String getServiceName()
public void setServiceName(String serviceName) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic String getCalledMethod()
public void setCalledMethod(String calledMethod) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic Long getDuration()
public void setDuration(Long duration) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic String getCallerQualifier()
public void setCallerQualifier(String callerQualifier) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionCopyright © 2018. All Rights Reserved.