@Repository public class NodeDao extends AbstractWorkflowEngineDao
| Constructor and Description |
|---|
NodeDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(Node node) |
List<Node> |
findAll(String clusterName) |
Node |
findByName(String clusterName,
String nodeName) |
List<Node> |
findByStatus(String clusterName,
NodeStatus status) |
void |
updateHeartbeat(String nodeName,
Date heartBeat) |
void |
updateStatus(long refNum,
NodeStatus status) |
void |
updateStatusWhereDead(String clusterName,
Date criticalDate,
NodeStatus newStatus,
NodeStatus expectedStatus) |
getClusterName, getCreatedOrLastUpdatedBy, getNextSequenceValue, getSchema, setDataSourcegetDataSource, getJdbcTemplate, getNamedParameterJdbcTemplatepublic void create(Node node)
public List<Node> findByStatus(String clusterName, NodeStatus status)
public void updateStatusWhereDead(String clusterName, Date criticalDate, NodeStatus newStatus, NodeStatus expectedStatus)
public void updateStatus(long refNum,
NodeStatus status)
Copyright © 2018. All rights reserved.