com.fasterxml.clustermate.service.servlet.ServletWithMetricsBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clustermate-service Show documentation
Show all versions of clustermate-service Show documentation
Building blocks for ClusterMate-based services and servers.
package com.fasterxml.clustermate.service.servlet;
import com.fasterxml.clustermate.service.SharedServiceStuff;
import com.fasterxml.clustermate.service.cluster.ClusterViewByServer;
import com.fasterxml.clustermate.service.metrics.AllOperationMetrics;
/**
* Intermediate class we use to denote servlets that are to provide
* metrics information.
*/
@SuppressWarnings("serial")
public abstract class ServletWithMetricsBase
extends ServletBase
implements AllOperationMetrics.Provider
{
protected ServletWithMetricsBase(SharedServiceStuff stuff,
ClusterViewByServer clusterView, String servletPathBase)
{
super(stuff, clusterView, servletPathBase);
}
@Override
public abstract void fillOperationMetrics(AllOperationMetrics metrics);
}