< prev index next >

src/java.management/share/classes/javax/management/monitor/MonitorNotification.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 160,186 **** --- 160,189 ---- private static final long serialVersionUID = -4608189663661929204L; /** * @serial Monitor notification observed object. */ + @SuppressWarnings("serial") // Not statically typed as Serializable private ObjectName observedObject = null; /** * @serial Monitor notification observed attribute. */ private String observedAttribute = null; /** * @serial Monitor notification derived gauge. */ + @SuppressWarnings("serial") // Not statically typed as Serializable private Object derivedGauge = null; /** * @serial Monitor notification release mechanism. * This value is used to keep the threshold/string (depending on the * monitor type) that triggered off this notification. */ + @SuppressWarnings("serial") // Not statically typed as Serializable private Object trigger = null; /* * ------------------------------------------
< prev index next >