|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arjuna.ats.arjuna.common.RecoveryEnvironmentBean
public class RecoveryEnvironmentBean
A JavaBean containing configuration properties for the recovery system.
Constructor Summary | |
---|---|
RecoveryEnvironmentBean()
|
Method Summary | |
---|---|
int |
getExpiryScanInterval()
Returns the interval on which the ObjectStore will be scanned for expired items, in hours. |
java.util.List<java.lang.String> |
getExpiryScanners()
Returns a list of names of classes that implement ExpiryScanner. |
int |
getPeriodicRecoveryPeriod()
Returns the interval between recovery scans, in seconds. |
java.util.List<java.lang.String> |
getRecoveryActivators()
Returns a list of names of classes that implement RecoveryActivator. |
java.lang.String |
getRecoveryAddress()
Returns the hostname on which the recovery listener shoud bind. |
int |
getRecoveryBackoffPeriod()
Returns the interval between recovery phases within a recovery scan, in seconds. |
java.util.List<java.lang.String> |
getRecoveryExtensions()
Returns a list of names of classes that implement RecoveryModule. |
int |
getRecoveryPort()
Returns the network port number on which the recovery listener should bind. |
java.lang.String |
getTransactionStatusManagerAddress()
Returns the hostname on which the transaction status manager should bind. |
int |
getTransactionStatusManagerExpiryTime()
Returns the time period after which items will be considered to have expired, in hours. |
int |
getTransactionStatusManagerPort()
Returns the network port number on which the transaction status manager should bind. |
boolean |
isRecoveryListener()
Returns true if the recovery system should listen on a network socket. |
boolean |
isTimeoutSocket()
Returns true if SO_TIMEOUT should be set on Listener socket instances. |
void |
setExpiryScanInterval(int expiryScanInterval)
Sets the interval on which the ObjectStore will be scanned for expired items, in hours. |
void |
setExpiryScanners(java.util.List<java.lang.String> expiryScanners)
Sets the expiry scanners. |
void |
setPeriodicRecoveryPeriod(int periodicRecoveryPeriod)
Sets the interval between recovery scans, in seconds. |
void |
setRecoveryActivators(java.util.List<java.lang.String> recoveryActivators)
Sets the recovery activators. |
void |
setRecoveryAddress(java.lang.String recoveryAddress)
Sets the hostname on which the recovery listener should bind. |
void |
setRecoveryBackoffPeriod(int recoveryBackoffPeriod)
Sets the interval between recovery phases, in seconds. |
void |
setRecoveryExtensions(java.util.List<java.lang.String> recoveryExtensions)
Sets the recovery modules. |
void |
setRecoveryInetAddress(java.net.InetAddress inetAddress)
Sets the InetAddress on which the recovery listener should bind. |
void |
setRecoveryListener(boolean recoveryListener)
Sets if the recovery system should listen on a network socket or not. |
void |
setRecoveryPort(int recoveryPort)
Sets the network port number on which the recovery listener should bind. |
void |
setTimeoutSocket(boolean timeoutSocket)
Sets the socket timeout behaviour of the Listener instances. |
void |
setTransactionStatusManagerAddress(java.lang.String transactionStatusManagerAddress)
Sets the hostname on which the transaction status manager should bind. |
void |
setTransactionStatusManagerExpiryTime(int transactionStatusManagerExpiryTime)
Sets the time period after which items will be considered to have expired, in hours. |
void |
setTransactionStatusManagerInetAddress(java.net.InetAddress inetAddress)
Sets the InetAddress on which the transaction status manager should bind. |
void |
setTransactionStatusManagerPort(int transactionStatusManagerPort)
Sets the network port number on which the transaction status manager should bind. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecoveryEnvironmentBean()
Method Detail |
---|
public int getPeriodicRecoveryPeriod()
getPeriodicRecoveryPeriod
in interface RecoveryEnvironmentBeanMBean
public void setPeriodicRecoveryPeriod(int periodicRecoveryPeriod)
setPeriodicRecoveryPeriod
in interface RecoveryEnvironmentBeanMBean
periodicRecoveryPeriod
- the recovery scan period, in seconds.public int getRecoveryBackoffPeriod()
getRecoveryBackoffPeriod
in interface RecoveryEnvironmentBeanMBean
public void setRecoveryBackoffPeriod(int recoveryBackoffPeriod)
setRecoveryBackoffPeriod
in interface RecoveryEnvironmentBeanMBean
recoveryBackoffPeriod
- the interval between recovery scan phases, in seconds.public boolean isRecoveryListener()
isRecoveryListener
in interface RecoveryEnvironmentBeanMBean
public void setRecoveryListener(boolean recoveryListener)
setRecoveryListener
in interface RecoveryEnvironmentBeanMBean
recoveryListener
- true for network use, false for local JVM only.public int getRecoveryPort()
getRecoveryPort
in interface RecoveryEnvironmentBeanMBean
public void setRecoveryPort(int recoveryPort)
setRecoveryPort
in interface RecoveryEnvironmentBeanMBean
recoveryPort
- the port number for the recovery listener.public java.lang.String getRecoveryAddress()
getRecoveryAddress
in interface RecoveryEnvironmentBeanMBean
public void setRecoveryAddress(java.lang.String recoveryAddress)
setRecoveryAddress
in interface RecoveryEnvironmentBeanMBean
recoveryAddress
- the hostname on which the recovery system will listen.public void setRecoveryInetAddress(java.net.InetAddress inetAddress)
inetAddress
- the address on which to bind the recovery listener.public int getTransactionStatusManagerPort()
getTransactionStatusManagerPort
in interface RecoveryEnvironmentBeanMBean
public void setTransactionStatusManagerPort(int transactionStatusManagerPort)
setTransactionStatusManagerPort
in interface RecoveryEnvironmentBeanMBean
transactionStatusManagerPort
- the port number for the transaction status manager listener.public java.lang.String getTransactionStatusManagerAddress()
getTransactionStatusManagerAddress
in interface RecoveryEnvironmentBeanMBean
public void setTransactionStatusManagerAddress(java.lang.String transactionStatusManagerAddress)
setTransactionStatusManagerAddress
in interface RecoveryEnvironmentBeanMBean
transactionStatusManagerAddress
- the hostname on which the transaction status manager will listen.public void setTransactionStatusManagerInetAddress(java.net.InetAddress inetAddress)
inetAddress
- the address on which to bind the transaction status manager.public int getExpiryScanInterval()
getExpiryScanInterval
in interface RecoveryEnvironmentBeanMBean
public void setExpiryScanInterval(int expiryScanInterval)
setExpiryScanInterval
in interface RecoveryEnvironmentBeanMBean
expiryScanInterval
- the interval between ObjectStore expiry checks, in hours.public int getTransactionStatusManagerExpiryTime()
getTransactionStatusManagerExpiryTime
in interface RecoveryEnvironmentBeanMBean
public void setTransactionStatusManagerExpiryTime(int transactionStatusManagerExpiryTime)
setTransactionStatusManagerExpiryTime
in interface RecoveryEnvironmentBeanMBean
transactionStatusManagerExpiryTime
- the expiry timeout, in hours.public java.util.List<java.lang.String> getExpiryScanners()
getExpiryScanners
in interface RecoveryEnvironmentBeanMBean
public void setExpiryScanners(java.util.List<java.lang.String> expiryScanners)
setExpiryScanners
in interface RecoveryEnvironmentBeanMBean
expiryScanners
- a list of ExpiryScanner implementation class names.public java.util.List<java.lang.String> getRecoveryExtensions()
getRecoveryExtensions
in interface RecoveryEnvironmentBeanMBean
public void setRecoveryExtensions(java.util.List<java.lang.String> recoveryExtensions)
setRecoveryExtensions
in interface RecoveryEnvironmentBeanMBean
recoveryExtensions
- a list of RecoveryModule implementation class names.public java.util.List<java.lang.String> getRecoveryActivators()
getRecoveryActivators
in interface RecoveryEnvironmentBeanMBean
public void setRecoveryActivators(java.util.List<java.lang.String> recoveryActivators)
setRecoveryActivators
in interface RecoveryEnvironmentBeanMBean
recoveryActivators
- a list of RecoveryActivator implementation class names.public boolean isTimeoutSocket()
isTimeoutSocket
in interface RecoveryEnvironmentBeanMBean
public void setTimeoutSocket(boolean timeoutSocket)
setTimeoutSocket
in interface RecoveryEnvironmentBeanMBean
timeoutSocket
- true to enable timeouts, false to disable.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |