public class ServerCacheConfig extends Object
Constructor and Description |
---|
ServerCacheConfig(ServerCacheType type,
String cacheKey,
String shortName,
ServerCacheOptions cacheOptions,
CurrentTenantProvider tenantProvider,
QueryCacheEntryValidate queryCacheEntryValidate) |
Modifier and Type | Method and Description |
---|---|
String |
getCacheKey()
Return the name of the cache.
|
ServerCacheOptions |
getCacheOptions()
Return the tuning options.
|
QueryCacheEntryValidate |
getQueryCacheEntryValidate()
Return the service that provides validation for query cache entries.
|
String |
getShortName()
Return the short name for the cache.
|
CurrentTenantProvider |
getTenantProvider()
Return the current tenant provider.
|
ServerCacheType |
getType()
Return the cache type.
|
boolean |
isQueryCache()
Return true if the cache is a query cache.
|
public ServerCacheConfig(ServerCacheType type, String cacheKey, String shortName, ServerCacheOptions cacheOptions, CurrentTenantProvider tenantProvider, QueryCacheEntryValidate queryCacheEntryValidate)
public ServerCacheType getType()
public String getCacheKey()
public String getShortName()
public ServerCacheOptions getCacheOptions()
public CurrentTenantProvider getTenantProvider()
public QueryCacheEntryValidate getQueryCacheEntryValidate()
public boolean isQueryCache()
Copyright © 2019. All rights reserved.