本文整理了Java中com.palantir.atlasdb.transaction.api.TransactionManager.getCleaner()
方法的一些代码示例,展示了TransactionManager.getCleaner()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TransactionManager.getCleaner()
方法的具体详情如下:
包路径:com.palantir.atlasdb.transaction.api.TransactionManager
类名称:TransactionManager
方法名:getCleaner
[英]Returns the cleaner used by this transaction manager.
[中]返回此事务管理器使用的清理器。
代码示例来源:origin: palantir/atlasdb
private boolean isInitializedInternal() {
// Note that the PersistentLockService is also initialized asynchronously as part of
// TransactionManagers.create; however, this is not required for the TransactionManager to fulfil
// requests (note that it is not accessible from any TransactionManager implementation), so we omit
// checking here whether it is initialized.
return txManager.getKeyValueService().isInitialized()
&& txManager.getTimelockService().isInitialized()
&& txManager.getTimestampService().isInitialized()
&& txManager.getCleaner().isInitialized()
&& initializationPrerequisite.get();
}
代码示例来源:origin: com.palantir.atlasdb/atlasdb-impl-shared
private boolean isInitializedInternal() {
// Note that the PersistentLockService is also initialized asynchronously as part of
// TransactionManagers.create; however, this is not required for the TransactionManager to fulfil
// requests (note that it is not accessible from any TransactionManager implementation), so we omit
// checking here whether it is initialized.
return txManager.getKeyValueService().isInitialized()
&& txManager.getTimelockService().isInitialized()
&& txManager.getTimestampService().isInitialized()
&& txManager.getCleaner().isInitialized()
&& initializationPrerequisite.get();
}
内容来源于网络,如有侵权,请联系作者删除!