public class ZDUAwareJiraClusterLockQueryDSLDao extends JiraClusterLockQueryDSLDao
LEASE_EXPIRY_TIME_MS
Constructor and Description |
---|
ZDUAwareJiraClusterLockQueryDSLDao(QueryDslAccessor queryDslAccessor,
ClusterNodeHeartBeatDao clusterNodeHeartBeatDao,
DatabaseSystemTimeReaderFactory databaseSystemTimeReaderFactory) |
Modifier and Type | Method and Description |
---|---|
protected com.querydsl.sql.dml.SQLUpdateClause |
getAcquireLockQuery(DbConnection dbConnection,
String lockName,
Long dbTime) |
protected com.querydsl.sql.SQLQuery |
getHeldClusterLocksQuery(DbConnection dbConnection,
Long dbTime) |
getAllHeldClusterLocks, getClusterLockStatusByName, getDatabaseTime, insertEmptyClusterLock, releaseAllClusterLocks, releaseLocksHeldByNode, renewLease, tryAcquireLock, unlock
public ZDUAwareJiraClusterLockQueryDSLDao(QueryDslAccessor queryDslAccessor, ClusterNodeHeartBeatDao clusterNodeHeartBeatDao, DatabaseSystemTimeReaderFactory databaseSystemTimeReaderFactory)
protected com.querydsl.sql.SQLQuery getHeldClusterLocksQuery(DbConnection dbConnection, Long dbTime)
getHeldClusterLocksQuery
in class JiraClusterLockQueryDSLDao
protected com.querydsl.sql.dml.SQLUpdateClause getAcquireLockQuery(DbConnection dbConnection, String lockName, Long dbTime)
getAcquireLockQuery
in class JiraClusterLockQueryDSLDao
Copyright © 2002-2019 Atlassian. All Rights Reserved.