@WebListener public class ExceptionMonitor extends JmxMonitor implements ExceptionMonitorMXBean
Constructor and Description |
---|
ExceptionMonitor() |
Modifier and Type | Method and Description |
---|---|
List<String> |
aggregateTypesOrderedByFrequency() |
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) |
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent) |
List<String> |
dump() |
ExceptionTimeVault |
getExceptionTimeVault() |
static ExceptionMonitor |
getInstance() |
long |
getTotalNumberOfExceptionsLast01h() |
long |
getTotalNumberOfExceptionsLast05h() |
long |
getTotalNumberOfExceptionsLast24h() |
boolean |
recordException(Throwable throwable) |
registerJmxBean, unregisterJmxBean
public boolean recordException(Throwable throwable)
public long getTotalNumberOfExceptionsLast01h()
getTotalNumberOfExceptionsLast01h
in interface ExceptionMonitorMXBean
public long getTotalNumberOfExceptionsLast05h()
getTotalNumberOfExceptionsLast05h
in interface ExceptionMonitorMXBean
public long getTotalNumberOfExceptionsLast24h()
getTotalNumberOfExceptionsLast24h
in interface ExceptionMonitorMXBean
public List<String> aggregateTypesOrderedByFrequency()
aggregateTypesOrderedByFrequency
in interface ExceptionMonitorMXBean
public List<String> dump()
dump
in interface ExceptionMonitorMXBean
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed
in interface javax.servlet.ServletContextListener
@Generated(value="lombok") public static ExceptionMonitor getInstance()
@Generated(value="lombok") public ExceptionTimeVault getExceptionTimeVault()
Copyright © 2018 SAP SE. All rights reserved.