[jboss-user] [Clustering/JBoss] - Re: Copying large files to members using JGroups
bstansberry@jboss.com
do-not-reply at jboss.com
Tue Dec 9 12:53:12 EST 2008
The JBoss AS 4.x Farm service does file copy over JGroups; perhaps some of the code will be useful. The class that does the actual work of moving files over the wire is
https://svn.jboss.org/repos/jbossas/branches/Branch_4_2/cluster/src/main/org/jboss/ha/framework/server/ClusterFileTransfer.java
This code uses the JBoss AS HAPartition, which for this usage is just a thin layer that calls through to JGroups' RpcDispatcher. You could code directly to RpcDispatcher. You can see how the HAPartition implementation calls through to RpcDispatcher at
https://svn.jboss.org/repos/jbossas/branches/Branch_4_2/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195404#4195404
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195404
More information about the jboss-user
mailing list