public class DefaultClusterUpgradeStateDao extends Object implements ClusterUpgradeStateDao
Constructor and Description |
---|
DefaultClusterUpgradeStateDao(DatabaseSystemTimeReaderFactory databaseSystemTimeReaderFactory,
QueryDslAccessor queryDslAccessor) |
Modifier and Type | Method and Description |
---|---|
Optional<ClusterUpgradeStateDTO> |
getCurrent() |
void |
writeState(NodeBuildInfo nodeBuildInfo,
UpgradeState state) |
public DefaultClusterUpgradeStateDao(DatabaseSystemTimeReaderFactory databaseSystemTimeReaderFactory, QueryDslAccessor queryDslAccessor)
@Nullable public Optional<ClusterUpgradeStateDTO> getCurrent()
getCurrent
in interface ClusterUpgradeStateDao
public void writeState(NodeBuildInfo nodeBuildInfo, UpgradeState state)
writeState
in interface ClusterUpgradeStateDao
Copyright © 2002-2019 Atlassian. All Rights Reserved.