@PermitAll public class HealthCheck extends Object implements HealthCheckMXBean
Constructor and Description |
---|
HealthCheck() |
Modifier and Type | Method and Description |
---|---|
long |
getAverageMILockWaitTime() |
long |
getAverageOfLastTenMILockWaitTimes() |
long |
getAverageTimeOfAllCorrectInvocations() |
long |
getAverageTimeOfLastTenCorrectInvocations() |
long |
getDBResponseTime() |
long |
getJMXQueueSize() |
long |
getNumberOfCurrentActiveUsers() |
long |
getNumberOfMaxLoopExceeded() |
long |
getNumberOfMICorrectInvocations() |
long |
getNumberOfMIFailedInvocations() |
long |
getNumberOfTreasholdLoopExceeded() |
void |
registerInJMX() |
void |
unregisterFromJMX() |
@PostConstruct public void registerInJMX()
@PreDestroy public void unregisterFromJMX()
public long getJMXQueueSize()
getJMXQueueSize
in interface HealthCheckMXBean
public long getNumberOfMICorrectInvocations()
getNumberOfMICorrectInvocations
in interface HealthCheckMXBean
public long getNumberOfMIFailedInvocations()
getNumberOfMIFailedInvocations
in interface HealthCheckMXBean
public long getAverageTimeOfAllCorrectInvocations()
getAverageTimeOfAllCorrectInvocations
in interface HealthCheckMXBean
public long getAverageTimeOfLastTenCorrectInvocations()
getAverageTimeOfLastTenCorrectInvocations
in interface HealthCheckMXBean
public long getAverageMILockWaitTime()
getAverageMILockWaitTime
in interface HealthCheckMXBean
public long getAverageOfLastTenMILockWaitTimes()
getAverageOfLastTenMILockWaitTimes
in interface HealthCheckMXBean
public long getNumberOfMaxLoopExceeded()
getNumberOfMaxLoopExceeded
in interface HealthCheckMXBean
public long getNumberOfTreasholdLoopExceeded()
getNumberOfTreasholdLoopExceeded
in interface HealthCheckMXBean
public long getDBResponseTime()
getDBResponseTime
in interface HealthCheckMXBean
public long getNumberOfCurrentActiveUsers()
getNumberOfCurrentActiveUsers
in interface HealthCheckMXBean
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.