public abstract class DistributedCacheServer extends AbstractControllerService
| Modifier and Type | Field and Description |
|---|---|
private CacheServer |
cacheServer |
static PropertyDescriptor |
EVICTION_POLICY |
static String |
EVICTION_STRATEGY_FIFO |
static String |
EVICTION_STRATEGY_LFU |
static String |
EVICTION_STRATEGY_LRU |
static PropertyDescriptor |
MAX_CACHE_ENTRIES |
static PropertyDescriptor |
PERSISTENCE_PATH |
static PropertyDescriptor |
PORT |
static PropertyDescriptor |
SSL_CONTEXT_SERVICE |
| Constructor and Description |
|---|
DistributedCacheServer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract CacheServer |
createCacheServer(ConfigurationContext context) |
protected void |
finalize() |
int |
getPort() |
protected List<PropertyDescriptor> |
getSupportedPropertyDescriptors() |
void |
shutdownServer() |
void |
startServer(ConfigurationContext context) |
getControllerServiceLookup, getIdentifier, getLogger, getProperties, getProperty, init, initialize, onConfigurationChangecustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, toString, validategetPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validatepublic static final String EVICTION_STRATEGY_LFU
public static final String EVICTION_STRATEGY_LRU
public static final String EVICTION_STRATEGY_FIFO
public static final PropertyDescriptor PORT
public static final PropertyDescriptor SSL_CONTEXT_SERVICE
public static final PropertyDescriptor MAX_CACHE_ENTRIES
public static final PropertyDescriptor EVICTION_POLICY
public static final PropertyDescriptor PERSISTENCE_PATH
private volatile CacheServer cacheServer
protected List<PropertyDescriptor> getSupportedPropertyDescriptors()
getSupportedPropertyDescriptors in class AbstractConfigurableComponent@OnEnabled public void startServer(ConfigurationContext context) throws IOException
IOException@OnDisabled public void shutdownServer() throws IOException
IOExceptionprotected void finalize()
throws Throwable
public int getPort()
protected abstract CacheServer createCacheServer(ConfigurationContext context)
Copyright © 2015 Apache NiFi Project. All rights reserved.