public interface GenericComponentManagementOperationsInterface extends PingClientInterface
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
Modifier and Type | Method and Description |
---|---|
boolean |
deepPing()
Perform a component-specific 'deep' ping
|
java.lang.String |
doRequest(java.lang.String type,
java.lang.String[] args)
Execute a component-specific command
|
java.lang.String |
getBuildNumber()
Get the component's build number
|
java.lang.String |
getBuildPlatform()
Get the component's build platform
|
java.lang.String |
getComponentVersion()
Get the component's version number
|
java.lang.String |
getCurrentDirectory()
Get the component's current working directory path
|
java.lang.String |
getHostname()
Get the hostname that component is running on
|
GenericComponentManagement.GenericComponentInfo |
getInfo(java.lang.String category)
Request component-specific status/configuration information
|
long |
getLogicalId()
Get the unique logical ID of the component
|
GenericComponentManagement.GenericComponentLogLevel |
getLogLevel()
Get the component's current logging level
|
java.lang.String |
getName()
Get the name of the component, encoded as UTF-8
|
long |
getPhysicalId()
Get the globally unique physical ID of the component
|
long |
getPID()
Return the component's process ID
|
float |
getPMemory()
Get the physical memory usage of the component, in megabytes
|
java.lang.String |
getProductVersion()
Get the version number of the product the component belongs to
|
int |
getRemotePort()
Get the port number that the component is listening on
|
java.lang.String |
getType()
Get the type of the component, encoded as UTF-8
|
int |
getUptime()
Get the uptime of the component, in ms
|
java.lang.String |
getUsername()
Get the effective username the component is running as
|
float |
getVMemory()
Get the virtual memory usage of the component, in megabytes
|
boolean |
isGenericComponentManagementAvailable()
Returns true if the GenericComponentManagement interface is available
|
void |
setLogLevel(GenericComponentManagement.GenericComponentLogLevel logLevel)
Set the component's logging level
|
void |
shutdown(java.lang.String why)
Tell the component to shut itself down NOW
|
pingServer
addPropertyChangeListener, addPropertyChangeListener, close, connectNow, disconnect, dispose, getBeanConnected, getConnectionPollingInterval, getHost, getPort, getProcessName, isBeanConnected, removePropertyChangeListener, removePropertyChangeListener, setConnectionPollingInterval, setHost, setPort, setProcessName
boolean isGenericComponentManagementAvailable()
boolean deepPing() throws GenericComponentManagementException
long getPID() throws GenericComponentManagementException
void shutdown(java.lang.String why) throws GenericComponentManagementException
java.lang.String getName() throws GenericComponentManagementException
java.lang.String getType() throws GenericComponentManagementException
int getUptime() throws GenericComponentManagementException
float getVMemory() throws GenericComponentManagementException
float getPMemory() throws GenericComponentManagementException
long getPhysicalId() throws GenericComponentManagementException
long getLogicalId() throws GenericComponentManagementException
GenericComponentManagement.GenericComponentLogLevel getLogLevel() throws GenericComponentManagementException
void setLogLevel(GenericComponentManagement.GenericComponentLogLevel logLevel) throws GenericComponentManagementException
java.lang.String getComponentVersion() throws GenericComponentManagementException
java.lang.String getProductVersion() throws GenericComponentManagementException
java.lang.String getBuildNumber() throws GenericComponentManagementException
java.lang.String getBuildPlatform() throws GenericComponentManagementException
java.lang.String getHostname() throws GenericComponentManagementException
java.lang.String getUsername() throws GenericComponentManagementException
java.lang.String getCurrentDirectory() throws GenericComponentManagementException
int getRemotePort() throws GenericComponentManagementException
java.lang.String doRequest(java.lang.String type, java.lang.String[] args) throws GenericComponentManagementException
GenericComponentManagement.GenericComponentInfo getInfo(java.lang.String category) throws GenericComponentManagementException
Submit a bug or feature
Copyright (c) 2013-2017 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.