Methods on class DefaultBackgroundTaskLoadBalancingPlugin
BackgroundTaskLoadBalancingPlugin plugin. The
DefaultBackgroundTaskLoadBalancingPlugin class implements the
BackgroundTaskLoadBalancingPlugin interface, which contains the the
following methods:- rebalanceStartablePlugins
- rebalanceMessageDestinations
- rebalanceMessageProcessors
- selectStartablePluginsToStartNow
- selectMessageDestinationsToStartNow
- selectMessageProcessorsToStartNow
Method reference
- rebalanceStartablePlugins(LoadBalancingContext context)
- This method analyzes the startable plugin services that exist on the other member
nodes of the PolicyCenter cluster and requests the
transfer of those services to the current server, if the current server is
underloaded.
This method returns the load balancing result as a
LoadBalancingResultobject. The result cannot benull. - rebalanceMessageDestinations(LoadBalancingContext context)
- This method analyzes the message destinations that exist on the other member nodes of
the PolicyCenter cluster and requests the transfer of
those message destinations to the current server, if the current server is underloaded.
The method returns the load balancing result as a
LoadBalancingResultobject. The result cannot benull. - rebalanceMessageProcessors(LoadBalancingContext context)
- This method analyzes the message processors that exist on the other member nodes of
the PolicyCenter cluster and requests the transfer of
those processors to the current server, if the current server is underloaded.
The method returns the load balancing result as a
LoadBalancingResultobject. The result cannot benull. - selectStartablePluginsToStartNow(List<ComponentInfo> availableStartablePlugins, LoadBalancingContext context)
- This method selects the startable plugins to start. Use this method to set which
components start on the current server and which components start on the other member
nodes of the PolicyCenter cluster. The principal use of
this method is to set a more uniform load distribution. If something delays the start of
a component, and no other server starts it, PolicyCenter
calls this method on the current server again.
This method returns the selected components to start as a list of
<ComponentInfo>objects. - selectMessageDestinationsToStartNow(List<ComponentInfo> availableMessageDestinations, LoadBalancingContext context)
- This method selects the message destinations to start. Use this method to set which
components start on the current server and which components start on the other member
nodes of the PolicyCenter cluster. The principal use of
this method is to set a more uniform load distribution. If something delays the start of
a component, and no other server starts it, PolicyCenter
calls this method on the current server again.
This method returns the selected components to start, as a list of
<ComponentInfo>objects. - selectMessageProcessorsToStartNow(List<ComponentInfo> availableProcessors, LoadBalancingContext context)
- This method selects the message processors to start. Use this method to set which
components start on the current server and which components start on the other member
nodes of the PolicyCenter cluster. The principal use of
this method is to set a more uniform load distribution. If something delays the start of
a component, and no other server starts it, PolicyCenter
calls this method on the current server again.
This method returns the selected components to start, as a list of
<ComponentInfo>objects.
