com.atomikos.icatch.provider
Class ConfigProperties

java.lang.Object
  extended by com.atomikos.icatch.provider.ConfigProperties

public final class ConfigProperties
extends Object


Field Summary
static String CHECKPOINT_INTERVAL
           
static String ENABLE_LOGGING_PROPERTY_NAME
           
static String FILE_PATH_PROPERTY_NAME
           
static String FORCE_SHUTDOWN_ON_VM_EXIT_PROPERTY_NAME
           
static String LOG_BASE_DIR_PROPERTY_NAME
           
static String LOG_BASE_NAME_PROPERTY_NAME
           
static String MAX_ACTIVES_PROPERTY_NAME
           
static String MAX_TIMEOUT_PROPERTY_NAME
           
static String THREADED_2PC_PROPERTY_NAME
           
static String TM_UNIQUE_NAME_PROPERTY_NAME
           
 
Constructor Summary
ConfigProperties(Properties properties)
           
 
Method Summary
 void applyUserSpecificProperties(Properties userSpecificProperties)
           
 boolean getAllowSubTransactions()
           
 boolean getAsBoolean(String name)
           
 int getAsInt(String name)
           
 long getAsLong(String name)
           
 long getCheckpointInterval()
           
 Properties getCompletedProperties()
           
 boolean getEnableLogging()
           
 boolean getForceShutdownOnVmExit()
           
 long getForgetOrphanedLogEntriesDelay()
           
 String getLogBaseDir()
           
 String getLogBaseName()
           
 int getMaxActives()
           
 long getMaxTimeout()
           
 int getOltpMaxRetries()
           
 long getOltpRetryInterval()
           
 String getProperty(String name)
           
 long getRecoveryDelay()
           
 boolean getThreaded2pc()
           
 String getTmUniqueName()
           
 void setProperty(String name, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TM_UNIQUE_NAME_PROPERTY_NAME

public static final String TM_UNIQUE_NAME_PROPERTY_NAME
See Also:
Constant Field Values

LOG_BASE_DIR_PROPERTY_NAME

public static final String LOG_BASE_DIR_PROPERTY_NAME
See Also:
Constant Field Values

LOG_BASE_NAME_PROPERTY_NAME

public static final String LOG_BASE_NAME_PROPERTY_NAME
See Also:
Constant Field Values

ENABLE_LOGGING_PROPERTY_NAME

public static final String ENABLE_LOGGING_PROPERTY_NAME
See Also:
Constant Field Values

MAX_TIMEOUT_PROPERTY_NAME

public static final String MAX_TIMEOUT_PROPERTY_NAME
See Also:
Constant Field Values

MAX_ACTIVES_PROPERTY_NAME

public static final String MAX_ACTIVES_PROPERTY_NAME
See Also:
Constant Field Values

THREADED_2PC_PROPERTY_NAME

public static final String THREADED_2PC_PROPERTY_NAME
See Also:
Constant Field Values

FORCE_SHUTDOWN_ON_VM_EXIT_PROPERTY_NAME

public static final String FORCE_SHUTDOWN_ON_VM_EXIT_PROPERTY_NAME
See Also:
Constant Field Values

FILE_PATH_PROPERTY_NAME

public static final String FILE_PATH_PROPERTY_NAME
See Also:
Constant Field Values

CHECKPOINT_INTERVAL

public static final String CHECKPOINT_INTERVAL
See Also:
Constant Field Values
Constructor Detail

ConfigProperties

public ConfigProperties(Properties properties)
Method Detail

getProperty

public String getProperty(String name)

setProperty

public void setProperty(String name,
                        String value)

getAsBoolean

public boolean getAsBoolean(String name)

getAsInt

public int getAsInt(String name)

getAsLong

public long getAsLong(String name)

getTmUniqueName

public String getTmUniqueName()

getLogBaseDir

public String getLogBaseDir()

getLogBaseName

public String getLogBaseName()

getEnableLogging

public boolean getEnableLogging()

getMaxTimeout

public long getMaxTimeout()

getMaxActives

public int getMaxActives()

getThreaded2pc

public boolean getThreaded2pc()

getCheckpointInterval

public long getCheckpointInterval()

applyUserSpecificProperties

public void applyUserSpecificProperties(Properties userSpecificProperties)

getCompletedProperties

public Properties getCompletedProperties()

getForceShutdownOnVmExit

public boolean getForceShutdownOnVmExit()

getForgetOrphanedLogEntriesDelay

public long getForgetOrphanedLogEntriesDelay()

getOltpMaxRetries

public int getOltpMaxRetries()

getOltpRetryInterval

public long getOltpRetryInterval()

getRecoveryDelay

public long getRecoveryDelay()

getAllowSubTransactions

public boolean getAllowSubTransactions()


Copyright © 2016. All Rights Reserved.