public static class CoreConfiguration.LockConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
LockConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
long |
getLockAcquiredForMillis() |
java.lang.Long |
getLockQuitTryingAfterMillis() |
long |
getLockTryFrequencyMillis() |
boolean |
isEnableRefreshDaemon() |
boolean |
isThrowExceptionIfCannotObtainLock() |
void |
setEnableRefreshDaemon(boolean enableRefreshDaemon) |
void |
setLockAcquiredForMillis(long lockAcquiredForMillis) |
void |
setLockQuitTryingAfterMillis(long lockQuitTryingAfterMillis) |
void |
setLockTryFrequencyMillis(long lockTryFrequencyMillis) |
void |
setThrowExceptionIfCannotObtainLock(boolean throwExceptionIfCannotObtainLock) |
public void setLockAcquiredForMillis(long lockAcquiredForMillis)
public void setLockQuitTryingAfterMillis(long lockQuitTryingAfterMillis)
public void setLockTryFrequencyMillis(long lockTryFrequencyMillis)
public void setThrowExceptionIfCannotObtainLock(boolean throwExceptionIfCannotObtainLock)
public void setEnableRefreshDaemon(boolean enableRefreshDaemon)
public long getLockAcquiredForMillis()
public java.lang.Long getLockQuitTryingAfterMillis()
public long getLockTryFrequencyMillis()
public boolean isThrowExceptionIfCannotObtainLock()
public boolean isEnableRefreshDaemon()