public enum DmnCache extends Enum<DmnCache>
Enum Constant and Description |
---|
INSTANCE
A singleton instance.
|
Modifier and Type | Method and Description |
---|---|
com.whitestein.lsps.stdlib.dmn.DmnTableCache |
getTableCache(com.whitestein.lsps.stdlib.dmn.DmnCacheKey key,
ModelProvider modelProvider)
Returns the table cache for the given cache key.
|
void |
removeModel(long modelId)
Removes all cache entries belonging to the given model.
|
static DmnCache |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DmnCache[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DmnCache INSTANCE
public static DmnCache[] values()
for (DmnCache c : DmnCache.values()) System.out.println(c);
public static DmnCache valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic com.whitestein.lsps.stdlib.dmn.DmnTableCache getTableCache(com.whitestein.lsps.stdlib.dmn.DmnCacheKey key, ModelProvider modelProvider) throws ValidationException
key
- modelProvider
- ValidationException
public void removeModel(long modelId)
modelId
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.