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 boolean
deepPing()
Perform a component-specific 'deep' pingjava.lang.String
doRequest(java.lang.String type, java.lang.String[] args)
Execute a component-specific commandjava.lang.String
getBuildNumber()
Get the component's build numberjava.lang.String
getBuildPlatform()
Get the component's build platformjava.lang.String
getComponentVersion()
Get the component's version numberjava.lang.String
getCurrentDirectory()
Get the component's current working directory pathjava.lang.String
getHostname()
Get the hostname that component is running onGenericComponentManagement.GenericComponentInfo
getInfo(java.lang.String category)
Request component-specific status/configuration informationlong
getLogicalId()
Get the unique logical ID of the componentGenericComponentManagement.GenericComponentLogLevel
getLogLevel()
Get the component's current logging leveljava.lang.String
getName()
Get the name of the component, encoded as UTF-8long
getPhysicalId()
Get the globally unique physical ID of the componentlong
getPID()
Return the component's process IDfloat
getPMemory()
Get the physical memory usage of the component, in megabytesjava.lang.String
getProductVersion()
Get the version number of the product the component belongs toint
getRemotePort()
Get the port number that the component is listening onjava.lang.String
getType()
Get the type of the component, encoded as UTF-8int
getUptime()
Get the uptime of the component, in msjava.lang.String
getUsername()
Get the effective username the component is running asfloat
getVMemory()
Get the virtual memory usage of the component, in megabytesboolean
isGenericComponentManagementAvailable()
Returns true if the GenericComponentManagement interface is availablevoid
setLogLevel(GenericComponentManagement.GenericComponentLogLevel logLevel)
Set the component's logging levelvoid
shutdown(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 GenericComponentManagementException
Perform a component-specific 'deep' ping
-
getPID
long getPID() throws GenericComponentManagementException
Return the component's process ID
-
shutdown
void shutdown(java.lang.String why) throws GenericComponentManagementException
Tell the component to shut itself down NOW
-
getName
java.lang.String getName() throws GenericComponentManagementException
Get the name of the component, encoded as UTF-8
-
getType
java.lang.String getType() throws GenericComponentManagementException
Get the type of the component, encoded as UTF-8
-
getUptime
int getUptime() throws GenericComponentManagementException
Get the uptime of the component, in ms
-
getVMemory
float getVMemory() throws GenericComponentManagementException
Get the virtual memory usage of the component, in megabytes
-
getPMemory
float getPMemory() throws GenericComponentManagementException
Get the physical memory usage of the component, in megabytes
-
getPhysicalId
long getPhysicalId() throws GenericComponentManagementException
Get the globally unique physical ID of the component
-
getLogicalId
long getLogicalId() throws GenericComponentManagementException
Get 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 GenericComponentManagementException
Get the component's version number
-
getProductVersion
java.lang.String getProductVersion() throws GenericComponentManagementException
Get the version number of the product the component belongs to
-
getBuildNumber
java.lang.String getBuildNumber() throws GenericComponentManagementException
Get the component's build number
-
getBuildPlatform
java.lang.String getBuildPlatform() throws GenericComponentManagementException
Get the component's build platform
-
getHostname
java.lang.String getHostname() throws GenericComponentManagementException
Get the hostname that component is running on
-
getUsername
java.lang.String getUsername() throws GenericComponentManagementException
Get the effective username the component is running as
-
getCurrentDirectory
java.lang.String getCurrentDirectory() throws GenericComponentManagementException
Get the component's current working directory path
-
getRemotePort
int getRemotePort() throws GenericComponentManagementException
Get the port number that the component is listening on
-
doRequest
java.lang.String doRequest(java.lang.String type, java.lang.String[] args) throws GenericComponentManagementException
Execute a component-specific command
-
getInfo
GenericComponentManagement.GenericComponentInfo getInfo(java.lang.String category) throws GenericComponentManagementException
Request component-specific status/configuration information
-
-