/** * Defines SingletonBeanStatsProvider * * @author Marina Vatkina */ @AMXMetadata(type="singleton-bean-mon", group="monitoring", isSingleton=false) @ManagedObject public class SingletonBeanStatsProvider extends EjbMonitoringStatsProvider { public SingletonBeanStatsProvider(long beanId, String appName, String moduleName, String beanName) { super(beanId, appName, moduleName, beanName); } }
/** * Defines SingletonBeanStatsProvider * * @author Marina Vatkina */ @AMXMetadata(type="singleton-bean-mon", group="monitoring", isSingleton=false) @ManagedObject public class SingletonBeanStatsProvider extends EjbMonitoringStatsProvider { public SingletonBeanStatsProvider(long beanId, String appName, String moduleName, String beanName) { super(beanId, appName, moduleName, beanName); } }
/** * UDP NIO Transport JMX object. * * @author Alexey Stashok */ @ManagedObject @Description("Grizzly UDP NIO Transport") public class UDPNIOTransport extends NIOTransport { public UDPNIOTransport(org.glassfish.grizzly.nio.transport.UDPNIOTransport transport) { super(transport); } @ManagedAttribute(id="socket-reuse-address") public boolean getReuseAddress() { return transport.isReuseAddress(); } @ManagedAttribute(id="client-connect-timeout-millis") public int getConnectTimeout() { return transport.getConnectionTimeout(); } }
/** * UDP NIO Transport JMX object. * * @author Alexey Stashok */ @ManagedObject @Description("Grizzly UDP NIO Transport") public class UDPNIOTransport extends NIOTransport { public UDPNIOTransport(org.glassfish.grizzly.nio.transport.UDPNIOTransport transport) { super(transport); } @ManagedAttribute(id="socket-reuse-address") public boolean getReuseAddress() { return transport.isReuseAddress(); } @ManagedAttribute(id="client-connect-timeout-millis") public int getConnectTimeout() { return transport.getConnectionTimeout(); } }
/** * {@link org.glassfish.grizzly.memory.ByteBufferManager} JMX object. * * @author Alexey Stashok */ @ManagedObject @Description("Grizzly Memory Manager") public class ByteBufferManager extends MemoryManager { public ByteBufferManager(org.glassfish.grizzly.memory.ByteBufferManager memoryManager) { super(memoryManager); } @ManagedAttribute(id="is-direct") @Description("Is memory manager uses direct ByteBuffers") public boolean isDirect() { return ((org.glassfish.grizzly.memory.ByteBufferManager) memoryManager).isDirect(); } @ManagedAttribute(id="max-buffer-size") @Description("The max buffer size, which could be associated with a thread") public int getMaxThreadBufferSize() { return ((org.glassfish.grizzly.memory.ByteBufferManager) memoryManager).getMaxBufferSize(); } }
/** * {@link org.glassfish.grizzly.memory.ByteBufferManager} JMX object. * * @author Alexey Stashok */ @ManagedObject @Description("Grizzly Memory Manager") public class ByteBufferManager extends MemoryManager { public ByteBufferManager(org.glassfish.grizzly.memory.ByteBufferManager memoryManager) { super(memoryManager); } @ManagedAttribute(id="is-direct") @Description("Is memory manager uses direct ByteBuffers") public boolean isDirect() { return ((org.glassfish.grizzly.memory.ByteBufferManager) memoryManager).isDirect(); } @ManagedAttribute(id="max-buffer-size") @Description("The max buffer size, which could be associated with a thread") public int getMaxThreadBufferSize() { return ((org.glassfish.grizzly.memory.ByteBufferManager) memoryManager).getMaxBufferSize(); } }
@ManagedObject public class StatelessSessionBeanStatsProvider extends EjbMonitoringStatsProvider {
@ManagedObject public class StatelessSessionBeanStatsProvider extends EjbMonitoringStatsProvider {
@ManagedObject public class MessageDrivenBeanStatsProvider extends EjbMonitoringStatsProvider {
@ManagedObject public class MessageDrivenBeanStatsProvider extends EjbMonitoringStatsProvider {
@AMXMetadata(type="compilation-system-mon", group="monitoring") @ManagedObject @Description( "JVM Compilation Statistics" ) public class JVMCompilationStatsProvider { private CompilationMXBean compBean = ManagementFactory.getCompilationMXBean(); private StringStatisticImpl compilerName = new StringStatisticImpl("Name", "String", "Name of the Just-in-time (JIT) compiler" ); private CountStatisticImpl totalCompilationTime = new CountStatisticImpl( "TotalCompilationTime", CountStatisticImpl.UNIT_MILLISECOND, "Approximate accumlated elapsed time (in milliseconds) spent in compilation" ); @ManagedAttribute(id="name-current") @Description( "name of the Just-in-time (JIT) compiler" ) public StringStatistic getCompilerName() { compilerName.setCurrent(compBean.getName()); return compilerName; } @ManagedAttribute(id="totalcompilationtime-current") @Description( "approximate accumlated elapsed time (in milliseconds) spent in compilation" ) public CountStatistic getTotalCompilationTime() { totalCompilationTime.setCount(compBean.getTotalCompilationTime()); return totalCompilationTime; } }
@ManagedObject @Description( "Security Realm Statistics" ) public class RealmStatsProvider {
@ManagedObject @Description( "Login Statistics" ) public class LoginStatsProvider {
@ManagedObject @Description( "Security Realm Statistics" ) public class RealmStatsProvider {
@ManagedObject @Description("Metro Web Service client") @AMXMetadata(type="WSClient")
@AMXMetadata(type="class-loading-system-mon", group="monitoring") @ManagedObject @Description( "JVM Class Loading Statistics" ) public class JVMClassLoadingStatsProvider {
@ManagedObject @Description("Metro Web Service client") @AMXMetadata(type="WSClient")
@ManagedObject @Description("Metro Web Service client") @AMXMetadata(type="WSClient")
/** * {@link org.glassfish.grizzly.memory.HeapMemoryManager} JMX object. * * @author Alexey Stashok */ @ManagedObject @Description("Grizzly Heap Memory Manager, which uses thread local memory pool") @InheritedAttributes({@InheritedAttribute(id="is-direct", description="is-dirfff")}) public class HeapMemoryManager extends MemoryManager { public HeapMemoryManager(org.glassfish.grizzly.memory.HeapMemoryManager memoryManager) { super(memoryManager); } @ManagedAttribute(id="max-buffer-size") @Description("The max buffer size, which could be associated with a thread") public int getMaxThreadBufferSize() { return ((org.glassfish.grizzly.memory.AbstractMemoryManager) memoryManager).getMaxBufferSize(); } }
/** * {@link org.glassfish.grizzly.memory.HeapMemoryManager} JMX object. * * @author Alexey Stashok */ @ManagedObject @Description("Grizzly Heap Memory Manager, which uses thread local memory pool") @InheritedAttributes({@InheritedAttribute(id="is-direct", description="is-dirfff")}) public class HeapMemoryManager extends MemoryManager { public HeapMemoryManager(org.glassfish.grizzly.memory.HeapMemoryManager memoryManager) { super(memoryManager); } @ManagedAttribute(id="max-buffer-size") @Description("The max buffer size, which could be associated with a thread") public int getMaxThreadBufferSize() { return ((org.glassfish.grizzly.memory.AbstractMemoryManager) memoryManager).getMaxBufferSize(); } }