Author: asmuts
Date: Sun Sep 11 21:29:12 2005
New Revision: 280255
URL: http://svn.apache.org/viewcvs?rev=280255&view=rev
Log:
Refactoring lateral manager and factory. The old model was to have one factory
and mananger know about all types of lateral. This created too many
dependencies
and forced lots of ad hoc logic into the managers. The new model will have
each lateral responsible for its own factory and manager. This keeps things
clean
and will allow laterals to ahve their own configuration settings. The old
attributes object had stuff for every lateral, but only a small subset applied
to any given lateral. This is a work in progress but it is almost done.
The new cache.ccf config for laterals will not be backward compatible, but the
changes will be minor. When it is done the version will be 1.3. After more
testing, this will be the release candidate major version.
I'm moving the javagroups stuff into to jdk1.4 specific jar.
The refactoring should be done in a few days. This will allow us to release a
1.3 core library
and a 1.4 extension jar.
Added:
jakarta/jcs/trunk/xdocs/LateralJavaGroupsAuxCache.xml
Added: jakarta/jcs/trunk/xdocs/LateralJavaGroupsAuxCache.xml
URL:
http://svn.apache.org/viewcvs/jakarta/jcs/trunk/xdocs/LateralJavaGroupsAuxCache.xml?rev=280255&view=auto
==============================================================================
--- jakarta/jcs/trunk/xdocs/LateralJavaGroupsAuxCache.xml (added)
+++ jakarta/jcs/trunk/xdocs/LateralJavaGroupsAuxCache.xml Sun Sep 11 21:29:12
2005
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+
+<document>
+ <properties>
+ <title>Lateral JGroups Auxiliary Cache</title>
+ <author email="[EMAIL PROTECTED]">Aaron Smuts</author>
+ </properties>
+
+ <body>
+ <section name="Lateral JGroups Auxiliary Cache">
+ <p>
+ The Lateral JGroups Auxiliary Cache is an optional plug in for
+ JCS. It is primarily intended to broadcast puts and removals to
+ other local caches, though it can also get cached objects. It uses
JGroups
+ for distribution.
+ </p>
+ <p>
+ The Lateral Lateral JGroups Auxiliary Cache is far slower than
+ that Lateral TCP Auxiliary Cache. Since the Lateral TCP
Auxiliary
+ is faster and has UDP discovery built in, the TCP auxiliary is
the recommended form of lateral
+ distribution. However, the JGroups Auxiliary requires fewer
socket connections than
+ the TCP lateral.
+ </p>
+ <p>
+ A functional configuration example is below:
+ </p>
+
+ <source><![CDATA[
+# Lateral JavaGroups Distribution
+jcs.auxiliary.LJG=org.apache.jcs.auxiliary.lateral.LateralCacheFactory
+jcs.auxiliary.LJG.attributes=org.apache.jcs.auxiliary.lateral.LateralCacheAttributes
+jcs.auxiliary.LJG.attributes.TransmissionTypeName=JAVAGROUPS
+jcs.auxiliary.LJG.attributes.PutOnlyMode=true
+jcs.auxiliary.LJG.attributes.JGChannelProperties=UDP(mcast_addr=224.0.0.100;mcast_port=7501):PING:FD:STABLE:NAKACK:UNICAST:FRAG:FLUSH:GMS:QUEUE
+ ]]></source>
+
+
+ </section>
+ </body>
+</document>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]