|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StubData | |
---|---|
org.objectweb.carol.cmi |
Uses of StubData in org.objectweb.carol.cmi |
---|
Methods in org.objectweb.carol.cmi that return StubData | |
---|---|
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 |
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 |
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 |
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 |
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 |
StubData |
ServerStubList.getStub(ClusterId serverId)
Get the stub associated with the serverId (Synchronized) |
Methods in org.objectweb.carol.cmi with parameters of type StubData | |
---|---|
static ClusterStub |
StubConfig.instanciateClusterStub(java.lang.Class remoteObjClass,
StubData stubData)
Create a ClusterStub with only one StubData |
Decision |
DistributorHome.onException(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Exception ex)
Decision on Exception : - retry on ConnectException or ConnectIOException or NoSuchObjectException The application deployer can override this method to make its own choices. |
Decision |
DistributorSfsbHome.onException(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Exception ex)
Decison on Exception The application deployer can override this method to make its own choices. |
Decision |
DistributorSlsbRemote.onException(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Exception ex)
Decision on Exception : - retry on ConnectException or ConnectIOException or NoSuchObjectException The application deployer can override this method to make its own choices. |
Decision |
DistributorSfsbRemote.onException(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Exception ex)
Decison on Exception The application deployer can override this method to make its own choices. |
Decision |
Distributor.onException(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Exception ex)
Decision on Exception - retry on ConnectException or ConnectIOException or NoSuchObjectException The application deployer can override this method to make its own choices. |
Decision |
DistributorHome.onReturn(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Object retVal)
Decision on return For the SSB, the create method returns a ClusterStub containing a list of Remote stubs (singleton) With the preference local algorithm implemented by the choose method, the local remote stub is also taken in priority Below, the optimization consists not to return a Remote stubs list in this case but just the local Remote Stub. |
Decision |
DistributorSfsbHome.onReturn(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Object retVal)
Decision on return The application deployer can override this method to make its own choices. |
Decision |
DistributorSlsbRemote.onReturn(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Object retVal)
Decision on return - do nothing The application deployer can override this method to make its own choices. |
Decision |
DistributorSfsbRemote.onReturn(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Object retVal)
Decision on return The application deployer can override this method to make its own choices. |
Decision |
Distributor.onReturn(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Object retVal)
Decision on return - do nothing The application deployer can override this method to make its own choices. |
void |
ServerStubList.removeStub(StubData sd)
Remove a stub in the clustered stub (Synchronized) |
boolean |
RegistryStubList.removeStub(StubData sd)
Remove a stub This function fails if and only if the stub to remove is the last one. |
protected void |
Distributor.removeStub(StubData sd)
Remove a stub in the list |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |