org.vhorvath.valogato.core.controller.features
Class ForwarderFeature<RQ,RS,EX extends Exception>
java.lang.Object
org.vhorvath.valogato.core.controller.features.ForwarderFeature<RQ,RS,EX>
- All Implemented Interfaces:
- IFeature<RQ,RS,EX>
public class ForwarderFeature<RQ,RS,EX extends Exception>
- extends Object
- implements IFeature<RQ,RS,EX>
Forwarding the message to an other backend service (like a loadbalancer)
Using round-robin algorythm
- Author:
- Viktor Horvath
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForwarderFeature
public ForwarderFeature()
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.