src/jdk.jfr/share/classes/jdk/jfr/events/ActiveSettingEvent.java
changeset 58863 c16ac7a2eba4
parent 50113 caf115bb98ad
equal deleted inserted replaced
58861:2c3cc4b01880 58863:c16ac7a2eba4
     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
    35 @Label("Recording Setting")
    35 @Label("Recording Setting")
    36 @Category("Flight Recorder")
    36 @Category("Flight Recorder")
    37 @StackTrace(false)
    37 @StackTrace(false)
    38 public final class ActiveSettingEvent extends AbstractJDKEvent {
    38 public final class ActiveSettingEvent extends AbstractJDKEvent {
    39 
    39 
       
    40     public static final ThreadLocal<ActiveSettingEvent> EVENT = new ThreadLocal<ActiveSettingEvent>() {
       
    41         @Override
       
    42         protected ActiveSettingEvent initialValue() {
       
    43             return new ActiveSettingEvent();
       
    44         }
       
    45     };
       
    46 
    40     @Label("Event Id")
    47     @Label("Event Id")
    41     public long id;
    48     public long id;
    42 
    49 
    43     @Label("Setting Name")
    50     @Label("Setting Name")
    44     public String name;
    51     public String name;