Java Doc for ClusterPartition.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.ClusterPartition

ClusterPartition
public class ClusterPartition extends ServiceMBeanSupport implements ClusterPartitionMBean(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: 62947 $


Field Summary
final public static  StringCHANNEL_JMX_ATTRIBUTES
    
final public static  StringJGROUPS_JMX_DOMAIN
    
final public static  StringPROTOCOL_JMX_ATTRIBUTES
    
protected  booleanallow_sync_events
    
protected  org.jgroups.JChannelchannel
    
protected  booleanchannelRegistered
    
protected  booleandeadlock_detection
    
protected  Debuggerdebugger
    
protected  StringjgProps
    
protected  longmethod_call_timeout
    
protected  JChannelFactoryMBeanmultiplexer
    
protected  InetAddressnodeAddress
    
protected  StringnodeName
    
protected  HAPartitionImplpartition
    
protected  StringpartitionName
    
protected  booleanprotocolsRegistered
    
protected  StringstackName
    
protected  longstate_transfer_timeout
     Number of milliseconds to wait until state has been transferred.
protected  booleanuse_debugger
    


Method Summary
protected  HAPartitionImplcreatePartition()
     Extension point meant for test cases; instantiates the HAPartitionImpl.
protected  voidcreateService()
    
protected  voiddestroyService()
    
protected  StringgenerateUniqueNodeName()
    
public  booleangetAllowSynchronousMembershipNotifications()
    
public  VectorgetCurrentView()
    
public  booleangetDeadlockDetection()
    
public  HAPartitiongetHAPartition()
    
public  StringgetJGroupsVersion()
    
public  longgetMethodCallTimeout()
    
public  JChannelFactoryMBeangetMultiplexer()
    
public  StringgetMultiplexerStack()
    
public  StringgetName()
    
public  InetAddressgetNodeAddress()
    
public  StringgetNodeName()
     Uniquely identifies this node.
protected  ObjectNamegetObjectName(MBeanServer server, ObjectName name)
    
public  StringgetPartitionName()
    
public  StringgetPartitionProperties()
    
public  longgetStateTransferTimeout()
    
protected  voidregisterChannelInJmx()
    
public  voidsetAllowSynchronousMembershipNotifications(boolean allowSync)
    
public  voidsetDeadlockDetection(boolean doit)
    
public  voidsetMethodCallTimeout(long timeout)
    
public  voidsetMultiplexer(JChannelFactoryMBean muxFactory)
    
public  voidsetMultiplexerStack(String stackName)
    
public  voidsetNodeAddress(InetAddress address)
    
public  voidsetNodeName(String node)
    
public  voidsetPartitionConfig(Element config)
    
public  voidsetPartitionName(String newName)
    
public  voidsetPartitionProperties(String newProps)
    
public  voidsetStateTransferTimeout(long timeout)
    
public  StringshowHistory()
    
public  StringshowHistoryAsXML()
    
public  voidstartChannelDebugger()
    
public  voidstartChannelDebugger(boolean accumulative)
    
protected  voidstartService()
    
public  voidstopChannelDebugger()
    
protected  voidstopService()
    
protected  voidunregisterChannelFromJmx()
    

Field Detail
CHANNEL_JMX_ATTRIBUTES
final public static String CHANNEL_JMX_ATTRIBUTES(Code)



JGROUPS_JMX_DOMAIN
final public static String JGROUPS_JMX_DOMAIN(Code)



PROTOCOL_JMX_ATTRIBUTES
final public static String PROTOCOL_JMX_ATTRIBUTES(Code)



allow_sync_events
protected boolean allow_sync_events(Code)



channel
protected org.jgroups.JChannel channel(Code)



channelRegistered
protected boolean channelRegistered(Code)



deadlock_detection
protected boolean deadlock_detection(Code)



debugger
protected Debugger debugger(Code)



jgProps
protected String jgProps(Code)



method_call_timeout
protected long method_call_timeout(Code)



multiplexer
protected JChannelFactoryMBean multiplexer(Code)



nodeAddress
protected InetAddress nodeAddress(Code)



nodeName
protected String nodeName(Code)



partition
protected HAPartitionImpl partition(Code)



partitionName
protected String partitionName(Code)



protocolsRegistered
protected boolean protocolsRegistered(Code)



stackName
protected String stackName(Code)



state_transfer_timeout
protected long state_transfer_timeout(Code)
Number of milliseconds to wait until state has been transferred. Increase this value for large states 0 = wait forever



use_debugger
protected boolean use_debugger(Code)





Method Detail
createPartition
protected HAPartitionImpl createPartition() throws Exception(Code)
Extension point meant for test cases; instantiates the HAPartitionImpl. Test cases can instantiate their own subclass of HAPartitionImpl.



createService
protected void createService() throws Exception(Code)



destroyService
protected void destroyService() throws Exception(Code)



generateUniqueNodeName
protected String generateUniqueNodeName() throws Exception(Code)



getAllowSynchronousMembershipNotifications
public boolean getAllowSynchronousMembershipNotifications()(Code)



getCurrentView
public 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
public boolean getDeadlockDetection()(Code)



getHAPartition
public HAPartition getHAPartition()(Code)



getJGroupsVersion
public String getJGroupsVersion()(Code)



getMethodCallTimeout
public long getMethodCallTimeout()(Code)



getMultiplexer
public JChannelFactoryMBean getMultiplexer()(Code)



getMultiplexerStack
public String getMultiplexerStack()(Code)



getName
public String getName()(Code)



getNodeAddress
public InetAddress getNodeAddress()(Code)



getNodeName
public String getNodeName()(Code)
Uniquely identifies this node. MUST be unique accros the whole cluster! Cannot be changed once the partition has been started



getObjectName
protected ObjectName getObjectName(MBeanServer server, ObjectName name) throws MalformedObjectNameException(Code)



getPartitionName
public String getPartitionName()(Code)



getPartitionProperties
public String getPartitionProperties()(Code)



getStateTransferTimeout
public long getStateTransferTimeout()(Code)



registerChannelInJmx
protected void registerChannelInJmx()(Code)



setAllowSynchronousMembershipNotifications
public void setAllowSynchronousMembershipNotifications(boolean allowSync)(Code)



setDeadlockDetection
public void setDeadlockDetection(boolean doit)(Code)



setMethodCallTimeout
public void setMethodCallTimeout(long timeout)(Code)



setMultiplexer
public void setMultiplexer(JChannelFactoryMBean muxFactory)(Code)



setMultiplexerStack
public void setMultiplexerStack(String stackName)(Code)



setNodeAddress
public void setNodeAddress(InetAddress address)(Code)



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



setPartitionConfig
public void setPartitionConfig(Element config)(Code)
Convert a list of elements to the JG property string



setPartitionName
public void setPartitionName(String newName)(Code)



setPartitionProperties
public void setPartitionProperties(String newProps)(Code)



setStateTransferTimeout
public void setStateTransferTimeout(long timeout)(Code)



showHistory
public String showHistory()(Code)



showHistoryAsXML
public String showHistoryAsXML()(Code)



startChannelDebugger
public void startChannelDebugger()(Code)



startChannelDebugger
public void startChannelDebugger(boolean accumulative)(Code)



startService
protected void startService() throws Exception(Code)



stopChannelDebugger
public void stopChannelDebugger()(Code)



stopService
protected void stopService() throws Exception(Code)



unregisterChannelFromJmx
protected void unregisterChannelFromJmx()(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.