public class LockRegistryLocksExpireJob extends Object implements org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
LockRegistryLocksExpireJob() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
expireLockRegistryLocks()
定时失效 LockRegistryLocks中的 locks
默认执行时间一小时 1000 * 60 * 60
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
@Scheduled(fixedDelayString="${framework.locks.expireJobFixedDelay:3600000}")
public void expireLockRegistryLocks()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.