org.apache.jcs.auxiliary.javagroups
Class JavaGroupsCacheAttributes

java.lang.Object
  extended byorg.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
      extended byorg.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 ChannelFactoryimplementation 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

Field Summary
 
Fields inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
cacheName, eventQueuePoolName, eventQueueType, name
 
Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE
 
Constructor Summary
JavaGroupsCacheAttributes()
           
 
Method Summary
 java.lang.Object clone()
          Return a clone of this JavaGroupsCacheAttributes
 AuxiliaryCacheAttributes copy()
          Return a copy of this JavaGroupsCacheAttributes, cast to an AuxiliaryCacheAttributes
 java.lang.String getChannelFactoryClassName()
           
 java.lang.String getJGChannelProperties()
           
 boolean isGetFromPeers()
           
 void setChannelFactoryClassName(java.lang.String channelFactoryClassName)
           
 void setChannelProperties(java.lang.String channelProperties)
           
 void setGetFromPeers(boolean getFromPeers)
           
 
Methods inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
getCacheName, getEventQueuePoolName, getEventQueueType, getEventQueueTypeFactoryCode, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes
getCacheName, getEventQueuePoolName, getEventQueueType, getEventQueueTypeFactoryCode, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
 

Constructor Detail

JavaGroupsCacheAttributes

public JavaGroupsCacheAttributes()
Method Detail

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.