lumis.portal.cluster
Class SingleServerClusterManager
java.lang.Object
lumis.portal.cluster.AbstractClusterManager
lumis.portal.cluster.SingleServerClusterManager
- All Implemented Interfaces:
- IClusterManager
public class SingleServerClusterManager
- extends AbstractClusterManager
The cluster manager implementation for single server (without cluster) deployment.
In a single server environment the sending process triggers the
receiving process immediately. As a consequence of this, the transmission
consequences happens synchronously, but the same may not happen at a
multi-server environment.
- Since:
- 4.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleServerClusterManager
public SingleServerClusterManager()
send
public void send(IClusterTransmission transmission)
- Description copied from interface:
IClusterManager
- Sends a transmission.
- Specified by:
send
in interface IClusterManager
- Specified by:
send
in class AbstractClusterManager
- Parameters:
transmission
- the transmission. It must have been created using
one of the factory methods available in IClusterManager
.- See Also:
IClusterManager.createClusterCommand(Runnable)
,
IClusterManager.createClusterMessage(String, Serializable)
getMembers
public Collection<IClusterMember> getMembers()
- Description copied from interface:
IClusterManager
- Returns a collection with information about the current members of this cluster.
- Returns:
- a collection with information about the current members of this cluster.
getLocalMember
public IClusterMember getLocalMember()
- Description copied from interface:
IClusterManager
- Returns the current cluster member object. The object returned
represents the member where this method is executed on.
- Returns:
- this server cluster member object.
getClusterConfig
public IClusterConfig getClusterConfig(ITransaction transaction)
throws PortalException
- Description copied from interface:
IClusterManager
- Returns a persistent cluster configuration object. The object contains
the cluster configurations, and any changes will be applied on transaction
commit.
- Parameters:
transaction
- the transaction for persistence access.
- Returns:
- a persistent cluster configuration instance.
- Throws:
PortalException
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.