Class VolatileIdentifierProvider
- java.lang.Object
-
- org.silverpeas.core.cache.service.VolatileIdentifierProvider
-
public class VolatileIdentifierProvider extends Object
This class provides method to obtain volatile identifiers scoped into context of a component instance.- Author:
- silveryocha
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
newVolatileIntegerIdentifierOn(String componentId)
Gets a new volatile identifier as string which is representing an integer.static String
newVolatileStringIdentifierOn(String componentId)
Gets a new volatile identifier as string which is representing an integer.
-
-
-
Method Detail
-
newVolatileIntegerIdentifierOn
public static String newVolatileIntegerIdentifierOn(String componentId)
Gets a new volatile identifier as string which is representing an integer.- Parameters:
componentId
- the identifier of the component instance which is the scope.- Returns:
- new volatile integer identifier as string.
-
newVolatileStringIdentifierOn
public static String newVolatileStringIdentifierOn(String componentId)
Gets a new volatile identifier as string which is representing an integer.- Parameters:
componentId
- the identifier of the component instance which is the scope.- Returns:
- new volatile integer identifier as string.
-
-