Package com.apama.net.beans.interfaces
Interface GenericComponentManagementOperationsInterface
-
- All Superinterfaces:
java.lang.AutoCloseable,BaseClientInterface,PingClientInterface,PingOperationsInterface
- All Known Implementing Classes:
GenericComponentManagementBean
public interface GenericComponentManagementOperationsInterface extends PingClientInterface
-
-
Field Summary
-
Fields inherited from interface com.apama.net.beans.interfaces.BaseClientInterface
COPYRIGHT, DEFAULT_CONNECTION_POLLING_INTERVAL, DEFAULT_HOST, DEFAULT_PORT, DEFAULT_PROCESS_NAME, PRODUCTNAME, PROPERTY_BEAN_CONNECTED, PROPERTY_CONNECTION_POLLING_INTERVAL, PROPERTY_HOST, PROPERTY_PORT, PROPERTY_PROCESS_NAME, PROPERTY_VERBOSE, VERSION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandeepPing()Perform a component-specific 'deep' pingjava.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 numberjava.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 megabytesbooleanisGenericComponentManagementAvailable()Returns true if the GenericComponentManagement interface is availablevoidsetLogLevel(GenericComponentManagement.GenericComponentLogLevel logLevel)Set the component's logging levelvoidshutdown(java.lang.String why)Tell the component to shut itself down NOW-
Methods inherited from interface com.apama.net.beans.interfaces.BaseClientInterface
addPropertyChangeListener, addPropertyChangeListener, close, connectNow, disconnect, dispose, getBeanConnected, getConnectionPollingInterval, getHost, getPort, getProcessName, isBeanConnected, removePropertyChangeListener, removePropertyChangeListener, setConnectionPollingInterval, setHost, setPort, setProcessName
-
Methods inherited from interface com.apama.net.beans.interfaces.PingOperationsInterface
pingServer
-
-
-
-
Method Detail
-
isGenericComponentManagementAvailable
boolean isGenericComponentManagementAvailable()
Returns true if the GenericComponentManagement interface is available
-
deepPing
boolean deepPing() throws GenericComponentManagementExceptionPerform a component-specific 'deep' ping
-
getPID
long getPID() throws GenericComponentManagementExceptionReturn the component's process ID
-
shutdown
void shutdown(java.lang.String why) throws GenericComponentManagementExceptionTell the component to shut itself down NOW
-
getName
java.lang.String getName() throws GenericComponentManagementExceptionGet the name of the component, encoded as UTF-8
-
getType
java.lang.String getType() throws GenericComponentManagementExceptionGet the type of the component, encoded as UTF-8
-
getUptime
int getUptime() throws GenericComponentManagementExceptionGet the uptime of the component, in ms
-
getVMemory
float getVMemory() throws GenericComponentManagementExceptionGet the virtual memory usage of the component, in megabytes
-
getPMemory
float getPMemory() throws GenericComponentManagementExceptionGet the physical memory usage of the component, in megabytes
-
getPhysicalId
long getPhysicalId() throws GenericComponentManagementExceptionGet the globally unique physical ID of the component
-
getLogicalId
long getLogicalId() throws GenericComponentManagementExceptionGet the unique logical ID of the component
-
getLogLevel
GenericComponentManagement.GenericComponentLogLevel getLogLevel() throws GenericComponentManagementException
Get the component's current logging level
-
setLogLevel
void setLogLevel(GenericComponentManagement.GenericComponentLogLevel logLevel) throws GenericComponentManagementException
Set the component's logging level
-
getComponentVersion
java.lang.String getComponentVersion() throws GenericComponentManagementExceptionGet the component's version number
-
getProductVersion
java.lang.String getProductVersion() throws GenericComponentManagementExceptionGet the version number of the product the component belongs to
-
getBuildNumber
java.lang.String getBuildNumber() throws GenericComponentManagementExceptionGet the component's build number
-
getBuildPlatform
java.lang.String getBuildPlatform() throws GenericComponentManagementExceptionGet the component's build platform
-
getHostname
java.lang.String getHostname() throws GenericComponentManagementExceptionGet the hostname that component is running on
-
getUsername
java.lang.String getUsername() throws GenericComponentManagementExceptionGet the effective username the component is running as
-
getCurrentDirectory
java.lang.String getCurrentDirectory() throws GenericComponentManagementExceptionGet the component's current working directory path
-
getRemotePort
int getRemotePort() throws GenericComponentManagementExceptionGet the port number that the component is listening on
-
doRequest
java.lang.String doRequest(java.lang.String type, java.lang.String[] args) throws GenericComponentManagementExceptionExecute a component-specific command
-
getInfo
GenericComponentManagement.GenericComponentInfo getInfo(java.lang.String category) throws GenericComponentManagementException
Request component-specific status/configuration information
-
-