public static class IncrementalIdStrategy.Factory extends Object implements IdStrategy.Factory
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.
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
IdStrategy |
create() |
void |
postCreate() |
public IdStrategy create()
create in interface IdStrategy.Factorypublic void postCreate()
postCreate in interface IdStrategy.FactoryCopyright © 2009–2019. All rights reserved.