public class TCCFenceConfig extends Object implements org.springframework.beans.factory.InitializingBean, Disposable
| Constructor and Description |
|---|
TCCFenceConfig(DataSource dataSource,
org.springframework.transaction.PlatformTransactionManager transactionManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
DataSource |
getDataSource() |
AtomicBoolean |
getInitialized() |
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager() |
void |
initCleanTask()
init tcc fence clean task
|
void |
setCleanPeriod(Duration cleanPeriod) |
void |
setLogTableName(String logTableName) |
public TCCFenceConfig(DataSource dataSource, org.springframework.transaction.PlatformTransactionManager transactionManager)
public AtomicBoolean getInitialized()
public DataSource getDataSource()
public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
public void setCleanPeriod(Duration cleanPeriod)
public void setLogTableName(String logTableName)
public void initCleanTask()
public void destroy()
destroy in interface Disposablepublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanCopyright © 2022 Seata. All rights reserved.