Interface IDataChannelResource
-
- All Known Implementing Classes:
AbstractAnyToAllChannel,AbstractSimDataChannelResource,AnyToAllPollingDataChannel,AnyToAllPushingDataChannel,AnyToAllPushingDataChannelWithRDs,ConfigurableSlidingWindowChannel,D1_ReadingWindowing,D2_WindowedReadingRepartitioning,D3_Distribution,D4_MedianWindowing,D5_MedianWindowPartitioning,D6_Joining,D6_JoiningToGroup,SlidingWindowChannel
public interface IDataChannelResourceImplementations have to have a constructor that accepts a SimulationControl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadvance(double simulationTime)booleanget(de.uka.ipd.sdq.scheduler.ISchedulableProcess process, DataSourceRole sourceRole, Consumer<IndirectionDate> callback)StringgetId()Unique identifier of the resource.StringgetName()Name of the resource.booleanput(de.uka.ipd.sdq.scheduler.ISchedulableProcess process, DataSinkRole sinkRole, IndirectionDate date)
-
-
-
Method Detail
-
advance
void advance(double simulationTime)
-
get
boolean get(de.uka.ipd.sdq.scheduler.ISchedulableProcess process, DataSourceRole sourceRole, Consumer<IndirectionDate> callback)
-
getId
String getId()
Unique identifier of the resource.- Returns:
-
getName
String getName()
Name of the resource.- Returns:
-
put
boolean put(de.uka.ipd.sdq.scheduler.ISchedulableProcess process, DataSinkRole sinkRole, IndirectionDate date)
-
-