Class ServiceUsageRecord
- java.lang.Object
-
- org.gcube.documentstore.records.implementation.AbstractRecord
-
- org.gcube.accounting.datamodel.BasicUsageRecord
-
- org.gcube.accounting.datamodel.basetypes.AbstractServiceUsageRecord
-
- org.gcube.accounting.datamodel.usagerecords.ServiceUsageRecord
-
- All Implemented Interfaces:
Serializable,Comparable<org.gcube.documentstore.records.Record>,UsageRecord,org.gcube.documentstore.records.Record
public class ServiceUsageRecord extends AbstractServiceUsageRecord
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gcube.accounting.datamodel.UsageRecord
UsageRecord.OperationResult
-
-
Field Summary
-
Fields inherited from class org.gcube.accounting.datamodel.basetypes.AbstractServiceUsageRecord
CALLED_METHOD, CALLER_HOST, CALLER_QUALIFIER, DURATION, HOST, SERVICE_CLASS, SERVICE_NAME, UNKNOWN
-
Fields inherited from class org.gcube.accounting.datamodel.BasicUsageRecord
CONSUMER_ID, OPERATION_RESULT, SCOPE
-
-
Constructor Summary
Constructors Constructor Description ServiceUsageRecord()ServiceUsageRecord(Map<String,? extends Serializable> properties)
-
Method Summary
-
Methods inherited from class org.gcube.accounting.datamodel.basetypes.AbstractServiceUsageRecord
getCalledMethod, getCallerHost, getCallerQualifier, getDuration, getHost, getRecordType, getServiceClass, getServiceName, setCalledMethod, setCallerHost, setCallerQualifier, setDuration, setHost, setServiceClass, setServiceName
-
Methods inherited from class org.gcube.accounting.datamodel.BasicUsageRecord
getConsumerId, getOperationResult, getQuerableKeys, getScope, init, setConsumerId, setOperationResult, setScope
-
Methods inherited from class org.gcube.documentstore.records.implementation.AbstractRecord
cleanExtraFields, 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, validateProperties
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Constructor Detail
-
ServiceUsageRecord
public ServiceUsageRecord()
-
ServiceUsageRecord
public ServiceUsageRecord(Map<String,? extends Serializable> properties) throws org.gcube.documentstore.exception.InvalidValueException
- Throws:
org.gcube.documentstore.exception.InvalidValueException
-
-