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 IDataChannelResource
Implementations have to have a constructor that accepts a SimulationControl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(double simulationTime) boolean
get
(de.uka.ipd.sdq.scheduler.ISchedulableProcess process, DataSourceRole sourceRole, Consumer<IndirectionDate> callback) getId()
Unique identifier of the resource.getName()
Name of the resource.boolean
put
(de.uka.ipd.sdq.scheduler.ISchedulableProcess process, DataSinkRole sinkRole, IndirectionDate date)
-
Method Details
-
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)
-