Package | Description |
---|---|
org.objectweb.carol.cmi |
Modifier and Type | Method and Description |
---|---|
StubData |
Distributor.choose(java.lang.reflect.Method method,
java.lang.Object[] parameters)
Choose a stub among the stub list
Default algorithm : round robin
The application deployer can override this method to make its own choices.
|
StubData |
DistributorHome.choose(java.lang.reflect.Method method,
java.lang.Object[] parameters)
choose a stub according to the load balancing algorithm
- first local preference
- and then round robin
The application can override this method
|
StubData |
DistributorSfsbHome.choose(java.lang.reflect.Method method,
java.lang.Object[] parameters)
Choose a stub according a rr algorithm with a local preference
Default algorithm, can be overriden in a vm
|
StubData |
DistributorSfsbRemote.choose(java.lang.reflect.Method method,
java.lang.Object[] parameters)
Choose a stub - for the SFSB Remote stub, the Distributor class contains
only one stub
|
StubData |
DistributorSlsbRemote.choose(java.lang.reflect.Method method,
java.lang.Object[] parameters)
choose a stub according to the load balancing algorithm
- round robin
Note that here the local preference is not implemented because not necessary.
|
StubData |
Distributor.chooseLocalFirst(java.lang.reflect.Method method,
java.lang.Object[] parameters)
Choose a stub among the stub list with a local preference
The application deployer can override this method to make its own choices.
|
StubData |
RoundRobin.get()
Get a stub according to the RR algorithm
|
StubData |
Random.get()
Get a stub randomly
|