com.ibm.wsspi.scaling.action.consumer

Interface ScalingActionPlugin



  • public interface ScalingActionPlugin
    This interface provides the ability to listen for scaling actions being generated by a scaling controller.

    Components that want to listen to scaling actions should implement this interface and register that implementation in the service registry. Only one plugin should be registered, but in the event multiple services are present the actionRequired method will only be called on the service with the highest cardinality. Services are ranked through ServiceReference.compareTo(java.lang.Object) using service.ranking (highest to lowest) and service.id (lowest to highest).