Java Doc for ClusterPartitionMBean.java in  » EJB-Server-JBoss-4.2.1 » cluster » org » jboss » ha » framework » server » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server JBoss 4.2.1 » cluster » org.jboss.ha.framework.server 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jboss.ha.framework.server.ClusterPartitionMBean

All known Subclasses:   org.jboss.ha.framework.server.ClusterPartition,
ClusterPartitionMBean
public interface ClusterPartitionMBean extends org.jboss.system.ServiceMBean(Code)
Management Bean for Cluster HAPartitions. It will start a JGroups channel and initialize the ReplicantManager and DistributedStateService.
author:
   Bill Burke.
author:
   Sacha Labourey.
version:
   $Revision: 60110 $
version:
  

Revisions:



Field Summary
 ObjectNameOBJECT_NAME
    


Method Summary
public  booleangetAllowSynchronousMembershipNotifications()
     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.
 VectorgetCurrentView()
    
 booleangetDeadlockDetection()
    
 HAPartitiongetHAPartition()
    
 StringgetJGroupsVersion()
    
 longgetMethodCallTimeout()
    
 JChannelFactoryMBeangetMultiplexer()
     Gets the multiplexer channel factory that should be used to create the JGroups channel.
 StringgetMultiplexerStack()
     Gets the name of the protocol stack the multiplexer channel factory should use to create the JGroups channel.
 InetAddressgetNodeAddress()
    
 StringgetNodeName()
     Uniquely identifies this node.
 StringgetPartitionName()
     Name of the partition being built.
 StringgetPartitionProperties()
    
 longgetStateTransferTimeout()
    
public  voidsetAllowSynchronousMembershipNotifications(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.
 voidsetDeadlockDetection(boolean doit)
    
 voidsetMethodCallTimeout(long timeout)
    
 voidsetMultiplexer(JChannelFactoryMBean muxFactory)
     Sets the multiplexer channel factory that should be used to create the JGroups channel.
 voidsetMultiplexerStack(String stackName)
     Sets the name of the protocol stack the multiplexer channel factory should use to create the JGroups channel.
 voidsetNodeAddress(InetAddress address)
    
 voidsetNodeName(String node)
    
 voidsetPartitionConfig(Element config)
     A write-only attribute that allows for an xml specification of the PartitionProperties string.
 voidsetPartitionName(String newName)
    
 voidsetPartitionProperties(String newProps)
    
 voidsetStateTransferTimeout(long timeout)
    
 StringshowHistory()
    
 StringshowHistoryAsXML()
    
 voidstartChannelDebugger()
    
 voidstartChannelDebugger(boolean accumulative)
    
 voidstopChannelDebugger()
    

Field Detail
OBJECT_NAME
ObjectName OBJECT_NAME(Code)





Method Detail
getAllowSynchronousMembershipNotifications
public boolean getAllowSynchronousMembershipNotifications()(Code)
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). true if registered listeners that don't implementAsynchHAMembershipExtendedListener orAsynchHAMembershipListener will be notifiedsynchronously of membership changes; false ifthose listeners will be notified asynchronously. Defaultis false.



getCurrentView
Vector getCurrentView()(Code)
Return the list of member nodes that built from the current view A Vector Strings representing the host:port values of the nodes



getDeadlockDetection
boolean getDeadlockDetection()(Code)
Determine if deadlock detection is enabled



getHAPartition
HAPartition getHAPartition()(Code)
Access to the underlying HAPartition without going through JNDI the HAPartition for the cluster service



getJGroupsVersion
String getJGroupsVersion()(Code)
The version of JGroups this is running on



getMethodCallTimeout
long getMethodCallTimeout()(Code)
Max time (in ms) to wait for synchronous group method calls ( HAPartition.callMethodOnCluster(StringStringObject[]Class[]boolean) )



getMultiplexer
JChannelFactoryMBean getMultiplexer()(Code)
Gets the multiplexer channel factory that should be used to create the JGroups channel. the multiplexed channel factory, or null ifone isn't configured



getMultiplexerStack
String getMultiplexerStack()(Code)
Gets the name of the protocol stack the multiplexer channel factory should use to create the JGroups channel. the stack name, or null



getNodeAddress
InetAddress getNodeAddress()(Code)
The node address used to generate the node name



getNodeName
String getNodeName()(Code)
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)



getPartitionName
String getPartitionName()(Code)
Name of the partition being built. All nodes/services belonging to a partition with the same name are clustered together.



getPartitionProperties
String getPartitionProperties()(Code)
Get JGroups property string a la JDBC see JGroups web site for more information the protocol stack used by this ClusterPartition, or nullif the ClusterPartitionMBean.setMultiplexer(JChannelFactoryMBean) multiplexer isconfigured but the channel has not been created yet.



getStateTransferTimeout
long getStateTransferTimeout()(Code)



setAllowSynchronousMembershipNotifications
public void setAllowSynchronousMembershipNotifications(boolean allowSync)(Code)
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).
Parameters:
  allowSync - true if registered listeners that don't implement AsynchHAMembershipExtendedListener orAsynchHAMembershipListener should be notifiedsynchronously of membership changes; false ifthose listeners can be notified asynchronously. Defaultis false.



setDeadlockDetection
void setDeadlockDetection(boolean doit)(Code)



setMethodCallTimeout
void setMethodCallTimeout(long timeout)(Code)



setMultiplexer
void setMultiplexer(JChannelFactoryMBean muxFactory)(Code)
Sets the multiplexer channel factory that should be used to create the JGroups channel. If this and a ClusterPartitionMBean.setMultiplexerStack() multiplexer stack name are set, the channel will come from the multiplexer and properties ClusterPartitionMBean.setPartitionConfig(Element) partitionConfig and ClusterPartitionMBean.setPartitionProperties(String) partitionProperties will be ingored.



setMultiplexerStack
void setMultiplexerStack(String stackName)(Code)
Sets the name of the protocol stack the multiplexer channel factory should use to create the JGroups channel. If this and a ClusterPartitionMBean.setMultiplexer() multiplexed channel factory are set, the channel will come from the multiplexer and properties ClusterPartitionMBean.setPartitionConfig(Element) partitionConfig and ClusterPartitionMBean.setPartitionProperties(String) partitionProperties will be ingored.
Parameters:
  stackName - the name of one of the protocols stacks includedin the multiplexed channel factor's configuration



setNodeAddress
void setNodeAddress(InetAddress address)(Code)



setNodeName
void setNodeName(String node) throws Exception(Code)



setPartitionConfig
void setPartitionConfig(Element config)(Code)
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 ClusterPartitionMBean.setMultiplexer(JChannelFactoryMBean) multiplexer is used.




setPartitionName
void setPartitionName(String newName)(Code)



setPartitionProperties
void setPartitionProperties(String newProps)(Code)



setStateTransferTimeout
void setStateTransferTimeout(long timeout)(Code)



showHistory
String showHistory()(Code)



showHistoryAsXML
String showHistoryAsXML()(Code)



startChannelDebugger
void startChannelDebugger()(Code)



startChannelDebugger
void startChannelDebugger(boolean accumulative)(Code)



stopChannelDebugger
void stopChannelDebugger()(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.