Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
jenkins
提交
9cf4a80c
J
jenkins
项目概览
xxadev
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jenkins
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9cf4a80c
编写于
2月 25, 2016
作者:
S
Stephen Connolly
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[JENKINS-33068] Update @since tags before merge
上级
5f349a61
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
14 addition
and
14 deletion
+14
-14
core/src/main/java/hudson/model/AsyncAperiodicWork.java
core/src/main/java/hudson/model/AsyncAperiodicWork.java
+8
-8
core/src/main/java/hudson/model/AsyncPeriodicWork.java
core/src/main/java/hudson/model/AsyncPeriodicWork.java
+5
-5
core/src/main/java/hudson/util/StreamTaskListener.java
core/src/main/java/hudson/util/StreamTaskListener.java
+1
-1
未找到文件。
core/src/main/java/hudson/model/AsyncAperiodicWork.java
浏览文件 @
9cf4a80c
...
...
@@ -46,7 +46,7 @@ public abstract class AsyncAperiodicWork extends AperiodicWork {
* Each individual AsyncAperiodicWork can also have a per-extension override using the system property
* based on their fully qualified class name with {@code .logRotateMinutes} appended.
*
* @since 1.65
0
* @since 1.65
1
*/
private
static
final
long
LOG_ROTATE_MINUTES
=
Long
.
getLong
(
AsyncAperiodicWork
.
class
.
getName
()
+
".logRotateMinutes"
,
TimeUnit
.
DAYS
.
toMinutes
(
1
));
...
...
@@ -57,28 +57,28 @@ public abstract class AsyncAperiodicWork extends AperiodicWork {
* Each individual AsyncAperiodicWork can also have a per-extension override using the system property
* based on their fully qualified class name with {@code .logRotateSize} appended.
*
* @since 1.65
0
* @since 1.65
1
*/
private
static
final
long
LOG_ROTATE_SIZE
=
Long
.
getLong
(
AsyncAperiodicWork
.
class
.
getName
()
+
".logRotateSize"
,
-
1L
);
/**
* The number of milliseconds (since startup or previous rotation) after which to try and rotate the log file.
*
* @since 1.65
0
* @since 1.65
1
*/
private
final
long
logRotateMillis
;
/**
* {@code -1L} disabled file size based log rotation, otherwise when starting an {@link #execute(TaskListener)},
* if the log file size is above this number of bytes then the log file will be rotated beforehand.
*
* @since 1.65
0
* @since 1.65
1
*/
private
final
long
logRotateSize
;
/**
* The last time the log files were rotated. On start-up this will be {@link Long#MIN_VALUE} to ensure that the
* logs are always rotated every time Jenkins starts up to make it easier to correlate events with the main log.
*
* @since 1.65
0
* @since 1.65
1
*/
private
long
lastRotateMillis
=
Long
.
MIN_VALUE
;
/**
...
...
@@ -205,7 +205,7 @@ public abstract class AsyncAperiodicWork extends AperiodicWork {
* Returns the logging level at which normal messages are displayed.
*
* @return The logging level.
* @since 1.65
0
* @since 1.65
1
*/
protected
Level
getNormalLoggingLevel
()
{
return
Level
.
INFO
;
...
...
@@ -215,7 +215,7 @@ public abstract class AsyncAperiodicWork extends AperiodicWork {
* Returns the logging level at which previous task still executing messages is displayed.
*
* @return The logging level.
* @since 1.65
0
* @since 1.65
1
*/
protected
Level
getSlowLoggingLevel
()
{
return
getNormalLoggingLevel
();
...
...
@@ -225,7 +225,7 @@ public abstract class AsyncAperiodicWork extends AperiodicWork {
* Returns the logging level at which error messages are displayed.
*
* @return The logging level.
* @since 1.65
0
* @since 1.65
1
*/
protected
Level
getErrorLoggingLevel
()
{
return
Level
.
SEVERE
;
...
...
core/src/main/java/hudson/model/AsyncPeriodicWork.java
浏览文件 @
9cf4a80c
...
...
@@ -27,7 +27,7 @@ public abstract class AsyncPeriodicWork extends PeriodicWork {
* Each individual AsyncPeriodicWork can also have a per-extension override using the system property
* based on their fully qualified class name with {@code .logRotateMinutes} appended.
*
* @since 1.65
0
* @since 1.65
1
*/
private
static
final
long
LOG_ROTATE_MINUTES
=
Long
.
getLong
(
AsyncPeriodicWork
.
class
.
getName
()
+
".logRotateMinutes"
,
TimeUnit
.
DAYS
.
toMinutes
(
1
));
...
...
@@ -38,27 +38,27 @@ public abstract class AsyncPeriodicWork extends PeriodicWork {
* Each individual AsyncPeriodicWork can also have a per-extension override using the system property
* based on their fully qualified class name with {@code .logRotateSize} appended.
*
* @since 1.65
0
* @since 1.65
1
*/
private
static
final
long
LOG_ROTATE_SIZE
=
Long
.
getLong
(
AsyncPeriodicWork
.
class
.
getName
()
+
".logRotateSize"
,
-
1L
);
/**
* The number of milliseconds (since startup or previous rotation) after which to try and rotate the log file.
*
* @since 1.65
0
* @since 1.65
1
*/
private
final
long
logRotateMillis
;
/**
* {@code -1L} disabled file size based log rotation, otherwise when starting an {@link #execute(TaskListener)},
* if the log file size is above this number of bytes then the log file will be rotated beforehand.
*
* @since 1.65
0
* @since 1.65
1
*/
private
final
long
logRotateSize
;
/**
* The last time the log files were rotated. On start-up this will be {@link Long#MIN_VALUE} to ensure that the
* logs are always rotated every time Jenkins starts up to make it easier to correlate events with the main log.
*
* @since 1.65
0
* @since 1.65
1
*/
private
long
lastRotateMillis
=
Long
.
MIN_VALUE
;
/**
...
...
core/src/main/java/hudson/util/StreamTaskListener.java
浏览文件 @
9cf4a80c
...
...
@@ -104,7 +104,7 @@ public class StreamTaskListener extends AbstractTaskListener implements Serializ
* @param append if {@code true}, then output will be written to the end of the file rather than the beginning.
* @param charset if non-{@code null} then the charset to use when writing.
* @throws IOException if the file could not be opened.
* @since 1.65
0
* @since 1.65
1
*/
public
StreamTaskListener
(
File
out
,
boolean
append
,
Charset
charset
)
throws
IOException
{
// don't do buffering so that what's written to the listener
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录