Methods Summary |
---|
public boolean | getAllowSynchronousMembershipNotifications()Returns whether this partition will synchronously notify any
HAPartition.HAMembershipListener of membership changes using the
calling thread from the underlying group communications layer
(e.g. JGroups).
|
public java.util.Vector | getCurrentView()Return the list of member nodes that built from the current view
|
public boolean | getDeadlockDetection()Determine if deadlock detection is enabled
|
public org.jboss.ha.framework.interfaces.HAPartition | getHAPartition()Access to the underlying HAPartition without going through JNDI
|
public java.lang.String | getJGroupsVersion()The version of JGroups this is running on
|
public long | getMethodCallTimeout()Max time (in ms) to wait for synchronous group method calls
({@link HAPartition#callMethodOnCluster(String, String, Object[], Class[], boolean)})
|
public org.jgroups.jmx.JChannelFactoryMBean | getMultiplexer()Gets the multiplexer channel factory that should be used to
create the JGroups channel.
|
public java.lang.String | getMultiplexerStack()Gets the name of the protocol stack the multiplexer channel factory
should use to create the JGroups channel.
|
public java.net.InetAddress | getNodeAddress()The node address used to generate the node name
|
public java.lang.String | getNodeName()Uniquely identifies this node. MUST be unique accros the whole cluster!
Cannot be changed once the partition has been started (otherwise an exception is thrown)
|
public java.lang.String | getPartitionName()Name of the partition being built. All nodes/services belonging to
a partition with the same name are clustered together.
|
public java.lang.String | getPartitionProperties()Get JGroups property string a la JDBC
see JGroups web site for more information
|
public long | getStateTransferTimeout()
|
public void | setAllowSynchronousMembershipNotifications(boolean allowSync)Sets whether this partition will synchronously notify any
HAPartition.HAMembershipListener of membership changes using the
calling thread from the underlying group communications layer
(e.g. JGroups).
|
public void | setDeadlockDetection(boolean doit)
|
public void | setMethodCallTimeout(long timeout)
|
public void | setMultiplexer(org.jgroups.jmx.JChannelFactoryMBean muxFactory)Sets the multiplexer channel factory that should be used to
create the JGroups channel. If this and a
{@link #setMultiplexerStack() multiplexer stack name} are set,
the channel will come from the multiplexer and properties
{@link #setPartitionConfig(Element) partitionConfig} and
{@link #setPartitionProperties(String) partitionProperties} will be
ingored.
|
public void | setMultiplexerStack(java.lang.String stackName)Sets the name of the protocol stack the multiplexer channel factory
should use to create the JGroups channel. If this and a
{@link #setMultiplexer() multiplexed channel factory} are set,
the channel will come from the multiplexer and properties
{@link #setPartitionConfig(Element) partitionConfig} and
{@link #setPartitionProperties(String) partitionProperties} will be
ingored.
|
public void | setNodeAddress(java.net.InetAddress address)
|
public void | setNodeName(java.lang.String node)
|
public void | setPartitionConfig(org.w3c.dom.Element config)A write-only attribute that allows for an xml specification of the
PartitionProperties string. For example, a string like:
UDP(mcast_addr=228.1.2.3):PING(timeout=2000):MERGE2(min_interval=5000;max_interval=10000):FD"
would be specified in xml as:
Ignored if the {@link #setMultiplexer(JChannelFactoryMBean) multiplexer} is
used.
|
public void | setPartitionName(java.lang.String newName)
|
public void | setPartitionProperties(java.lang.String newProps)
|
public void | setStateTransferTimeout(long timeout)
|
public java.lang.String | showHistory()
|
public java.lang.String | showHistoryAsXML()
|
public void | startChannelDebugger()
|
public void | startChannelDebugger(boolean accumulative)
|
public void | stopChannelDebugger()
|