Package org.objectweb.carol.cmi

Interface Summary
Registry Interface Cmi Registry client part
 

Class Summary
ClusterHandle A persistent reference to a replicated SFSB Implements HttpSessionBindingListener delegating valueBound and valueUnbound to the associated distributor
ClusterId A universally unique identifier for a cluster
ClusterStub Stubs to clustered objects extend this class.
CmiInputStream To serialize objects exchanged between CMI registries.
CmiOutputStream To deserialize objects exchanged between CMI registries.
Decision Returned to the cluster stub by methods of a Distributor to tell what to do.
DistributedEquiv Manage equivalences between objects in the cluster.
Distributor Each clustered server object has to be accompanied by a class which extends this one to specify configuration information.
DistributorHome Specific Distributor class for the Home interface load balancing and fail-over logic - default LB algorithm : -> local pref and round robin - default fail-over algorithm : -> retry on ConnectException or ConnectIOException or NoSuchObjectException
DistributorSfsbHome Specific Distributor class for the SFSB replication protocol - Handles a backup stub list being a subset of the ServerStubList - Creates the link between the Remote and the Home objects at the create time - Default LB algorithm : RR with local preference
DistributorSfsbRemote Specific Distributor class for the SFSB replication protocol - Handles a link with the Home instance for recreating an instance when an exception occurs - Holds a cluster wide ObjectId - Keeps request number
DistributorSlsbRemote Specific Distributor class for the Home interface load balancing and fail-over logic - default LB algorithm : -> local pref and round robin - default fail-over algorithm : -> retry on ConnectException or ConnectIOException or NoSuchObjectException
InetMask  
LowerOrb Exports the internal methods of the underlying ORB.
MBeanUtils This class is used to manage mbean registration.
Naming Similar to java.rmi.Naming class.
NamingContext To parse a CMI URL.
NamingContextHostPort Host and Port for a naming context
ObjectId Each clustered remote object is uniquely identified by such a number.
ObjectIdFactory This is a monotonic counter that generate IDs for cluster remote objects.
PRODelegate Class PRODelegate for use by PortableRemoteObject.
Random You can use this helper class to get a randomized load balancing algorithm between clustered servers.
RegistryClient  
RegistryImpl Server part of the CMI registry.
RegistryKiller Handle returned when starting a registry.
RegistryStubList A container of regular stubs to CMI registries.
RoundRobin You can use this helper class to get a round robin load balacing algorithm between clustered servers.
SecureRandom Wrapper for java.security.SecureRandom
ServerConfig The ServerConfig provides a method to give configuration information to the CMI runtime.
ServerIdFactory The aim of this class is to generate unique IDs to identify an instance of a clustered server.
ServerStubList A container of regular stubs to RMI-exported clustered objects.
StubBuilder Used to serialize a cluster stub.
StubClassLoader Used to build the class of a cluster stub.
StubConfig Used to get information on a remote object.
StubData Contains a stub to a single instance in the cluster of a clustered object and related data.
UnicastRemoteObject To export objects in the cluster.
WeakList Register objects in a list via weak references.
WeakRef This WeakRef is a WeakReference has its method remove() called when the corresponding object has been garbage collected.
WeakValueHashtable A Map that remove its entries when the corresponding values are no more referenced elsewhere.
 

Exception Summary
NoServerException Thrown when no more remote object is available in the cluster for a remote procedure call.
NotLoadedException Thrown when an object cannot be loaded in the server at the lookup time
ServerConfigException Thrown when a bad configuration parameter prevents the operation to succeed
StubConfigException Thrown when unable to get information on a clustered object.