public abstract class AbstractJobUsageRecord extends BasicUsageRecord
UsageRecord.OperationResult| Modifier and Type | Field and Description |
|---|---|
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 |
JOB_NAME
KEY for : Job Name
|
static String |
SERVICE_CLASS
KEY for : Service Class
|
static String |
SERVICE_NAME
KEY for : Service Class
|
CONSUMER_ID, OPERATION_RESULT, SCOPE| Constructor and Description |
|---|
AbstractJobUsageRecord() |
AbstractJobUsageRecord(Map<String,? extends Serializable> properties) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCallerQualifier() |
Long |
getDuration() |
String |
getHost() |
String |
getJobName() |
String |
getRecordType() |
String |
getServiceClass() |
String |
getServiceName() |
void |
setCallerQualifier(String callerQualifier) |
void |
setDuration(Long duration) |
void |
setHost(String host) |
void |
setJobName(String jobName) |
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 HOST
public static final String DURATION
public static final String SERVICE_CLASS
public static final String SERVICE_NAME
public static final String JOB_NAME
public static final String CALLER_QUALIFIER
public AbstractJobUsageRecord()
public AbstractJobUsageRecord(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 getJobName()
public void setJobName(String jobName) 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 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 © 2020. All Rights Reserved.