Interface RAConfigurationProfileCMP
-
- All Known Implementing Classes:
RAConfigurationProfile
@Profile(vendorExtensionID="correlation-config", description="RA Configuration profile", id=@ComponentId(name="@component.name@",vendor="@component.vendor@",version="@component.version@"), profileClasses=@ProfileClasses(profileLocal=@ProfileLocalInterface(interfaceName="com.opencloud.slee.resources.correlation.profile.RAConfigurationProfileLocal"),profileAbstractClass=@ProfileAbstractClass(className="com.opencloud.slee.resources.correlation.profile.RAConfigurationProfile"))) public interface RAConfigurationProfileCMP
Configuration parameters of the Correlation resource adaptor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCorrelationIDExpiryTimerPeriod()
Get the period of time after which the correlation IDs are considered expired and can be reused.int
getNumberOfThreadPool()
Get the number of threads of the pool that uses the RA to handle concurrent requests.long
getStateDistributionTimeout()
Get the state distribution timeout, the maximum time that the RA will allow for distributing correlation state to the cluster during a configuration update.void
setCorrelationIDExpiryTimerPeriod(long milisec)
Set the period of time after which the correlation IDs are considered expired and can be reused.void
setNumberOfThreadPool(int threads)
Set the number of threads of the pool that uses the RA to handle concurrent requests.void
setStateDistributionTimeout(long milisec)
Set the state distribution timeout, the maximum time that the RA will allow for distributing correlation state to the cluster during a configuration update.
-
-
-
Method Detail
-
getCorrelationIDExpiryTimerPeriod
long getCorrelationIDExpiryTimerPeriod()
Get the period of time after which the correlation IDs are considered expired and can be reused.- Returns:
- the correlation id expiry timer period (ms).
-
setCorrelationIDExpiryTimerPeriod
void setCorrelationIDExpiryTimerPeriod(long milisec)
Set the period of time after which the correlation IDs are considered expired and can be reused.- Parameters:
milisec
- the correlation id expiry timer period (ms).
-
getNumberOfThreadPool
int getNumberOfThreadPool()
Get the number of threads of the pool that uses the RA to handle concurrent requests.- Returns:
- the number of threads.
-
setNumberOfThreadPool
void setNumberOfThreadPool(int threads)
Set the number of threads of the pool that uses the RA to handle concurrent requests.- Parameters:
threads
- the number of threads.
-
getStateDistributionTimeout
long getStateDistributionTimeout()
Get the state distribution timeout, the maximum time that the RA will allow for distributing correlation state to the cluster during a configuration update. Correlation requests are suspended while state distribution is in progress.- Returns:
- the state distribution timeout (ms).
-
setStateDistributionTimeout
void setStateDistributionTimeout(long milisec)
Set the state distribution timeout, the maximum time that the RA will allow for distributing correlation state to the cluster during a configuration update. Correlation requests are suspended while state distribution is in progress.- Parameters:
milisec
- the state distribution timeout (ms).
-
-