src/java.management/share/classes/sun/management/MemoryNotifInfoCompositeData.java
changeset 58766 54ffb15c4839
parent 47216 71c04702a3d5
equal deleted inserted replaced
58760:1f7f707c1aa9 58766:54ffb15c4839
     1 /*
     1 /*
     2  * Copyright (c) 2004, 2008, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2004, 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
    36  * A CompositeData for MemoryNotificationInfo for the local management support.
    36  * A CompositeData for MemoryNotificationInfo for the local management support.
    37  * This class avoids the performance penalty paid to the
    37  * This class avoids the performance penalty paid to the
    38  * construction of a CompositeData use in the local case.
    38  * construction of a CompositeData use in the local case.
    39  */
    39  */
    40 public class MemoryNotifInfoCompositeData extends LazyCompositeData {
    40 public class MemoryNotifInfoCompositeData extends LazyCompositeData {
       
    41     @SuppressWarnings("serial") // Not statically typed as Serializable
    41     private final MemoryNotificationInfo memoryNotifInfo;
    42     private final MemoryNotificationInfo memoryNotifInfo;
    42 
    43 
    43     private MemoryNotifInfoCompositeData(MemoryNotificationInfo info) {
    44     private MemoryNotifInfoCompositeData(MemoryNotificationInfo info) {
    44         this.memoryNotifInfo = info;
    45         this.memoryNotifInfo = info;
    45     }
    46     }