Index
All Classes and Interfaces|All Packages
A
- at(int, int) - Method in interface com.elex_project.chronos.ChronosBuilder.TimeSelectionStep
-
exact time
C
- cancel(String) - Method in class com.elex_project.chronos.Chronos
-
특정 태스크를 완전히 취소하고 스케줄러에서 제거합니다.
- Chronos - Class in com.elex_project.chronos
-
API entry point for scheduling tasks.
- ChronosBuilder - Interface in com.elex_project.chronos
- ChronosBuilder.DaySelectionStep - Interface in com.elex_project.chronos
- ChronosBuilder.ExecutionStep - Interface in com.elex_project.chronos
- ChronosBuilder.JobStep - Interface in com.elex_project.chronos
- ChronosBuilder.MonthSelectionStep - Interface in com.elex_project.chronos
- ChronosBuilder.TimeSelectionStep - Interface in com.elex_project.chronos
- ChronosBuilder.TimeStep - Interface in com.elex_project.chronos
- ChronosEngine - Class in com.elex_project.chronos
-
Scheduling Engine
- ChronosEngine(int) - Constructor for class com.elex_project.chronos.ChronosEngine
- ChronosListener - Interface in com.elex_project.chronos
- ChronosListener.Failure - Interface in com.elex_project.chronos
- ChronosListener.Start - Interface in com.elex_project.chronos
- ChronosListener.Success - Interface in com.elex_project.chronos
- ChronosScheduler - Annotation Interface in com.elex_project.chronos
-
스캔 대상 클래스를 지정하기 위한 마커 어노테이션
- com.elex_project.chronos - module com.elex_project.chronos
-
Chronos
- com.elex_project.chronos - package com.elex_project.chronos
-
Chronos
- CONCURRENT - Enum constant in enum class com.elex_project.chronos.OverlapPolicy
-
Same task can be executed concurrently.
- cron() - Element in annotation interface com.elex_project.chronos.Task
- cron(String) - Method in interface com.elex_project.chronos.ChronosBuilder.TimeStep
-
cron expression
- cronExpression() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
cronExpressionrecord component. - CronParser - Class in com.elex_project.chronos
-
모든 복잡한 크론 문법(L, W, # 등)을 다 넣으면 라이브러리가 무거워지므로, 실무에서 99% 사용하는 기본 크론 포맷(*, ?
D
- dayOfMonth() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
dayOfMonthrecord component. - daysOfWeek() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
daysOfWeekrecord component. - DELAY - Enum constant in enum class com.elex_project.chronos.OverlapPolicy
-
The next execution is delayed until the previous one is finished.
E
- equals(Object) - Method in record class com.elex_project.chronos.TaskContext
-
Indicates whether some other object is "equal to" this one.
- every() - Element in annotation interface com.elex_project.chronos.Task
- every(long, TimeUnit) - Method in interface com.elex_project.chronos.ChronosBuilder.TimeStep
-
time interval and unit
- everyMonth() - Method in interface com.elex_project.chronos.ChronosBuilder.TimeStep
-
monthly repeat
- everyWeek() - Method in interface com.elex_project.chronos.ChronosBuilder.TimeStep
-
weekly repeat
F
- failureListener() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
failureListenerrecord component.
G
- getInitialDelayMillis() - Method in record class com.elex_project.chronos.TaskContext
- getInstance() - Static method in class com.elex_project.chronos.Chronos
- getIntervalMillis() - Method in record class com.elex_project.chronos.TaskContext
- getScheduledFuture(String) - Method in class com.elex_project.chronos.Chronos
- getTaskContext(String) - Method in class com.elex_project.chronos.Chronos
- getTaskIds() - Method in class com.elex_project.chronos.Chronos
H
- hashCode() - Method in record class com.elex_project.chronos.TaskContext
-
Returns a hash code value for this object.
- hour() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
hourrecord component.
I
- id() - Element in annotation interface com.elex_project.chronos.Task
- id(String) - Method in interface com.elex_project.chronos.ChronosBuilder.JobStep
-
unique identifier for the task
- init(int) - Static method in class com.elex_project.chronos.Chronos
-
원하는 스레드 풀 크기로 최초 1회 초기화합니다.
- initialDelay() - Element in annotation interface com.elex_project.chronos.Task
- initialDelay() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
initialDelayrecord component. - initialDelayUnit() - Element in annotation interface com.elex_project.chronos.Task
- initialDelayUnit() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
initialDelayUnitrecord component. - interval() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
intervalrecord component. - isCron() - Method in record class com.elex_project.chronos.TaskContext
- isLastDayOfMonth() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
isLastDayOfMonthrecord component. - isMonthly() - Method in record class com.elex_project.chronos.TaskContext
- isPaused(String) - Method in class com.elex_project.chronos.Chronos
-
태스크의 일시 정지 여부를 확인합니다.
- isRegistered(String) - Method in class com.elex_project.chronos.Chronos
- isWeekly() - Method in record class com.elex_project.chronos.TaskContext
M
- minute() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
minuterecord component.
N
- nextExecutionTime() - Method in class com.elex_project.chronos.CronParser
- nextExecutionTime(LocalDateTime) - Method in class com.elex_project.chronos.CronParser
-
핵심 알고리즘: 현재 시간 기준 조건에 매칭되는 '다음 시각' 연산
O
- of(String) - Static method in class com.elex_project.chronos.CronParser
- on(DayOfWeek...) - Method in interface com.elex_project.chronos.ChronosBuilder.DaySelectionStep
-
day of week
- onDay(int) - Method in interface com.elex_project.chronos.ChronosBuilder.MonthSelectionStep
-
day of month
- onFailure(ChronosListener.Failure) - Method in interface com.elex_project.chronos.ChronosBuilder.ExecutionStep
-
Life cycle callbacks
- onFailure(TaskContext, Throwable) - Method in interface com.elex_project.chronos.ChronosListener.Failure
- onLastDay() - Method in interface com.elex_project.chronos.ChronosBuilder.MonthSelectionStep
-
last day of month
- onStart(ChronosListener.Start) - Method in interface com.elex_project.chronos.ChronosBuilder.ExecutionStep
-
Life cycle callbacks
- onStart(TaskContext) - Method in interface com.elex_project.chronos.ChronosListener.Start
- onSuccess(ChronosListener.Success) - Method in interface com.elex_project.chronos.ChronosBuilder.ExecutionStep
-
Life cycle callbacks
- onSuccess(TaskContext, long) - Method in interface com.elex_project.chronos.ChronosListener.Success
- OverlapPolicy - Enum Class in com.elex_project.chronos
P
- pause(String) - Method in class com.elex_project.chronos.Chronos
-
특정 태스크를 일시 정지합니다.
- policy() - Element in annotation interface com.elex_project.chronos.Task
- policy() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
policyrecord component.
R
- register(TaskContext, ScheduledFuture<?>) - Method in class com.elex_project.chronos.Chronos
-
새로운 태스크를 매니저에 등록하고 스케줄링을 시작합니다.
- registerTask(TaskContext) - Method in class com.elex_project.chronos.ChronosEngine
-
빌더로부터 데이터를 받아 스케줄링 태스크를 등록하고 동적 재귀 루프를 시작합니다.
- resume(String) - Method in class com.elex_project.chronos.Chronos
-
일시 정지된 태스크를 다시 재개합니다.
S
- scanAndRegister(String) - Static method in class com.elex_project.chronos.Chronos
-
특정 패키지 내의 @TaskComponent 클래스들을 찾아 내부 @Task 메서드를 엔진에 등록합니다.
- schedule() - Method in interface com.elex_project.chronos.ChronosBuilder.ExecutionStep
-
Done.
- scheduler() - Static method in class com.elex_project.chronos.Chronos
-
Starts a new task scheduling process.
- scheduler(String) - Static method in class com.elex_project.chronos.Chronos
-
Starts a new task scheduling process.
- shutdown() - Method in class com.elex_project.chronos.Chronos
-
모든 태스크를 종료하고 스케줄러 엔진을 폐쇄합니다.
- shutdown() - Method in class com.elex_project.chronos.ChronosEngine
- SKIP - Enum constant in enum class com.elex_project.chronos.OverlapPolicy
-
The same task can only be executed once.
- startAfter(long, TimeUnit) - Method in interface com.elex_project.chronos.ChronosBuilder.ExecutionStep
-
delay before the first execution
- startListener() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
startListenerrecord component. - successListener() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
successListenerrecord component.
T
- task() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
taskrecord component. - task(Runnable) - Method in interface com.elex_project.chronos.ChronosBuilder.JobStep
-
task to be executed
- Task - Annotation Interface in com.elex_project.chronos
- TaskContext - Record Class in com.elex_project.chronos
- TaskContext(String, Runnable, long, TimeUnit, Set<DayOfWeek>, int, boolean, int, int, String, long, TimeUnit, OverlapPolicy, ChronosListener.Start, ChronosListener.Success, ChronosListener.Failure) - Constructor for record class com.elex_project.chronos.TaskContext
-
Creates an instance of a
TaskContextrecord class. - taskId() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
taskIdrecord component. - timeUnit() - Method in record class com.elex_project.chronos.TaskContext
-
Returns the value of the
timeUnitrecord component. - toString() - Method in record class com.elex_project.chronos.TaskContext
-
Returns a string representation of this record class.
U
- unit() - Element in annotation interface com.elex_project.chronos.Task
- updateFuture(String, ScheduledFuture<?>) - Method in class com.elex_project.chronos.Chronos
-
실행 중인 특정 Future 자원을 업데이트합니다 (엔진 내부 재귀 호출 시 사용)
V
- valueOf(String) - Static method in enum class com.elex_project.chronos.OverlapPolicy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.elex_project.chronos.OverlapPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withPolicy(OverlapPolicy) - Method in interface com.elex_project.chronos.ChronosBuilder.ExecutionStep
-
OverlapPolicy
All Classes and Interfaces|All Packages