public abstract class AbstractCacheProvider extends Object implements CacheProvider
CacheProvider implementation holding configuration values.| Constructor and Description |
|---|
AbstractCacheProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Properties properties)
Configures the
CacheProvider. |
Integer |
getCacheExpirationPeriod()
Cache expiration duration (in seconds).
|
ServiceAvailabilityChecker |
getServiceChecker()
Returns service checker.
|
boolean |
isCacheEnabled()
Returns whether cache is enabled.
|
boolean |
needCheckHostAvailability()
Returns whether there is a need to check host availability.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprovideCacheForClass, provideCacheForClasspublic void configure(Properties properties)
CacheProvider.configure in interface CacheProviderproperties - properties to configurepublic boolean isCacheEnabled()
isCacheEnabled in interface CacheProviderpublic boolean needCheckHostAvailability()
needCheckHostAvailability in interface CacheProviderpublic ServiceAvailabilityChecker getServiceChecker()
getServiceChecker in interface CacheProviderpublic Integer getCacheExpirationPeriod()
CacheProvidergetCacheExpirationPeriod in interface CacheProviderCopyright © 2017 SDL Group. All rights reserved.