|
||||||||||
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. |
List<String> |
getExpiryScannerClassNames()
Returns a list of names of classes that implement ExpiryScanner. |
List<ExpiryScanner> |
getExpiryScanners()
Returns the set of ExpiryScanner instances. |
int |
getPeriodicRecoveryPeriod()
Returns the interval between recovery scans, in seconds. |
List<String> |
getRecoveryActivatorClassNames()
Returns a list of names of classes that implement RecoveryActivator. |
List<RecoveryActivator> |
getRecoveryActivators()
Returns the set of RecoveryActivator instances. |
String |
getRecoveryAddress()
Returns the hostname on which the recovery listener should bind. |
int |
getRecoveryBackoffPeriod()
Returns the interval between recovery phases within a recovery scan, in seconds. |
List<String> |
getRecoveryModuleClassNames()
Returns a list of names of classes that implement RecoveryModule. |
List<RecoveryModule> |
getRecoveryModules()
Returns the set of RecoveryModule instances. |
int |
getRecoveryPort()
Returns the network port number on which the recovery listener should bind. |
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 |
setExpiryScannerClassNames(List<String> expiryScannerClassNames)
Sets the expiry scanners. |
void |
setExpiryScanners(List<ExpiryScanner> expiryScanners)
Sets the instances of ExpiryScanner. |
void |
setPeriodicRecoveryPeriod(int periodicRecoveryPeriod)
Sets the interval between recovery scans, in seconds. |
void |
setRecoveryActivatorClassNames(List<String> recoveryActivatorClassNames)
Sets the recovery activators. |
void |
setRecoveryActivators(List<RecoveryActivator> recoveryActivators)
Sets the instances of RecoveryActivator. |
void |
setRecoveryAddress(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 |
setRecoveryInetAddress(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 |
setRecoveryModuleClassNames(List<String> recoveryModuleClassNames)
Sets the recovery modules. |
void |
setRecoveryModules(List<RecoveryModule> recoveryModules)
Sets the instances of RecoveryModule. |
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(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(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)
periodicRecoveryPeriod
- the recovery scan period, in seconds.public int getRecoveryBackoffPeriod()
getRecoveryBackoffPeriod
in interface RecoveryEnvironmentBeanMBean
public void setRecoveryBackoffPeriod(int recoveryBackoffPeriod)
recoveryBackoffPeriod
- the interval between recovery scan phases, in seconds.public boolean isRecoveryListener()
isRecoveryListener
in interface RecoveryEnvironmentBeanMBean
public void setRecoveryListener(boolean recoveryListener)
recoveryListener
- true for network use, false for local JVM only.public int getRecoveryPort()
getRecoveryPort
in interface RecoveryEnvironmentBeanMBean
public void setRecoveryPort(int recoveryPort)
recoveryPort
- the port number for the recovery listener.public String getRecoveryAddress()
getRecoveryAddress
in interface RecoveryEnvironmentBeanMBean
public void setRecoveryAddress(String recoveryAddress)
recoveryAddress
- the hostname on which the recovery system will listen.public void setRecoveryInetAddress(InetAddress inetAddress)
inetAddress
- the address on which to bind the recovery listener.public int getTransactionStatusManagerPort()
getTransactionStatusManagerPort
in interface RecoveryEnvironmentBeanMBean
public void setTransactionStatusManagerPort(int transactionStatusManagerPort)
transactionStatusManagerPort
- the port number for the transaction status manager listener.public String getTransactionStatusManagerAddress()
getTransactionStatusManagerAddress
in interface RecoveryEnvironmentBeanMBean
public void setTransactionStatusManagerAddress(String transactionStatusManagerAddress)
transactionStatusManagerAddress
- the hostname on which the transaction status manager will listen.public void setTransactionStatusManagerInetAddress(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)
expiryScanInterval
- the interval between ObjectStore expiry checks, in hours.public int getTransactionStatusManagerExpiryTime()
getTransactionStatusManagerExpiryTime
in interface RecoveryEnvironmentBeanMBean
public void setTransactionStatusManagerExpiryTime(int transactionStatusManagerExpiryTime)
transactionStatusManagerExpiryTime
- the expiry timeout, in hours.public List<String> getExpiryScannerClassNames()
getExpiryScannerClassNames
in interface RecoveryEnvironmentBeanMBean
public void setExpiryScannerClassNames(List<String> expiryScannerClassNames)
expiryScannerClassNames
- a list of ExpiryScanner implementation class names.public List<ExpiryScanner> getExpiryScanners()
public void setExpiryScanners(List<ExpiryScanner> expiryScanners)
expiryScanners
- the set of ExpiryScanner instances.public List<String> getRecoveryModuleClassNames()
getRecoveryModuleClassNames
in interface RecoveryEnvironmentBeanMBean
public void setRecoveryModuleClassNames(List<String> recoveryModuleClassNames)
recoveryModuleClassNames
- a list of RecoveryModule implementation class names.public List<RecoveryModule> getRecoveryModules()
public void setRecoveryModules(List<RecoveryModule> recoveryModules)
recoveryModules
- the set of RecoveryModule instances.public List<String> getRecoveryActivatorClassNames()
getRecoveryActivatorClassNames
in interface RecoveryEnvironmentBeanMBean
public void setRecoveryActivatorClassNames(List<String> recoveryActivatorClassNames)
recoveryActivatorClassNames
- a list of RecoveryActivator implementation class names.public List<RecoveryActivator> getRecoveryActivators()
public void setRecoveryActivators(List<RecoveryActivator> recoveryActivators)
recoveryActivators
- the set of RecoveryActivator instances.public boolean isTimeoutSocket()
isTimeoutSocket
in interface RecoveryEnvironmentBeanMBean
public void setTimeoutSocket(boolean timeoutSocket)
timeoutSocket
- true to enable timeouts, false to disable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |