xmlBlaster 2.2.0 API

org.xmlBlaster.util.qos.storage
Class TopicStoreProperty

java.lang.Object
  extended by org.xmlBlaster.util.qos.storage.QueuePropertyBase
      extended by org.xmlBlaster.util.qos.storage.TopicStoreProperty
All Implemented Interfaces:
java.lang.Cloneable

public class TopicStoreProperty
extends QueuePropertyBase

Helper class holding properties of the Topics storage.

Theses properties are server side only and must be set before startup of xmlBlaster, e.g.:

 persistence/topicStore/maxEntries=1000000
 persistence/topicStore/maxEntriesCache=10
 

See Also:
The engine.persistence requirement

Field Summary
 
Fields inherited from class org.xmlBlaster.util.qos.storage.QueuePropertyBase
addressArr, c, debug, DEFAULT_bytesCacheDefault, DEFAULT_bytesDefault, DEFAULT_maxEntries, DEFAULT_maxEntriesCacheDefault, DEFAULT_onFailure, DEFAULT_onOverflow, DEFAULT_reloadSwapBytesRatio, DEFAULT_reloadSwapLevelRatio, DEFAULT_storeSwapBytesRatio, DEFAULT_storeSwapLevelRatio, DEFAULT_type, DEFAULT_version, EMPTY_ADDRESS_ARR, glob, maxBytes, maxBytesCache, maxBytesDefault, maxEntries, maxEntriesCache, maxEntriesCacheDefault, nodeId, onFailure, onOverflow, relating, reloadSwapBytes, reloadSwapLevel, storeSwapBytes, storeSwapLevel, type, version
 
Constructor Summary
TopicStoreProperty(Global glob, java.lang.String nodeId)
          Enforces a high default setting for maxEntries and maxBytes
 
Method Summary
 java.lang.String getRootTagName()
          The tag name for configuration, here it is <topicStore ...>
static void main(java.lang.String[] args)
          For testing: java org.xmlBlaster.util.qos.storage.TopicStoreProperty
 
Methods inherited from class org.xmlBlaster.util.qos.storage.QueuePropertyBase
checkConsistency, clone, getAddresses, getDebug, getGlobal, getMaxBytes, getMaxBytesCache, getMaxBytesCacheProp, getMaxBytesProp, getMaxEntries, getMaxEntriesCache, getMaxEntriesCacheProp, getMaxEntriesProp, getOnFailure, getOnOverflow, getPrefix, getPropertyPrefix, getPropName, getRelating, getReloadSwapBytes, getReloadSwapLevel, getStoreSwapBytes, getStoreSwapLevel, getType, getTypeVersion, getVersion, initialize, isEmbedded, onFailureDeadMessage, setDebug, setEmbedded, setMaxBytes, setMaxBytesCache, setMaxEntries, setMaxEntriesCache, setOnFailure, setOnOverflow, setRelating, setReloadSwapBytes, setReloadSwapLevel, setStoreSwapBytes, setStoreSwapLevel, setType, setVersion, startElement, toString, toXml, toXml, usage, usage
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TopicStoreProperty

public TopicStoreProperty(Global glob,
                          java.lang.String nodeId)
Enforces a high default setting for maxEntries and maxBytes

See Also:
QueuePropertyBase.QueuePropertyBase(Global, String)
Method Detail

getRootTagName

public java.lang.String getRootTagName()
The tag name for configuration, here it is <topicStore ...>

Overrides:
getRootTagName in class QueuePropertyBase

main

public static void main(java.lang.String[] args)
For testing: java org.xmlBlaster.util.qos.storage.TopicStoreProperty


xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.