Bill,

If you addd <cluster class="
org.apache.axis2.cluster.tribes.TribesClusterManager"> you will get
replication.
you can also just plug in any  ClusterManager impl and the code will
delegate to your impl.

If that entry is missing the calls to ClusterManager goes to
NullClusterManager which does nothing.
Absolutely no performance implications (other than calling an empty method
:)

Regards,

Rajith Attapattu
Red Hat.

On 2/6/07, Bill Nagy <[EMAIL PROTECTED]> wrote:

What is the cost of this going to be for someone who doesn't want
clustering/this particular approach to clustering?  I can't infer much
from the interface -- exactly which respective events are you referring
to?

-Bill


On Thu, 2007-02-01 at 23:16 +0530, Chamikara Jayalath wrote:
> At initiation Axis2 will load a ClusterManager implementation object
> (if configured) and will call the methods of it whenever respective
> events occur.
>
> Chamikara
>
>
> [1] ClusterManager interface
>
> public abstract class ClusterManager {
>
>     public abstract void init (ConfigurationContext context);
>     public abstract void addContext (AbstractContext context);
>     public abstract void removeContext (AbstractContext context);
>     public abstract void addProperty (AbstractContext context, String
> propertyName, Object  propertyValue);
>     public abstract void removeProperty (AbstractContext context,
> String propertyName);
>     public abstract void touchProperty (AbstractContext context,
> String propertyName);
>     public abstract void commit ();
>
> }
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to