Class ChildCacheName
Object
org.anchoranalysis.feature.calculate.cache.ChildCacheName
public class ChildCacheName extends Object
A unique identifier for a child-cache's name commposed potentially of two elements.
The elements are:
- the class object: guaranteed to be unique for the class.
- an optional part-name (string): a further division of the class into different caches.
-
Constructor Summary
Constructors Constructor Description ChildCacheName(Class<?> cls)Uses only the class as an identifier.ChildCacheName(Class<?> cls, int part)Uses only the class combines with an integer part-name.ChildCacheName(Class<?> cls, String part)Uses both the class and a part-name as an identifier. -
Method Summary
-
Constructor Details
-
ChildCacheName
Uses only the class as an identifier.i.e. it uses no part-name.
- Parameters:
cls- the class.
-
ChildCacheName
Uses only the class combines with an integer part-name.- Parameters:
cls- the class.part- the integer identifier.
-
ChildCacheName
Uses both the class and a part-name as an identifier.- Parameters:
cls- the class.part- the part-name.
-
-
Method Details