Modifier and Type | Method and Description |
---|---|
StatisticsService |
getStatistics()
Returns the statistics service associated with this JSR107 service.
|
java.lang.String |
getTemplateNameForCache(java.lang.String cacheAlias)
Returns a template name matching the provided cache alias, if any is configured.
|
ConfigurationElementState |
isManagementEnabledOnAllCaches()
Indicates if all created caches should have management enabled.
|
ConfigurationElementState |
isStatisticsEnabledOnAllCaches()
Indicates if all created caches should have statistics enabled.
|
boolean |
jsr107CompliantAtomics()
Indicates the loader writer behavior in atomic methods.
|
java.lang.String getTemplateNameForCache(java.lang.String cacheAlias)
cacheAlias
- the cache aliasnull
if none configured.boolean jsr107CompliantAtomics()
If true
then loader writer will NOT be used in atomic methods, if false
it will be.
true
or false
depending on configurationConfigurationElementState isManagementEnabledOnAllCaches()
true
to enable management on all caches, false
otherwiseConfigurationElementState isStatisticsEnabledOnAllCaches()
true
to enable management on all caches, false
otherwiseStatisticsService getStatistics()