All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.l4.vibe.internal.jmx.SamplerBean Maven / Gradle / Ivy

There is a newer version: 0.4.0
Show newest version
package se.l4.vibe.internal.jmx;

import se.l4.vibe.internal.service.ExposeAsAttribute;
import se.l4.vibe.probes.Sampler;

public class SamplerBean
{
	private final Sampler series;

	public SamplerBean(Sampler series)
	{
		this.series = series;
	}
	
	@ExposeAsAttribute
	public Object currentValue()
	{
		return series.getProbe().peek();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy