Class SyncSchedule
- java.lang.Object
-
- de.hybris.platform.catalog.jalo.synchronization.SyncSchedule
-
public class SyncSchedule extends java.lang.Object
- Since:
- 3.1-u6
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SyncSchedule(PK srcPK, PK tgtPK, PK timestampPK, java.util.Collection<java.lang.String> pendingAttributes, java.util.Map<PK,PK> parentMappings)
protected
SyncSchedule(PK srcPK, PK tgtPK, PK timestampPK, java.util.Collection<java.lang.String> pendingAttributes, java.util.Map<PK,PK> parentMappings, boolean deadlockVictim)
protected
SyncSchedule(java.util.Map<java.lang.Integer,java.lang.String> line)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
calculateWeight()
int
getLineNumber()
java.util.Map<PK,PK>
getParentMappings()
java.util.Set<java.lang.String>
getPendingAttributes()
PK
getSrcPK()
PK
getTgtPK()
PK
getTimestampPK()
int
getWeight()
boolean
isDeadlockVictim()
protected void
setLineNumber(int linenumber)
protected java.util.Map<java.lang.Integer,java.lang.String>
toCsv()
java.lang.String
toString()
-
-
-
Field Detail
-
DELIMITER
public static final char DELIMITER
- See Also:
- Constant Field Values
-
ESCAPE
public static final char[] ESCAPE
-
-
Constructor Detail
-
SyncSchedule
protected SyncSchedule(PK srcPK, PK tgtPK, PK timestampPK, java.util.Collection<java.lang.String> pendingAttributes, java.util.Map<PK,PK> parentMappings)
-
SyncSchedule
protected SyncSchedule(PK srcPK, PK tgtPK, PK timestampPK, java.util.Collection<java.lang.String> pendingAttributes, java.util.Map<PK,PK> parentMappings, boolean deadlockVictim)
-
SyncSchedule
protected SyncSchedule(java.util.Map<java.lang.Integer,java.lang.String> line)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
calculateWeight
protected int calculateWeight()
-
getLineNumber
public int getLineNumber()
-
setLineNumber
protected void setLineNumber(int linenumber)
-
getSrcPK
public PK getSrcPK()
-
getTgtPK
public PK getTgtPK()
-
getTimestampPK
public PK getTimestampPK()
-
getPendingAttributes
public java.util.Set<java.lang.String> getPendingAttributes()
-
toCsv
protected java.util.Map<java.lang.Integer,java.lang.String> toCsv()
-
isDeadlockVictim
public boolean isDeadlockVictim()
-
getWeight
public int getWeight()
-
-