org.apache.synapse.commons.throttle.core.factory

## Class CallerConfigurationFactory

- java.lang.Object
- - org.apache.synapse.commons.throttle.core.factory.CallerConfigurationFactory

-     public class CallerConfigurationFactory
      extends Object

  Factory for creating a CallerConfiguration

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CallerConfigurationFactory()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static CallerConfiguration` | `createCallerConfiguration(int throttletype)` To create a CallerConfiguration instance for the given throttle type

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CallerConfigurationFactory

          public CallerConfigurationFactory()

  - ### Method Detail

    - #### createCallerConfiguration

          public static CallerConfiguration createCallerConfiguration(int throttletype)
                                                               throws ThrottleException

      To create a CallerConfiguration instance for the given throttle type
      Parameters:
        `throttletype` - - The type of the throttle
      Returns:
        CallerConfiguration - The corresponding caller configuration for the given throttle type
      Throws:
        `ThrottleException` - - Throws for if the throttle type is unknown

Copyright © 2005–2017 Apache Software Foundation. All rights reserved.