001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.fabric.status;
016    
017    import java.lang.management.BufferPoolMXBean;
018    import java.lang.management.ClassLoadingMXBean;
019    import java.lang.management.CompilationMXBean;
020    import java.lang.management.GarbageCollectorMXBean;
021    import java.lang.management.MemoryMXBean;
022    import java.lang.management.MemoryManagerMXBean;
023    import java.lang.management.MemoryPoolMXBean;
024    import java.lang.management.PlatformLoggingMXBean;
025    import java.lang.management.RuntimeMXBean;
026    import java.lang.management.ThreadMXBean;
027    
028    import java.util.List;
029    
030    /**
031     * @author Shuyang Zhou
032     */
033    public interface FabricStatus {
034    
035            public AdvancedOperatingSystemMXBean getAdvancedOperatingSystemMXBean();
036    
037            public List<BufferPoolMXBean> getBufferPoolMXBeans();
038    
039            public ClassLoadingMXBean getClassLoadingMXBean();
040    
041            public CompilationMXBean getCompilationMXBean();
042    
043            public List<GarbageCollectorMXBean> getGarbageCollectorMXBeans();
044    
045            public List<MemoryManagerMXBean> getMemoryManagerMXBeans();
046    
047            public MemoryMXBean getMemoryMXBean();
048    
049            public List<MemoryPoolMXBean> getMemoryPoolMXBeans();
050    
051            public PlatformLoggingMXBean getPlatformLoggingMXBean();
052    
053            public RuntimeMXBean getRuntimeMXBean();
054    
055            public ThreadMXBean getThreadMXBean();
056    
057    }