public static class CacheKey.Prototype extends Object
The aim of this class is to provide a clean way to create the cache keys, avoiding to insert every time the model type and version.
| Modifier | Constructor and Description |
|---|---|
protected |
Prototype()
Default constructor.
|
protected |
Prototype(Class<?> dataModelType,
String version)
Constructor with parameters.
|
protected Prototype()
This constructor is intended to be used by reflection during de-serialization.
To create a new cache key use the factory methods.
protected Prototype(Class<?> dataModelType, String version)
This constructor is intended to be used by extending classes only.
To create a new cache key use the factory methods.
dataModelType - the type of the data model pointed by this cache key.version - the version of the data model pointed by this cache key.Copyright © 2011–2020 Nerd4j. All rights reserved.