|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoadBalanceMembershipHandler
This interface is responsible for providing the next member to which a message has to be sent to. Generally, this interface will work with a GCF or other membership discovery mechanism
Method Summary | |
---|---|
ConfigurationContext |
getConfigurationContext()
Get the Axis2 ConfigurationContext |
LoadbalanceAlgorithm |
getLoadbalanceAlgorithm()
Get the algorithum uses in this membership handler |
Member |
getNextApplicationMember(AlgorithmContext context)
Get the next application member to whom the message has to be sent to |
Properties |
getProperties()
get the properties used to init this membership handler |
void |
init(Properties properties,
LoadbalanceAlgorithm algorithm)
Initialize this |
void |
setConfigurationContext(ConfigurationContext configCtx)
Set the Axis2 ConfigurationContext |
Method Detail |
---|
void init(Properties properties, LoadbalanceAlgorithm algorithm)
properties
- The properties specific to this LoadBalanceMembershipHandleralgorithm
- The load balancing algorithmvoid setConfigurationContext(ConfigurationContext configCtx)
configCtx
- Axis2 ConfigurationContextConfigurationContext getConfigurationContext()
Member getNextApplicationMember(AlgorithmContext context)
context
- The AlgorithmContext which holds information needed for the algorithm
LoadbalanceAlgorithm getLoadbalanceAlgorithm()
Properties getProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |