Class IncrementalIdStrategy.Factory

java.lang.Object
io.protostuff.runtime.IncrementalIdStrategy.Factory
All Implemented Interfaces:
IdStrategy.Factory
Enclosing class:
IncrementalIdStrategy

public static class IncrementalIdStrategy.Factory extends Object implements IdStrategy.Factory
To use IncrementalIdStrategy without registering anything, set the system property: "-Dprotostuff.runtime.id_strategy_factory=io.protostuff.runtime.IncrementalIdStrategy$Factory"

Note that the pojos will be limited to 63 and the enums to 15.

It is best that you use the IncrementalIdStrategy.Registry to configure the strategy and set the max limits for each type.