gamf.interfaces.framework
Interface ITrigger

All Superinterfaces:
ISystemAdapter
All Known Subinterfaces:
IPeriodicalTrigger

public interface ITrigger
extends ISystemAdapter

Describes the functionality of either a metric or a policy evaluation - a simple interface which is offering a way to trigger a system adapter evaluation or extraction.

A simple evaluator is instantiated with a reference to either the metric or the policy it is the scheduling the evaluation of. A caller (mainly an internal framework component) indirectly calls the policy or metric through this interface.

Author:
markus

Method Summary
 void evaluate()
          Triggers the evaluation of the associated metric or policy.
 void start()
          Hook to start the evaluator thread
 
Methods inherited from interface gamf.interfaces.systemAdapter.ISystemAdapter
getSystemAdapterCategory, getSystemAdapterIdentifier
 

Method Detail

evaluate

void evaluate()
              throws gamf.framework.exceptions.EvaluationException
Triggers the evaluation of the associated metric or policy.

Throws:
gamf.framework.exceptions.EvaluationException

start

void start()
Hook to start the evaluator thread