|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This configuration represents the configuration for the Default implementation of the Lifecycle Interceptor. It configures the timeouts associated with this intercepts locking capabilities.
Copyright 2003 Sapient
Field Summary | |
static long |
BlockedCallTimeout
Default time to block: 2000. |
static long |
DestroyerThreadTimeout
Default time to block: 2000. |
Method Summary | |
long |
getBlockedCallTimeout()
Gets the timeout for a block after a call to resume. |
long |
getDestroyerThreadTimeout()
Gets the timeout for a block after a call to destroy. |
void |
setBlockedCallTimeout(long milliseconds)
Sets the time lifecycle interceptor should wait after a call to resume before it gives up and interrupts the thread to avoid deadlock. |
void |
setDestroyerThreadTimeout(long milliseconds)
Sets the time the lifecycle interceptor should wait for a component to be destroyed before it gives up and iterrupts the thread to avoid deadlock. |
Methods inherited from interface org.sape.carbon.core.config.Configuration |
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly |
Field Detail |
public static final long BlockedCallTimeout
public static final long DestroyerThreadTimeout
Method Detail |
public long getBlockedCallTimeout()
public void setBlockedCallTimeout(long milliseconds)
milliseconds
- time to block after a resume callpublic long getDestroyerThreadTimeout()
public void setDestroyerThreadTimeout(long milliseconds)
milliseconds
- time to block after a destroy call
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |