Package de.hybris.bootstrap.ddl.pk.impl
Class DefaultPkFactory.InitializationPKCounterGenerator
java.lang.Object
de.hybris.bootstrap.ddl.pk.impl.DefaultPkFactory.InitializationPKCounterGenerator
- All Implemented Interfaces:
PK.PKCounterGenerator
- Enclosing class:
- DefaultPkFactory
public static class DefaultPkFactory.InitializationPKCounterGenerator
extends Object
implements PK.PKCounterGenerator
In-Memory PK counter generator for
DMLRecordFactory.-
Constructor Summary
ConstructorsConstructorDescriptionInitializationPKCounterGenerator(Iterable<NumberSeries> currentNumberSeries, int clusterId) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongfetchNextCounter(int typeCode) intgetTypeCodeAsString(int typeCode)
-
Constructor Details
-
InitializationPKCounterGenerator
public InitializationPKCounterGenerator() -
InitializationPKCounterGenerator
-
-
Method Details
-
fetchNextCounter
public long fetchNextCounter(int typeCode) - Specified by:
fetchNextCounterin interfacePK.PKCounterGenerator
-
getTypeCodeAsString
- Specified by:
getTypeCodeAsStringin interfacePK.PKCounterGenerator
-
getClusterID
public int getClusterID()- Specified by:
getClusterIDin interfacePK.PKCounterGenerator
-
check31LegacyDetection
public boolean check31LegacyDetection()- Specified by:
check31LegacyDetectionin interfacePK.PKCounterGenerator
-