net.java.dev.moskito.core.registry
Interface IProducerFilter

All Known Implementing Classes:
AllThroughFilter, CategoryFilter, SubsystemFilter

public interface IProducerFilter

This interface defines a producer filter, which can be used to retrieve a subset of producers from the ProducerRegistry via the ProducerRegistryAPI. An implementing filter must return true in doesFit method if the producer should be included in the subset.

Author:
another

Method Summary
 boolean doesFit(IStatsProducer producer)
          Called by ProducerRegistryAPI for each stored producer in order to determine whether the producer should be included in the result.
 

Method Detail

doesFit

boolean doesFit(IStatsProducer producer)
Called by ProducerRegistryAPI for each stored producer in order to determine whether the producer should be included in the result.

Parameters:
producer - the producer in question.
Returns:
true if the producer fits the filter criteria, false otherwise.


Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework