equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
38 @Label("Flight Recording") |
38 @Label("Flight Recording") |
39 @Category("Flight Recorder") |
39 @Category("Flight Recorder") |
40 @StackTrace(false) |
40 @StackTrace(false) |
41 public final class ActiveRecordingEvent extends AbstractJDKEvent { |
41 public final class ActiveRecordingEvent extends AbstractJDKEvent { |
42 |
42 |
|
43 public static final ThreadLocal<ActiveRecordingEvent> EVENT = new ThreadLocal<ActiveRecordingEvent>() { |
|
44 @Override |
|
45 protected ActiveRecordingEvent initialValue() { |
|
46 return new ActiveRecordingEvent(); |
|
47 } |
|
48 }; |
|
49 |
43 @Label("Id") |
50 @Label("Id") |
44 public long id; |
51 public long id; |
45 |
52 |
46 @Label("Name") |
53 @Label("Name") |
47 public String name; |
54 public String name; |
51 |
58 |
52 @Label("Max Age") |
59 @Label("Max Age") |
53 @Timespan(Timespan.MILLISECONDS) |
60 @Timespan(Timespan.MILLISECONDS) |
54 public long maxAge; |
61 public long maxAge; |
55 |
62 |
|
63 @Label("Flush Interval") |
|
64 @Timespan(Timespan.MILLISECONDS) |
|
65 public long flushInterval; |
|
66 |
56 @Label("Max Size") |
67 @Label("Max Size") |
57 @DataAmount |
68 @DataAmount |
58 public long maxSize; |
69 public long maxSize; |
59 |
70 |
60 @Label("Start Time") |
71 @Label("Start Time") |