content: // Autogenerated Jamon proxy
  // /Users/jaywong/data/opensource/hadoop/wasp/github/wasp/src/main/jamon/./com/alibaba/wasp/tmpl/fserver/ServerMetricsTmpl.jamon
  
  package com.alibaba.wasp.tmpl.fserver;
  
  // 23, 1
  import java.util.*;
  // 24, 1
  import org.apache.hadoop.hbase.regionserver.HRegionServer;
  // 25, 1
  import com.alibaba.wasp.fserver.metrics.MetricsFServerWrapper;
  // 26, 1
  import org.apache.hadoop.hbase.util.Bytes;
  // 27, 1
  import org.apache.hadoop.hbase.HRegionInfo;
  // 28, 1
  import org.apache.hadoop.hbase.ServerName;
  // 29, 1
  import org.apache.hadoop.hbase.HBaseConfiguration;
  // 30, 1
  import org.apache.hadoop.hbase.metrics.histogram.MetricsHistogram;
  // 31, 1
  import com.yammer.metrics.stats.Snapshot;
  // 32, 1
  import java.lang.management.ManagementFactory;
  
  @org.jamon.annotations.Template(
    signature = "FF65E5FC932F428895F25B7170006C80",
    requiredArguments = {
      @org.jamon.annotations.Argument(name = "mWrap", type = "MetricsFServerWrapper")})
  public class ServerMetricsTmpl
    extends org.jamon.AbstractTemplateProxy
  {
    
    public ServerMetricsTmpl(org.jamon.TemplateManager p_manager)
    {
       super(p_manager);
    }
    
    public ServerMetricsTmpl()
    {
       super("/com/alibaba/wasp/tmpl/fserver/ServerMetricsTmpl");
    }
    
    protected interface Intf
      extends org.jamon.AbstractTemplateProxy.Intf{
      
      void renderNoFlush(final java.io.Writer jamonWriter) throws java.io.IOException;
      
    }
    public static class ImplData
      extends org.jamon.AbstractTemplateProxy.ImplData
    {
      // 20, 1
      public void setMWrap(MetricsFServerWrapper mWrap)
      {
        // 20, 1
        m_mWrap = mWrap;
      }
      public MetricsFServerWrapper getMWrap()
      {
        return m_mWrap;
      }
      private MetricsFServerWrapper m_mWrap;
    }
    @Override
    protected ImplData makeImplData()
    {
      return new ImplData();
    }
    @Override @SuppressWarnings("unchecked") public ImplData getImplData()
    {
      return (ImplData) super.getImplData();
    }
    
    
    @Override
    public org.jamon.AbstractTemplateImpl constructImpl(Class<? extends org.jamon.AbstractTemplateImpl> p_class){
      try
      {
        return p_class
          .getConstructor(new Class [] { org.jamon.TemplateManager.class, ImplData.class })
          .newInstance(new Object [] { getTemplateManager(), getImplData()});
      }
      catch (RuntimeException e)
      {
        throw e;
      }
      catch (Exception e)
      {
        throw new RuntimeException(e);
      }
    }
    
    @Override
    protected org.jamon.AbstractTemplateImpl constructImpl(){
      return new ServerMetricsTmplImpl(getTemplateManager(), getImplData());
    }
    public org.jamon.Renderer makeRenderer(final MetricsFServerWrapper mWrap)
    {
      return new org.jamon.AbstractRenderer() {
        @Override
        public void renderTo(final java.io.Writer jamonWriter)
          throws java.io.IOException
        {
          render(jamonWriter, mWrap);
        }
      };
    }
    
    public void render(final java.io.Writer jamonWriter, final MetricsFServerWrapper mWrap)
      throws java.io.IOException
    {
      renderNoFlush(jamonWriter, mWrap);
      jamonWriter.flush();
    }
    public void renderNoFlush(final java.io.Writer jamonWriter, final MetricsFServerWrapper mWrap)
      throws java.io.IOException
    {
      ImplData implData = getImplData();
      implData.setMWrap(mWrap);
      Intf instance = (Intf) getTemplateManager().constructImpl(this);
      instance.renderNoFlush(jamonWriter);
      reset();
    }
    
    
  }
  