mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
[dev] add apache licence for quartz's CronExpression
This commit is contained in:
parent
0e181ef7ec
commit
b7a3dcbe4c
@ -1,5 +1,19 @@
|
|||||||
package com.github.kfcfans.powerjob.server.common.utils;
|
package com.github.kfcfans.powerjob.server.common.utils;
|
||||||
|
/*
|
||||||
|
Copyright [2020] [KFCFans]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.text.ParseException;
|
import java.text.ParseException;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
|
@ -37,8 +37,6 @@ public class HashedWheelTimer implements Timer {
|
|||||||
|
|
||||||
private final ExecutorService taskProcessPool;
|
private final ExecutorService taskProcessPool;
|
||||||
|
|
||||||
private static final int MAXIMUM_CAPACITY = 1 << 30;
|
|
||||||
|
|
||||||
public HashedWheelTimer(long tickDuration, int ticksPerWheel) {
|
public HashedWheelTimer(long tickDuration, int ticksPerWheel) {
|
||||||
this(tickDuration, ticksPerWheel, 0);
|
this(tickDuration, ticksPerWheel, 0);
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.github.kfcfans.powerjob.server.common.utils.timewheel;
|
package com.github.kfcfans.powerjob.server.common.utils.timewheel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* description
|
* TimerFuture
|
||||||
*
|
*
|
||||||
* @author tjq
|
* @author tjq
|
||||||
* @since 2020/4/3
|
* @since 2020/4/3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user