Class ConfigurableSlidingWindowChannel
- java.lang.Object
-
- org.palladiosimulator.indirections.scheduler.AbstractSimDataChannelResource
-
- org.palladiosimulator.indirections.scheduler.implementations.generic.SlidingWindowChannel
-
- org.palladiosimulator.indirections.scheduler.implementations.generic.ConfigurableSlidingWindowChannel
-
- All Implemented Interfaces:
IDataChannelResource
- Direct Known Subclasses:
D1_ReadingWindowing
public class ConfigurableSlidingWindowChannel extends SlidingWindowChannel
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADVANCE_ON_DATA_PARAMETER_NAME
static String
EMIT_EMPTY_WINDOWS_PARAMETER_NAME
static String
GRACE_PERIOD_PARAMETER_NAME
static String
SCHEDULED_ADVANCE_PARAMETER_NAME
static String
WINDOW_SHIFT_PARAMETER_NAME
static String
WINDOW_SIZE_PARAMETER_NAME
-
Fields inherited from class org.palladiosimulator.indirections.scheduler.AbstractSimDataChannelResource
afterAcceptingAgeCalculator, assemblyContext, beforeProvidingAgeCalculator, dataChannel, dataChannelResourceRegistry, discardedAgeCalculator, id, mainContext, model, name, numberOfDiscardedIncomingElementsCalculator, numberOfDiscardedOutgoingElementsCalculator, numberOfStoredIncomingElementsCalculator, numberOfStoredOutgoingElementsCalculator, processesWaitingToGet, processesWaitingToPut, resourceTableManager, simulatedThreadComponentFactory, waitingToGetTimeCalculator, waitingToPutTimeCalculator
-
-
Constructor Summary
Constructors Constructor Description ConfigurableSlidingWindowChannel(JavaClassDataChannel dataChannel, org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.simulizar.interpreter.InterpreterDefaultContext mainContext, de.uka.ipd.sdq.scheduler.SchedulerModel model, org.palladiosimulator.simulizar.di.component.interfaces.SimulatedThreadComponent.Factory simulatedThreadComponentFactory, DataChannelResourceRegistry dataChannelResourceRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isPushingRole(DataSourceRole role)
-
Methods inherited from class org.palladiosimulator.indirections.scheduler.implementations.generic.SlidingWindowChannel
acceptData, canAcceptData, canProvideData, getDateWatermark, handleCannotProceedToGet, handleCannotProceedToPut, handleNewWatermarkedTime, provideDataAndAdvance
-
Methods inherited from class org.palladiosimulator.indirections.scheduler.AbstractSimDataChannelResource
advance, blockUntilCanGet, blockUntilCanPut, continueWithoutData, discardDataAndContinue, discardDateIfTooOld, discardIncomingDate, get, getCurrentWatermarkedTime, getId, getName, isDateTooOld, notifyProcessesCanGetNewData, notifyProcessesCanPutNewData, processDataAvailableToGet, put, scheduleAdvance, scheduleDemand, unscheduleAdvance
-
-
-
-
Field Detail
-
WINDOW_SIZE_PARAMETER_NAME
public static final String WINDOW_SIZE_PARAMETER_NAME
- See Also:
- Constant Field Values
-
WINDOW_SHIFT_PARAMETER_NAME
public static final String WINDOW_SHIFT_PARAMETER_NAME
- See Also:
- Constant Field Values
-
GRACE_PERIOD_PARAMETER_NAME
public static final String GRACE_PERIOD_PARAMETER_NAME
- See Also:
- Constant Field Values
-
SCHEDULED_ADVANCE_PARAMETER_NAME
public static final String SCHEDULED_ADVANCE_PARAMETER_NAME
- See Also:
- Constant Field Values
-
ADVANCE_ON_DATA_PARAMETER_NAME
public static final String ADVANCE_ON_DATA_PARAMETER_NAME
- See Also:
- Constant Field Values
-
EMIT_EMPTY_WINDOWS_PARAMETER_NAME
public static final String EMIT_EMPTY_WINDOWS_PARAMETER_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConfigurableSlidingWindowChannel
public ConfigurableSlidingWindowChannel(JavaClassDataChannel dataChannel, org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.simulizar.interpreter.InterpreterDefaultContext mainContext, de.uka.ipd.sdq.scheduler.SchedulerModel model, org.palladiosimulator.simulizar.di.component.interfaces.SimulatedThreadComponent.Factory simulatedThreadComponentFactory, DataChannelResourceRegistry dataChannelResourceRegistry)
-
-
Method Detail
-
isPushingRole
protected boolean isPushingRole(DataSourceRole role)
- Specified by:
isPushingRole
in classAbstractSimDataChannelResource
-
-