public CounterTimeDeadbandActivator(final int numberOfCounters,final long checkInterval,final int maxTagsPerTime,final int deactivationNumberOfTags,final int timeDeadbandTime){
  this.numberOfCounters=numberOfCounters;
  this.maxTagsPerTime=maxTagsPerTime;
  this.deactivationNumberOfTags=deactivationNumberOfTags;
  this.timeDeadbandTime=timeDeadbandTime;
  timer=new Timer("CounterTimeDeadbandTimer",true);
  timer.scheduleAtFixedRate(this,0,checkInterval);
}

public CounterTimeDeadbandActivator ( final int numberOfCounters , final long checkInterval , final int maxTagsPerTime , final int deactivationNumberOfTags , final int timeDeadbandTime ) { this . numberOfCounters = numberOfCounters ; this . maxTagsPerTime = maxTagsPerTime ; this . deactivationNumberOfTags = deactivationNumberOfTags ; this . timeDeadbandTime = timeDeadbandTime ; timer = new Timer ( "CounterTimeDeadbandTimer" , true ) ; timer . scheduleAtFixedRate ( this , 0 , checkInterval ) ; }
creates a new countermovingaverage .
