org.objectweb.dream.pump
Interface PumpPeriodicAttributeController

All Superinterfaces:
ActiveComponentAttributeController, AttributeController, PumpAttributeController
All Known Implementing Classes:
PumpPeriodicSynchronizedImpl

public interface PumpPeriodicAttributeController
extends PumpAttributeController

Periodic pump attribute controller interface.


Method Summary
 long getPeriod()
          Returns the pump period.
 void setPeriod(long period)
          Sets the pump period.
 
Methods inherited from interface org.objectweb.dream.pump.PumpAttributeController
getPushNullPolicy, setPushNullPolicy
 
Methods inherited from interface org.objectweb.dream.control.activity.ActiveComponentAttributeController
getInitialCapacity, getInitialNumberOfThreads, getUsePool, setInitialCapacity, setInitialNumberOfThreads, setUsePool
 

Method Detail

getPeriod

public long getPeriod()
Returns the pump period.

Returns:
the pump period.

setPeriod

public void setPeriod(long period)
Sets the pump period.

Parameters:
period - the pump period.
Throws:
IllegalArgumentException - if the given pump period is negative.


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.