public class NodeAccountingMessage<RECORD extends IntervalRecord> extends GCUBEMessage
GCUBEMessage.ResultType| Modifier and Type | Field and Description |
|---|---|
static String |
nodeAccounting
topic base
|
DATE_FORMAT_NOW, result, scope, sourceGHN, time, topic| Constructor and Description |
|---|
NodeAccountingMessage() |
| Modifier and Type | Method and Description |
|---|---|
void |
createTopicName(String 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
|
getResult, getScope, getSourceGHN, getTime, getTopic, setResult, setScope, setSourceGHN, setTime, setTimeNow, setTopicpublic static final String nodeAccounting
public String getServiceName()
public void setServiceName(String serviceName)
serviceName - public String getServiceClass()
public void setServiceClass(String serviceClass)
serviceClass - serviceClasspublic void createTopicName(String scope)
scope - scopepublic String getCallScope()
public void setCallScope(String callScope)
callScope - callScopepublic void setRecords(HashMap<String,RECORD> records)
records - the recordspublic RECORD getRecord(String key)
timeSlot - IP keyCopyright © 2016. All Rights Reserved.