|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusterPartitionMBean
Management Bean for Cluster HAPartitions. It will start a JGroups channel and initialize the ReplicantManager and DistributedStateService.
Revisions:
Field Summary | |
---|---|
static javax.management.ObjectName |
OBJECT_NAME
|
Fields inherited from interface org.jboss.system.ServiceMBean |
---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary | |
---|---|
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. |
Vector |
getCurrentView()
Return the list of member nodes that built from the current view |
boolean |
getDeadlockDetection()
Determine if deadlock detection is enabled |
HAPartition |
getHAPartition()
Access to the underlying HAPartition without going through JNDI |
String |
getJGroupsVersion()
The version of JGroups this is running on |
long |
getMethodCallTimeout()
Max time (in ms) to wait for synchronous group method calls ( HAPartition.callMethodOnCluster(String, String, Object[], Class[], boolean) ) |
InetAddress |
getNodeAddress()
The node address used to generate the node name |
String |
getNodeName()
Uniquely identifies this node. |
String |
getPartitionName()
Name of the partition being built. |
String |
getPartitionProperties()
Get JGroups property string a la JDBC see JGroups web site for more information |
long |
getStateTransferTimeout()
|
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. |
void |
setDeadlockDetection(boolean doit)
|
void |
setMethodCallTimeout(long timeout)
|
void |
setNodeAddress(InetAddress address)
|
void |
setNodeName(String node)
|
void |
setPartitionConfig(Element config)
A write-only attribute that allows for an xml specification of the PartitionProperties string. |
void |
setPartitionName(String newName)
|
void |
setPartitionProperties(String newProps)
|
void |
setStateTransferTimeout(long timeout)
|
String |
showHistory()
|
String |
showHistoryAsXML()
|
void |
startChannelDebugger()
|
void |
startChannelDebugger(boolean accumulative)
|
void |
stopChannelDebugger()
|
Methods inherited from interface org.jboss.system.ServiceMBean |
---|
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Field Detail |
---|
static final javax.management.ObjectName OBJECT_NAME
Method Detail |
---|
String getPartitionName()
void setPartitionName(String newName)
String getPartitionProperties()
void setPartitionProperties(String newProps)
void setPartitionConfig(Element config)
String getNodeName()
void setNodeName(String node) throws Exception
Exception
InetAddress getNodeAddress()
void setNodeAddress(InetAddress address)
String getJGroupsVersion()
long getStateTransferTimeout()
void setStateTransferTimeout(long timeout)
long getMethodCallTimeout()
HAPartition.callMethodOnCluster(String, String, Object[], Class[], boolean)
)
void setMethodCallTimeout(long timeout)
boolean getDeadlockDetection()
void setDeadlockDetection(boolean doit)
boolean getAllowSynchronousMembershipNotifications()
true
if registered listeners that don't implement
AsynchHAMembershipExtendedListener
or
AsynchHAMembershipListener
will be notified
synchronously of membership changes; false
if
those listeners will be notified asynchronously. Default
is false
.void setAllowSynchronousMembershipNotifications(boolean allowSync)
allowSync
- true
if registered listeners that don't
implement AsynchHAMembershipExtendedListener
or
AsynchHAMembershipListener
should be notified
synchronously of membership changes; false
if
those listeners can be notified asynchronously. Default
is false
.HAPartition getHAPartition()
Vector getCurrentView()
String showHistory()
String showHistoryAsXML()
void startChannelDebugger()
void startChannelDebugger(boolean accumulative)
void stopChannelDebugger()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |