The ComponentInfo object
The
ComponentInfo object contains information about a distributed
component instance in the PolicyCenter cluster. Many of the
DefaultBackgroundTaskLoadBalancingPlugin methods return a
ComponentInfo object. For example, the
selectStartablePluginsToStartNow method returns a
ComponentInfo object for each startable plugin that the method starts.
Public class ComponentInfo provides a number of getter and setter methods
for the following component properties.| Property | Data type | Description |
|---|---|---|
type |
ComponentType |
Type of the component, one of the following:
|
uniqueId |
String |
UUID (universally unique ID) of the server on which the component is running. |
code |
String |
Code designation of the component, email for a message
destination, for example. |
name |
String |
Name of the component, Email for a message destination, for example. |
state |
ComponentState |
Assignment state of the component, for example:
|
serverId |
String |
ID of the server that has the current lease on the component. |
startRequested |
Date |
Date and time that the server received the component start request. |
started
|
Date |
Date and start time of the component. |
leaseExpiration |
Date |
Date and time at which the component lease expires. |
transferRequested |
Date |
Date and time at which the server received a request to transfer this component to another server. |
transferTarget |
String |
The ID of the server to which the transfer request was made. |
terminateRequested |
Date |
Date and time at which the server received a terminate request for this component. |
stopped |
Date |
Date and time that the component stopped. |
retryFailover |
Date |
Date and time of the deadline in which to complete the failover process. |
replacementId |
String |
UUID of the server to which to transfer the component. |
It is possible to see many of the values for these properties in the Server Tools Cluster screens, especially the Components screen.
See also
