xmlBlaster 2.1.0 API

org.xmlBlaster.util.qos.storage
Class HistoryQueueProperty

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

public class HistoryQueueProperty
extends QueuePropertyBase

Helper class holding history queue properties.

See ConnectQos for XML sysntax.

See Also:
ConnectQos

Field Summary
private static java.util.logging.Logger log
           
private static java.lang.String ME
           
 
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
HistoryQueueProperty(Global glob, java.lang.String nodeId)
           
 
Method Summary
 java.lang.String getSettings()
          Show some important settings for logging
static void main(java.lang.String[] args)
          For testing: java org.xmlBlaster.engine.helper.HistoryQueueProperty
 boolean onOverflowDeadMessage()
           
 java.lang.String usage(java.lang.String headerline)
          Get a usage string for queue configuration (in xmlBlaster.properties or on command line)
 
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, getRootTagName, getStoreSwapBytes, getStoreSwapLevel, getType, getTypeVersion, getVersion, initialize, isEmbedded, onFailureDeadMessage, setDebug, setEmbedded, setMaxBytes, setMaxBytesCache, setMaxEntries, setMaxEntriesCache, setOnFailure, setOnOverflow, setRelating, setReloadSwapBytes, setReloadSwapLevel, setStoreSwapBytes, setStoreSwapLevel, setType, setVersion, startElement, toXml, toXml, usage
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ME

private static final java.lang.String ME
See Also:
Constant Field Values

log

private static java.util.logging.Logger log
Constructor Detail

HistoryQueueProperty

public HistoryQueueProperty(Global glob,
                            java.lang.String nodeId)
Parameters:
nodeId - If not null, the command line properties will look for prop[nodeId] as well, e.g. -queue/history/maxEntries and -/node/heron/queue/history/maxEntries will be searched
Method Detail

getSettings

public final java.lang.String getSettings()
Show some important settings for logging


onOverflowDeadMessage

public final boolean onOverflowDeadMessage()

usage

public java.lang.String usage(java.lang.String headerline)
Get a usage string for queue configuration (in xmlBlaster.properties or on command line)

Overrides:
usage in class QueuePropertyBase

main

public static void main(java.lang.String[] args)
For testing: java org.xmlBlaster.engine.helper.HistoryQueueProperty


xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.