org.vhorvath.valogato.core.controller.features
Class LeakyBucketFeature<RQ,RS,EX extends Exception>

java.lang.Object
  extended by org.vhorvath.valogato.core.controller.features.LeakyBucketFeature<RQ,RS,EX>
All Implemented Interfaces:
IFeature<RQ,RS,EX>

public class LeakyBucketFeature<RQ,RS,EX extends Exception>
extends Object
implements IFeature<RQ,RS,EX>

Author:
Viktor Horvath

Constructor Summary
LeakyBucketFeature()
           
 
Method Summary
 RS apply(String backendServiceName, RQ req, ISimulatedService<RQ,RS,EX> simulatedInterface, BackendServiceBean backendServiceBean, String simulatedServiceName, IThrottlingController<RQ,RS,EX> thrController)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeakyBucketFeature

public LeakyBucketFeature()
Method Detail

apply

public RS apply(String backendServiceName,
                RQ req,
                ISimulatedService<RQ,RS,EX> simulatedInterface,
                BackendServiceBean backendServiceBean,
                String simulatedServiceName,
                IThrottlingController<RQ,RS,EX> thrController)
         throws EX extends Exception,
                ThrottlingConfigurationException,
                ThrottlingRuntimeException
Specified by:
apply in interface IFeature<RQ,RS,EX extends Exception>
Throws:
EX extends Exception
ThrottlingConfigurationException
ThrottlingRuntimeException


Copyright © 2013. All rights reserved.