public final class CacheFactory extends Object
CacheController. Existing legacy code uses static class-level constructs
to bootstrap Cache, so it's impossible to use Spring dependency injection directly.| Modifier and Type | Field and Description |
|---|---|
static String |
CACHE_LEGACY_MODE |
static String |
REGION_CACHE |
| Constructor and Description |
|---|
CacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
Cache |
createCacheInstance(Tenant tenant) |
Cache |
createCacheInstance(Tenant tenant,
int cacheSize) |
Cache |
createCacheInstance(Tenant tenant,
int cacheSize,
boolean forceExclusiveComputation) |
Cache |
createCacheInstance(Tenant slaveTenant,
Tenant masterTenant) |
static boolean |
isLegacyMode(Tenant tenant) |
public static final String REGION_CACHE
public static final String CACHE_LEGACY_MODE
public static boolean isLegacyMode(Tenant tenant)
Copyright © 2017 SAP SE. All Rights Reserved.