public class SessionFactoryHealthCheck
extends com.codahale.metrics.health.HealthCheck
Constructor and Description |
---|
SessionFactoryHealthCheck(ExecutorService executorService,
io.dropwizard.util.Duration duration,
org.hibernate.SessionFactory sessionFactory,
String validationQuery) |
SessionFactoryHealthCheck(org.hibernate.SessionFactory sessionFactory,
String validationQuery) |
Modifier and Type | Method and Description |
---|---|
protected com.codahale.metrics.health.HealthCheck.Result |
check() |
org.hibernate.SessionFactory |
getSessionFactory() |
String |
getValidationQuery() |
public SessionFactoryHealthCheck(org.hibernate.SessionFactory sessionFactory, String validationQuery)
public SessionFactoryHealthCheck(ExecutorService executorService, io.dropwizard.util.Duration duration, org.hibernate.SessionFactory sessionFactory, String validationQuery)
public org.hibernate.SessionFactory getSessionFactory()
public String getValidationQuery()
Copyright © 2018. All rights reserved.