public interface FrameworkIntf extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
addInProcess()
This method will add 1 to the total message in process.
|
void |
addTotalErrorNumber()
This method will add 1 to the total error number.
|
void |
addTotalMsgNumber()
This method will add 1 to the total message received.
|
void |
addTotalProcessed()
This method will add 1 to the total number of message processed.
|
void |
deRegister(FrameworkIntf aFramework)
This method is called to de-register the service
|
void |
doEventMessage(MessageIntf aData)
This method is called to send the service event message
|
void |
doMessage(MessageIntf aData)
This method is called to send the service status message
|
long |
getInProcess()
This method will return the Total Number of Messages in process.
|
String |
getJvmId() |
FrameworkIntf |
getJvmService() |
String |
getName() |
MessageIntf |
getStats()
This method is called to send a snapshot of performance data
|
long |
getTotalErrorNumber()
This method will return the Total Number of Errors processed.
|
long |
getTotalMsgNumber()
This method will return the Total Number of Messages received.
|
long |
getTotalProcessed()
This method will return the Total Number of Messages processed.
|
void |
initMessage(MessageIntf aData) |
boolean |
isActive() |
boolean |
isRunning() |
void |
register(FrameworkIntf aFramework)
This method is called to register the service
|
void |
resetTotals() |
void |
setActive(boolean aFlag) |
void |
setRunning(boolean aFlag) |
void |
subtractInProcess()
This method will add 1 to the total message in process.
|
static final Integer TYPE_JVM
static final int TYPE_SERVER
static final int TYPE_CLUSTER
static final int TYPE_SERVICE
static final int TYPE_EVENT
static final int TYPE_MAX
static final String TYPE_JVM_STR
static final String PARAM_JVM_STR
static final String PARAM_JVMID_STR
static final String PARAM_SERVICENAME_STR
static final String PARAM_SERVICERUNNING_STR
static final String PARAM_SERVICEACTIVE_STR
static final String PARAM_SERVICECATAGORY_STR
static final String PARAM_SERVERNAME_STR
static final Boolean FLAG_TRUE
static final Boolean FLAG_FALSE
static final String[] TYPE_DISPLAY_STR
static final String COMMAND_DEREGISTER_KEY
static final String COMMAND_RESTART
static final String COMMAND_REGISTER_KEY
static final String COMMAND_PAUSE
static final String COMMAND_SHUTDOWN
static final String COMMAND_START
static final String COMMAND_STOP
static final String CATEGROY_ADAPTER
static final String CATEGROY_WORKER
static final String CATEGROY_APP
static final String CATEGROY_ENGINE
static final String CATEGROY_THREAD_MGR
static final String CATEGROY_POOL_MGR
static final String CATEGROY_MODULE
static final String CATEGROY_QUEUE
static final String CATEGROY_DB_POOL
static final String CATEGROY_DB_CON
String getName()
void register(FrameworkIntf aFramework)
aFramework - ServerBaseIntf Service Objectvoid deRegister(FrameworkIntf aFramework)
aFramework - ServerBaseIntf Service Objectvoid initMessage(MessageIntf aData) throws Exception
Exceptionvoid doMessage(MessageIntf aData)
aData - ServiceDataintf Service Datavoid doEventMessage(MessageIntf aData)
aData - ServiceDataintf Service DataMessageIntf getStats()
FrameworkIntf getJvmService()
String getJvmId()
boolean isRunning()
void setRunning(boolean aFlag)
boolean isActive()
void setActive(boolean aFlag)
long getTotalErrorNumber()
void addTotalErrorNumber()
long getTotalProcessed()
void addTotalProcessed()
long getInProcess()
void addInProcess()
void subtractInProcess()
long getTotalMsgNumber()
void addTotalMsgNumber()
void resetTotals()
Copyright © 2020. All rights reserved.