com.waveset.session
Class CacheConfig
java.lang.Object
com.waveset.util.AbstractXmlObject
com.waveset.session.CacheConfig
- All Implemented Interfaces:
- javax.naming.Referenceable, XmlObject
- public class CacheConfig
- extends AbstractXmlObject
Constructor Summary |
CacheConfig()
Build an empty object, ready for filling. |
CacheConfig(org.w3c.dom.Element e)
Build a CacheConfig object by parsing its DOM representation. |
Methods inherited from class com.waveset.util.AbstractXmlObject |
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
ELEMENT
public static final java.lang.String ELEMENT
- Our XML element name.
- See Also:
- Constant Field Values
LIST_SYNCHRONIZATION_ENABLED_WRAPPER
public static final java.lang.String LIST_SYNCHRONIZATION_ENABLED_WRAPPER
- See Also:
- Constant Field Values
UPDATE_POLL_RATE_WRAPPER
public static final java.lang.String UPDATE_POLL_RATE_WRAPPER
- See Also:
- Constant Field Values
DELETE_POLL_RATE_WRAPPER
public static final java.lang.String DELETE_POLL_RATE_WRAPPER
- See Also:
- Constant Field Values
_singleton
protected static CacheConfig _singleton
ATT_NAME
public static final java.lang.String ATT_NAME
- See Also:
- Constant Field Values
CacheConfig
public CacheConfig()
- Build an empty object, ready for filling.
CacheConfig
public CacheConfig(org.w3c.dom.Element e)
throws WavesetException
- Build a CacheConfig object by parsing its DOM representation.
Required by XmlObject.
getElementName
public java.lang.String getElementName()
- Return our XML element name, required by XmlObject.
- Specified by:
getElementName
in interface XmlObject
- Specified by:
getElementName
in class AbstractXmlObject
getCacheConfig
public static CacheConfig getCacheConfig(com.waveset.repository.Repository repo)
throws WavesetException
- Throws:
WavesetException
listSynchronizationEnabled
public static boolean listSynchronizationEnabled()
throws WavesetException
- Throws:
WavesetException
getUpdatePollRate
public static long getUpdatePollRate()
throws WavesetException
- Throws:
WavesetException
getDeletePollRate
public static long getDeletePollRate()
throws WavesetException
- Throws:
WavesetException
toXml
public void toXml(java.lang.StringBuffer b,
int indent)
- Serialize the object to an XML buffer.
- Specified by:
toXml
in interface XmlObject
- Specified by:
toXml
in class AbstractXmlObject