Class Y2YSyncProcessCreationData
- java.lang.Object
-
- de.hybris.y2ysync.task.distributed.Y2YSyncProcessCreationData
-
- All Implemented Interfaces:
ProcessCreationData
public class Y2YSyncProcessCreationData extends java.lang.Object implements ProcessCreationData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classY2YSyncProcessCreationData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Y2YSyncProcessCreationData.Builderbuilder()intgetBatchSize()Y2YStreamConfigurationContainerModelgetContainer()java.lang.StringgetDataHubUrl()java.lang.StringgetHandlerBeanId()Responsible for returning spring bean id which will act as aDistributedProcessHandlerfor created process.java.lang.StringgetNodeGroup()Responsible for returning the node group, which may be assigned for the distributed process.java.lang.StringgetProcessId()Y2YSyncTypegetSyncType()java.util.stream.Stream<? extends StreamConfiguration>initialBatches()Responsible for returning stream for creating initial batches used by distributed process.
-
-
-
Method Detail
-
getProcessId
public java.lang.String getProcessId()
-
initialBatches
public java.util.stream.Stream<? extends StreamConfiguration> initialBatches()
Description copied from interface:ProcessCreationDataResponsible for returning stream for creating initial batches used by distributed process.- Specified by:
initialBatchesin interfaceProcessCreationData- Returns:
- Stream of batch data
-
getContainer
public Y2YStreamConfigurationContainerModel getContainer()
-
getSyncType
public Y2YSyncType getSyncType()
-
getDataHubUrl
public java.lang.String getDataHubUrl()
-
getBatchSize
public int getBatchSize()
-
getHandlerBeanId
public java.lang.String getHandlerBeanId()
Description copied from interface:ProcessCreationDataResponsible for returning spring bean id which will act as aDistributedProcessHandlerfor created process.- Specified by:
getHandlerBeanIdin interfaceProcessCreationData- Returns:
- handler bean id
-
getNodeGroup
public java.lang.String getNodeGroup()
Description copied from interface:ProcessCreationDataResponsible for returning the node group, which may be assigned for the distributed process.- Specified by:
getNodeGroupin interfaceProcessCreationData- Returns:
- node group
-
builder
public static Y2YSyncProcessCreationData.Builder builder()
-
-