Class ChildCacheName
Object
ChildCacheName
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
ConstructorsConstructorDescriptionChildCacheName
(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