@@ -0,0 +1,536 @@
+package de.jeha.kame.crawler.service.health;%0A%0Aimport com.codahale.metrics.health.HealthCheck;%0Aimport de.jeha.kame.crawler.service.ds.DocumentStore;%0A%0A/**%0A * @author jenshadlich@googlemail.com%0A */%0Apublic class DocumentStoreHealthCheck extends HealthCheck %7B%0A%0A    private final DocumentStore documentStore;%0A%0A    public DocumentStoreHealthCheck(DocumentStore documentStore) %7B%0A        this.documentStore = documentStore;%0A    %7D%0A%0A    @Override%0A    protected Result check() throws Exception %7B%0A        return documentStore.checkHealth();%0A    %7D%0A%0A%7D

implement health check for document store