Package com.apama.net.interfaces
Interface GenericComponentManagement
- 
 public interface GenericComponentManagementGeneric management interface for Apama components.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceGenericComponentManagement.GenericComponentConnectionThe interface describing a messaging connection to a componentstatic interfaceGenericComponentManagement.GenericComponentConnectionSetstatic interfaceGenericComponentManagement.GenericComponentInfoA list of related component info tuplesstatic interfaceGenericComponentManagement.GenericComponentInfoTupleA name-value pair holding some information about a componentstatic classGenericComponentManagement.GenericComponentLogLevelLog verbosity levelsstatic interfaceGenericComponentManagement.GenericComponentReceiverThe interface describing a messaging receiver connected to a componentstatic interfaceGenericComponentManagement.GenericComponentSenderThe interface describing a messaging sender connected to a component
 - 
Field SummaryFields Modifier and Type Field Description static java.lang.String[]GenericComponentLogLevelNamesDeprecated.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandeepPing()Perform a component-specific 'deep' pingbooleandisconnectReceiverByComponentId(com.apama.message.ComponentIDTuple id, java.lang.String why)Disconnect the receiver connected to this component that has component ID id.booleandisconnectSenderByComponentId(com.apama.message.ComponentIDTuple id, java.lang.String why)Disconnect the sender connected to this component that has component ID id.java.lang.StringdoRequest(java.lang.String type, java.lang.String[] args)Execute a component-specific commandjava.lang.StringgetBuildNumber()Get the component's build numberjava.lang.StringgetBuildPlatform()Get the component's build platformjava.lang.StringgetComponentVersion()Get the component's version numberGenericComponentManagement.GenericComponentConnectionSetgetConnections()Request the set of messaging peers attached to the componentjava.lang.StringgetCurrentDirectory()Get the component's current working directory pathjava.lang.StringgetHostname()Get the hostname that component is running onGenericComponentManagement.GenericComponentInfogetInfo(java.lang.String category)Request component-specific status/configuration informationlonggetLogicalId()Get the unique logical ID of the componentGenericComponentManagement.GenericComponentLogLevelgetLogLevel()Get the component's current logging leveljava.lang.StringgetName()Get the name of the component, encoded as UTF-8longgetPhysicalId()Get the globally unique physical ID of the componentlonggetPID()Return the component's process IDfloatgetPMemory()Get the physical memory usage of the component, in megabytesjava.lang.StringgetProductVersion()Get the version number of the product the component belongs tointgetRemotePort()Get the port number that the component is listening onjava.lang.StringgetType()Get the type of the component, encoded as UTF-8intgetUptime()Get the uptime of the component, in msjava.lang.StringgetUsername()Get the effective username the component is running asfloatgetVMemory()Get the virtual memory usage of the component, in megabytesvoidping()This method is used to check that the component is still alive.voidsetLogLevel(GenericComponentManagement.GenericComponentLogLevel logLevel)Set the component's logging levelvoidshutdown(java.lang.String why)Tell the component to shut itself down NOW
 
- 
- 
- 
Method Detail- 
deepPingboolean deepPing() throws GenericComponentManagementExceptionPerform a component-specific 'deep' ping
 - 
getPIDlong getPID() throws GenericComponentManagementExceptionReturn the component's process ID
 - 
shutdownvoid shutdown(java.lang.String why) throws GenericComponentManagementExceptionTell the component to shut itself down NOW
 - 
disconnectReceiverByComponentIdboolean disconnectReceiverByComponentId(com.apama.message.ComponentIDTuple id, java.lang.String why) throws GenericComponentManagementExceptionDisconnect the receiver connected to this component that has component ID id. IDs can be discovered through the getConnections() call. You can provide a reason.- Parameters:
- id- the ID
- why- free form text that is sent to the remote receiver
- Throws:
- GenericComponentManagementException
- See Also:
- getConnections()
 
 - 
disconnectSenderByComponentIdboolean disconnectSenderByComponentId(com.apama.message.ComponentIDTuple id, java.lang.String why) throws GenericComponentManagementExceptionDisconnect the sender connected to this component that has component ID id. IDs can be discovered through the getConnections() call. You can provide a reason.- Parameters:
- id- the ID
- why- free form text that is sent to the remote sender
- Throws:
- GenericComponentManagementException
- See Also:
- getConnections()
 
 - 
getNamejava.lang.String getName() throws GenericComponentManagementExceptionGet the name of the component, encoded as UTF-8
 - 
getTypejava.lang.String getType() throws GenericComponentManagementExceptionGet the type of the component, encoded as UTF-8
 - 
getUptimeint getUptime() throws GenericComponentManagementExceptionGet the uptime of the component, in ms
 - 
getVMemoryfloat getVMemory() throws GenericComponentManagementExceptionGet the virtual memory usage of the component, in megabytes
 - 
getPMemoryfloat getPMemory() throws GenericComponentManagementExceptionGet the physical memory usage of the component, in megabytes
 - 
getPhysicalIdlong getPhysicalId() throws GenericComponentManagementExceptionGet the globally unique physical ID of the component
 - 
getLogicalIdlong getLogicalId() throws GenericComponentManagementExceptionGet the unique logical ID of the component
 - 
getLogLevelGenericComponentManagement.GenericComponentLogLevel getLogLevel() throws GenericComponentManagementException Get the component's current logging level
 - 
setLogLevelvoid setLogLevel(GenericComponentManagement.GenericComponentLogLevel logLevel) throws GenericComponentManagementException Set the component's logging level
 - 
getComponentVersionjava.lang.String getComponentVersion() throws GenericComponentManagementExceptionGet the component's version number
 - 
getProductVersionjava.lang.String getProductVersion() throws GenericComponentManagementExceptionGet the version number of the product the component belongs to
 - 
getBuildNumberjava.lang.String getBuildNumber() throws GenericComponentManagementExceptionGet the component's build number
 - 
getBuildPlatformjava.lang.String getBuildPlatform() throws GenericComponentManagementExceptionGet the component's build platform
 - 
getHostnamejava.lang.String getHostname() throws GenericComponentManagementExceptionGet the hostname that component is running on
 - 
getUsernamejava.lang.String getUsername() throws GenericComponentManagementExceptionGet the effective username the component is running as
 - 
getCurrentDirectoryjava.lang.String getCurrentDirectory() throws GenericComponentManagementExceptionGet the component's current working directory path
 - 
getRemotePortint getRemotePort() throws GenericComponentManagementExceptionGet the port number that the component is listening on
 - 
doRequestjava.lang.String doRequest(java.lang.String type, java.lang.String[] args) throws GenericComponentManagementExceptionExecute a component-specific command
 - 
getInfoGenericComponentManagement.GenericComponentInfo getInfo(java.lang.String category) throws GenericComponentManagementException Request component-specific status/configuration information
 - 
getConnectionsGenericComponentManagement.GenericComponentConnectionSet getConnections() throws GenericComponentManagementException Request the set of messaging peers attached to the component
 - 
pingvoid ping() throws GenericComponentManagementException This method is used to check that the component is still alive. If the server is alive it returns normally. If there is a problem then a GenericComponentManagementException is thrown.
 
- 
 
-