@Test public void setTaskChangeTime() { LocalDateTime taskChangeTime = LocalDateTime.now(); context.setTaskChangeTime(TASK_ID1, taskChangeTime); assertThat(context.isProcessedTaskChange(TASK_ID1, taskChangeTime)).isTrue(); }
public void setTaskChangeTime(long taskId, LocalDateTime changeTime) { taskChangeTimes.put(taskId, changeTime); }
SolverHandlerContext { public void setTaskChangeTime(long taskId, LocalDateTime changeTime) { taskChangeTimes.put(taskId, changeTime); } }
SolverHandlerContext { public void setTaskChangeTime(long taskId, LocalDateTime changeTime) { taskChangeTimes.put(taskId, changeTime); } SolverHandlerContext(Duration queryShift); }
SolverHandlerContext { public void setTaskChangeTime(long taskId, LocalDateTime changeTime) { taskChangeTimes.put(taskId, changeTime); } SolverHandlerContext(Duration queryShift); long getCurrentChangeSetId(); void setCurrentChangeSetId(long currentChangeSetId); long nextChangeSetId(); boolean isProcessedChangeSet(long changeSetId); boolean isCurrentChangeSetProcessed(); void setProcessedChangeSet(long changeSetId); void clearProcessedChangeSet(); void setTaskChangeTime(long taskId, LocalDateTime changeTime); boolean isProcessedTaskChange(long taskId, LocalDateTime changeTime); void clearTaskChangeTimes(LocalDateTime untilLocalDateTime); void clearTaskChangeTimes(); LocalDateTime getPreviousQueryTime(); void setPreviousQueryTime(LocalDateTime previousQueryTime); LocalDateTime getNextQueryTime(); void setNextQueryTime(LocalDateTime nextQueryTime); LocalDateTime shiftQueryTime(LocalDateTime queryTime); }
SolverHandlerContext { public void setTaskChangeTime(long taskId, LocalDateTime changeTime) { taskChangeTimes.put(taskId, changeTime); } SolverHandlerContext(Duration queryShift); long getCurrentChangeSetId(); void setCurrentChangeSetId(long currentChangeSetId); long nextChangeSetId(); boolean isProcessedChangeSet(long changeSetId); boolean isCurrentChangeSetProcessed(); void setProcessedChangeSet(long changeSetId); void clearProcessedChangeSet(); void setTaskChangeTime(long taskId, LocalDateTime changeTime); boolean isProcessedTaskChange(long taskId, LocalDateTime changeTime); void clearTaskChangeTimes(LocalDateTime untilLocalDateTime); void clearTaskChangeTimes(); LocalDateTime getPreviousQueryTime(); void setPreviousQueryTime(LocalDateTime previousQueryTime); LocalDateTime getNextQueryTime(); void setNextQueryTime(LocalDateTime nextQueryTime); LocalDateTime shiftQueryTime(LocalDateTime queryTime);  }