src/java.management/share/classes/javax/management/monitor/MonitorNotification.java
changeset 58766 54ffb15c4839
parent 47216 71c04702a3d5
equal deleted inserted replaced
58760:1f7f707c1aa9 58766:54ffb15c4839
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 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
   160     private static final long serialVersionUID = -4608189663661929204L;
   160     private static final long serialVersionUID = -4608189663661929204L;
   161 
   161 
   162     /**
   162     /**
   163      * @serial Monitor notification observed object.
   163      * @serial Monitor notification observed object.
   164      */
   164      */
       
   165     @SuppressWarnings("serial") // Not statically typed as Serializable
   165     private ObjectName observedObject = null;
   166     private ObjectName observedObject = null;
   166 
   167 
   167     /**
   168     /**
   168      * @serial Monitor notification observed attribute.
   169      * @serial Monitor notification observed attribute.
   169      */
   170      */
   170     private String observedAttribute = null;
   171     private String observedAttribute = null;
   171 
   172 
   172     /**
   173     /**
   173      * @serial Monitor notification derived gauge.
   174      * @serial Monitor notification derived gauge.
   174      */
   175      */
       
   176     @SuppressWarnings("serial") // Not statically typed as Serializable
   175     private Object derivedGauge = null;
   177     private Object derivedGauge = null;
   176 
   178 
   177     /**
   179     /**
   178      * @serial Monitor notification release mechanism.
   180      * @serial Monitor notification release mechanism.
   179      *         This value is used to keep the threshold/string (depending on the
   181      *         This value is used to keep the threshold/string (depending on the
   180      *         monitor type) that triggered off this notification.
   182      *         monitor type) that triggered off this notification.
   181      */
   183      */
       
   184     @SuppressWarnings("serial") // Not statically typed as Serializable
   182     private Object trigger = null;
   185     private Object trigger = null;
   183 
   186 
   184 
   187 
   185     /*
   188     /*
   186      * ------------------------------------------
   189      * ------------------------------------------