Openwings API Documentation (v1.1)

net.openwings.container.utilities
Interface ContainerManagerPolicy

All Superinterfaces:
Policy, java.io.Serializable

public interface ContainerManagerPolicy
extends Policy

This interface defines a policy that a ContainerManager may use to persist information about the plugins it uses.


Method Summary
 java.lang.String getLoadBalancerImplementation()
          This method gets the name of the class containing the implementation of the LoadBalancer implementation
 PerformanceThreshold[] getPerformanceThresholds()
          This method gets the thresholds that determine the GREEN/YELLOW/RED designation for a particular type of PerformanceReport
 java.lang.String getPlatformPerformanceImplementation()
          This method gets the name of the class containing the implementation of the PlatformPerformance implementation
 void setLoadBalancerImplementation(java.lang.String loadBalancerImplementation)
          This method sets the name of the class containing the implementation of the LoadBalancer implementation
 void setPerformanceThresholds(PerformanceThreshold[] performanceThresholds)
          This method sets the thresholds that determine the GREEN/YELLOW/RED designation for a particular type of PerformanceReport
 void setPlatformPerformanceImplementation(java.lang.String platformPerformanceImplementation)
          This method sets the name of the class containing the implementation of the PlatformPerformance implementation
 
Methods inherited from interface net.openwings.policy.Policy
getDescription, getLastLoadURL, getName, getPolicyAttributes, getPolicyElements, isPolicyUpdated, loadPolicy, loadPolicy, savePolicy, savePolicy, savePolicy, setDescription, setName, setPolicyUpdated
 

Method Detail

getPlatformPerformanceImplementation

public java.lang.String getPlatformPerformanceImplementation()
This method gets the name of the class containing the implementation of the PlatformPerformance implementation

Returns:
name of the implementation class

setPlatformPerformanceImplementation

public void setPlatformPerformanceImplementation(java.lang.String platformPerformanceImplementation)
This method sets the name of the class containing the implementation of the PlatformPerformance implementation

Parameters:
platformPerformanceImplementation - name of the implementation class

getLoadBalancerImplementation

public java.lang.String getLoadBalancerImplementation()
This method gets the name of the class containing the implementation of the LoadBalancer implementation

Returns:
name of the implementation class

setLoadBalancerImplementation

public void setLoadBalancerImplementation(java.lang.String loadBalancerImplementation)
This method sets the name of the class containing the implementation of the LoadBalancer implementation

Parameters:
loadBalancerImplementation - name of the implementation class

getPerformanceThresholds

public PerformanceThreshold[] getPerformanceThresholds()
This method gets the thresholds that determine the GREEN/YELLOW/RED designation for a particular type of PerformanceReport

Returns:
array of thresholds

setPerformanceThresholds

public void setPerformanceThresholds(PerformanceThreshold[] performanceThresholds)
This method sets the thresholds that determine the GREEN/YELLOW/RED designation for a particular type of PerformanceReport

Parameters:
performanceThresholds - array of thresholds

Openwings API Documentation (v1.1)