Class InMemoryGettableChangesCollector
- java.lang.Object
-
- de.hybris.platform.outboundsync.job.impl.InMemoryGettableChangesCollector
-
- All Implemented Interfaces:
ChangesCollector,GettableChangesCollector
@Deprecated(since="1905.2003-CEP", forRemoval=true) public class InMemoryGettableChangesCollector extends java.lang.Object implements GettableChangesCollectorDeprecated, for removal: This API element is subject to removal in a future version.not used for outbound sync anymore. Replaced withStreamingChangesCollectorfor better memory management an no risk ofOutOfMemoryErrorAGettableChangesCollectorthat stores the changes in memory.
-
-
Constructor Summary
Constructors Constructor Description InMemoryGettableChangesCollector()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancollect(ItemChangeDTO change)Deprecated, for removal: This API element is subject to removal in a future version.Collects the given change in a specified way.voidfinish()Deprecated, for removal: This API element is subject to removal in a future version.Finishes the collecting changes, depending on implementation, may be used as kind of post processing after finalizing collecting the changes.java.util.List<ItemChangeDTO>getChanges()Deprecated, for removal: This API element is subject to removal in a future version.Gets a list of changes
-
-
-
Method Detail
-
getChanges
public java.util.List<ItemChangeDTO> getChanges()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:GettableChangesCollectorGets a list of changes- Specified by:
getChangesin interfaceGettableChangesCollector- Returns:
- The list of changes or an empty list
-
collect
public boolean collect(ItemChangeDTO change)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ChangesCollectorCollects the given change in a specified way.- Specified by:
collectin interfaceChangesCollector- Parameters:
change- change to be collected- Returns:
true, if the collecting process should continue,falseotherwise
-
finish
public void finish()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ChangesCollectorFinishes the collecting changes, depending on implementation, may be used as kind of post processing after finalizing collecting the changes. E.g. a csv report can be generated here.- Specified by:
finishin interfaceChangesCollector
-
-