|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.core.monitoring.GCUBEMessage
org.gcube.messaging.common.messages.NodeAccountingMessage<RECORD>
public class NodeAccountingMessage<RECORD extends IntervalRecord>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.gcube.common.core.monitoring.GCUBEMessage |
|---|
org.gcube.common.core.monitoring.GCUBEMessage.ResultType |
| Field Summary | |
|---|---|
static String |
nodeAccounting
topic base |
| Fields inherited from class org.gcube.common.core.monitoring.GCUBEMessage |
|---|
DATE_FORMAT_NOW, result, scope, sourceGHN, time, topic |
| Constructor Summary | |
|---|---|
NodeAccountingMessage()
|
|
| Method Summary | |
|---|---|
void |
createTopicName(org.gcube.common.core.scope.GCUBEScope scope)
create the topic name |
String |
getCallScope()
get the caller scope |
RECORD |
getRecord(String key)
Get a record given the IP key |
HashMap<String,RECORD> |
getRecords()
get the RECORD map |
String |
getServiceClass()
get the service class |
String |
getServiceName()
get the service Name |
void |
setCallScope(String callScope)
set the caller scope |
void |
setRecord(String key,
RECORD record)
set the record for the given IP |
void |
setRecords(HashMap<String,RECORD> records)
set the RECORD map |
void |
setServiceClass(String serviceClass)
set the service class |
void |
setServiceName(String serviceName)
set the service Name |
| Methods inherited from class org.gcube.common.core.monitoring.GCUBEMessage |
|---|
getResult, getScope, getSourceGHN, getTime, getTopic, setResult, setScope, setSourceGHN, setTime, setTimeNow, setTopic |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String nodeAccounting
| Constructor Detail |
|---|
public NodeAccountingMessage()
| Method Detail |
|---|
public String getServiceName()
public void setServiceName(String serviceName)
serviceName - public String getServiceClass()
public void setServiceClass(String serviceClass)
serviceClass - serviceClasspublic void createTopicName(org.gcube.common.core.scope.GCUBEScope scope)
scope - scopepublic String getCallScope()
public void setCallScope(String callScope)
callScope - callScopepublic HashMap<String,RECORD> getRecords()
public void setRecords(HashMap<String,RECORD> records)
records - the recordspublic RECORD getRecord(String key)
timeSlot - IP key
public void setRecord(String key,
RECORD record)
key - the IPrecord - the record
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||