|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GenericComponentManagement
Generic management interface for Apama components.
Nested Class Summary | |
---|---|
static interface |
GenericComponentManagement.GenericComponentConnection
The interface describing a messaging connection to a component |
static interface |
GenericComponentManagement.GenericComponentConnectionSet
|
static interface |
GenericComponentManagement.GenericComponentInfo
A set of related component info tuples |
static interface |
GenericComponentManagement.GenericComponentInfoTuple
A name-value pair holding some information about a component |
static class |
GenericComponentManagement.GenericComponentLogLevel
Log verbosity levels |
static interface |
GenericComponentManagement.GenericComponentReceiver
The interface describing a messaging receiver connected to a component |
static interface |
GenericComponentManagement.GenericComponentSender
The interface describing a messaging sender connected to a component |
Field Summary | |
---|---|
static java.lang.String[] |
GenericComponentLogLevelNames
Deprecated. Use GenericComponentManagement.GenericComponentLogLevel.getLogLevel() instead. |
Method Summary | |
---|---|
boolean |
deepPing()
Perform a component-specific 'deep' ping |
boolean |
disconnectReceiverByPhysicalId(long id,
java.lang.String why)
Disconnect the receiver connected to this component that has physical ID id. |
boolean |
disconnectSenderByPhysicalId(long id,
java.lang.String why)
Disconnect the sender connected to this component that has physical ID id. |
java.lang.String |
doRequest(java.lang.String request)
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 |
GenericComponentManagement.GenericComponentConnectionSet |
getConnections()
Request the set of messaging peers attached to the component |
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 |
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 |
java.lang.String |
getUsername()
Get the effective username the component is running as |
void |
ping()
This method is used to check that the component is still alive. |
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 |
Field Detail |
---|
static final java.lang.String[] GenericComponentLogLevelNames
GenericComponentManagement.GenericComponentLogLevel.getLogLevel()
instead.
Method Detail |
---|
boolean deepPing() throws GenericComponentManagementException
GenericComponentManagementException
long getPID() throws GenericComponentManagementException
GenericComponentManagementException
void shutdown(java.lang.String why) throws GenericComponentManagementException
GenericComponentManagementException
boolean disconnectReceiverByPhysicalId(long id, java.lang.String why) throws GenericComponentManagementException
id
- the IDwhy
- free form text that is sent to the remote receiver
GenericComponentManagementException
getConnections()
boolean disconnectSenderByPhysicalId(long id, java.lang.String why) throws GenericComponentManagementException
id
- the IDwhy
- free form text that is sent to the remote sender
GenericComponentManagementException
getConnections()
java.lang.String getName() throws GenericComponentManagementException
GenericComponentManagementException
java.lang.String getType() throws GenericComponentManagementException
GenericComponentManagementException
long getPhysicalId() throws GenericComponentManagementException
GenericComponentManagementException
long getLogicalId() throws GenericComponentManagementException
GenericComponentManagementException
GenericComponentManagement.GenericComponentLogLevel getLogLevel() throws GenericComponentManagementException
GenericComponentManagementException
void setLogLevel(GenericComponentManagement.GenericComponentLogLevel logLevel) throws GenericComponentManagementException
GenericComponentManagementException
java.lang.String getComponentVersion() throws GenericComponentManagementException
GenericComponentManagementException
java.lang.String getProductVersion() throws GenericComponentManagementException
GenericComponentManagementException
java.lang.String getBuildNumber() throws GenericComponentManagementException
GenericComponentManagementException
java.lang.String getBuildPlatform() throws GenericComponentManagementException
GenericComponentManagementException
java.lang.String getHostname() throws GenericComponentManagementException
GenericComponentManagementException
java.lang.String getUsername() throws GenericComponentManagementException
GenericComponentManagementException
java.lang.String getCurrentDirectory() throws GenericComponentManagementException
GenericComponentManagementException
int getRemotePort() throws GenericComponentManagementException
GenericComponentManagementException
java.lang.String doRequest(java.lang.String request) throws GenericComponentManagementException
GenericComponentManagementException
GenericComponentManagement.GenericComponentInfo getInfo(java.lang.String category) throws GenericComponentManagementException
GenericComponentManagementException
GenericComponentManagement.GenericComponentConnectionSet getConnections() throws GenericComponentManagementException
GenericComponentManagementException
void ping() throws GenericComponentManagementException
GenericComponentManagementException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |