edu.sc.seis.sod
Class RunProperties

java.lang.Object
  extended by edu.sc.seis.sod.RunProperties

public class RunProperties
extends java.lang.Object


Field Summary
static java.lang.String AT_LEAST_ONCE
           
static java.lang.String AT_MOST_ONCE
           
static TimeInterval DAYS_180
           
static java.lang.String DONT_RESTART
           
static TimeInterval NO_TIME
           
static TimeInterval ONE_WEEK
           
static TimeInterval TEN_MIN
           
 
Constructor Summary
RunProperties()
           
 
Method Summary
 void addProperties(org.w3c.dom.Element el)
           
 boolean allowDeadNets()
           
 boolean checkpointPeriodically()
           
 boolean doStatusPages()
           
 java.lang.String getEventChannelPairProcessing()
           
 TimeInterval getEventLag()
           
 TimeInterval getEventQueryIncrement()
           
 TimeInterval getEventRefreshInterval()
           
 java.util.List getHibernateConfig()
           
 TimeInterval getMaxRetryDelay()
           
 int getNumWaveformWorkerThreads()
           
 java.lang.String getRunName()
           
 TimeInterval getSeismogramLatency()
           
 TimeInterval getServerRetryDelay()
           
 java.lang.String getStatusBaseDir()
           
 boolean isSkipAvailableData()
           
 boolean loserEventCleaner()
           
 boolean removeDatabase()
           
 boolean reopenEvents()
           
 boolean reopenSuspended()
           
 void setAllowDeadNets(boolean b)
           
 void setSkipAvailableData(boolean skipAvailableData)
           
 boolean warnIfDatabaseExists()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_TIME

public static final TimeInterval NO_TIME

ONE_WEEK

public static final TimeInterval ONE_WEEK

TEN_MIN

public static final TimeInterval TEN_MIN

DAYS_180

public static final TimeInterval DAYS_180

DONT_RESTART

public static final java.lang.String DONT_RESTART
See Also:
Constant Field Values

AT_LEAST_ONCE

public static final java.lang.String AT_LEAST_ONCE
See Also:
Constant Field Values

AT_MOST_ONCE

public static final java.lang.String AT_MOST_ONCE
See Also:
Constant Field Values
Constructor Detail

RunProperties

public RunProperties()
              throws ConfigurationException
Throws:
ConfigurationException
Method Detail

addProperties

public void addProperties(org.w3c.dom.Element el)
                   throws ConfigurationException
Throws:
ConfigurationException

getMaxRetryDelay

public TimeInterval getMaxRetryDelay()

getServerRetryDelay

public TimeInterval getServerRetryDelay()

getEventQueryIncrement

public TimeInterval getEventQueryIncrement()

getEventLag

public TimeInterval getEventLag()

getEventRefreshInterval

public TimeInterval getEventRefreshInterval()

getSeismogramLatency

public TimeInterval getSeismogramLatency()

getRunName

public java.lang.String getRunName()

getStatusBaseDir

public java.lang.String getStatusBaseDir()

getNumWaveformWorkerThreads

public int getNumWaveformWorkerThreads()

reopenEvents

public boolean reopenEvents()

removeDatabase

public boolean removeDatabase()

warnIfDatabaseExists

public boolean warnIfDatabaseExists()

getEventChannelPairProcessing

public java.lang.String getEventChannelPairProcessing()

reopenSuspended

public boolean reopenSuspended()

doStatusPages

public boolean doStatusPages()

checkpointPeriodically

public boolean checkpointPeriodically()

loserEventCleaner

public boolean loserEventCleaner()

setAllowDeadNets

public void setAllowDeadNets(boolean b)

allowDeadNets

public boolean allowDeadNets()

isSkipAvailableData

public boolean isSkipAvailableData()

setSkipAvailableData

public void setSkipAvailableData(boolean skipAvailableData)

getHibernateConfig

public java.util.List getHibernateConfig()