org.apache.jcs.auxiliary.javagroups
Class JavaGroupsCacheAttributes
java.lang.Object
org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
org.apache.jcs.auxiliary.javagroups.JavaGroupsCacheAttributes
- All Implemented Interfaces:
- AuxiliaryCacheAttributes, java.lang.Cloneable, java.io.Serializable
- public class JavaGroupsCacheAttributes
- extends AbstractAuxiliaryCacheAttributes
- implements AuxiliaryCacheAttributes
Attributes used by JavaGroupsCacheFactory.createCache(org.apache.jcs.auxiliary.AuxiliaryCacheAttributes, org.apache.jcs.engine.control.CompositeCache)
to configure an
instance of JavaGroupsCache
.
Configurable Properties:
- channelFactoryClassName
- Name of an
ChannelFactory
implementation which will
be used to create the channel for the instance. Defaults to
JChannelFactory
.
- channelProperties
- A JavaGroups properties object which will be used by the channel to
create the protocol stack. Either a properties string, or the URL of a file
containing the properties in XML form is valid. Defaults to null which causes
the Channel implementation to use its defaults.
- Version:
- $Id: JavaGroupsCacheAttributes.java,v 1.2 2005/01/07 22:27:54 asmuts
Exp $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaGroupsCacheAttributes
public JavaGroupsCacheAttributes()
getChannelFactoryClassName
public java.lang.String getChannelFactoryClassName()
setChannelFactoryClassName
public void setChannelFactoryClassName(java.lang.String channelFactoryClassName)
getJGChannelProperties
public java.lang.String getJGChannelProperties()
setChannelProperties
public void setChannelProperties(java.lang.String channelProperties)
isGetFromPeers
public boolean isGetFromPeers()
setGetFromPeers
public void setGetFromPeers(boolean getFromPeers)
copy
public AuxiliaryCacheAttributes copy()
- Return a copy of this JavaGroupsCacheAttributes, cast to an
AuxiliaryCacheAttributes
- Specified by:
copy
in interface AuxiliaryCacheAttributes
clone
public java.lang.Object clone()
- Return a clone of this JavaGroupsCacheAttributes
Copyright © 2002-2005 Apache Software Foundation. All Rights Reserved.