public class AggregateByProps extends Props
AggregateBy
.Modifier and Type | Field and Description |
---|---|
static String |
AGGREGATE_BY_CACHE_FACTORY
property to control the cache factory used in AggregateBy.
|
static String |
AGGREGATE_BY_CAPACITY
property to control the capacity of the cache to use.
|
static int |
AGGREGATE_BY_DEFAULT_CAPACITY
default capacity of caches used in AggregateBy.
|
static Class<? extends BaseCacheFactory> |
DEFAULT_CACHE_FACTORY_CLASS
default factory class for creating caches.
|
Constructor and Description |
---|
AggregateByProps() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPropertiesTo(Properties properties) |
static AggregateByProps |
aggregateByProps() |
String |
getCacheFactoryClassName()
Returns the name of the cache factory.
|
int |
getCapacity()
Returns the capacity.
|
AggregateByProps |
setCacheFactoryClass(Class<? extends BaseCacheFactory> cacheFactory)
Sets the CacheFactory class to use.
|
AggregateByProps |
setCacheFactoryClassName(String cacheFactoryClassName)
Sets the name of the CacheFactory class to use.
|
AggregateByProps |
setCapacity(int capacity)
Sets the capacity of the cache.
|
buildProperties, buildProperties, buildProperties, buildProperties, setProperties, setProperties
public static String AGGREGATE_BY_CACHE_FACTORY
public static final String AGGREGATE_BY_CAPACITY
public static int AGGREGATE_BY_DEFAULT_CAPACITY
public static final Class<? extends BaseCacheFactory> DEFAULT_CACHE_FACTORY_CLASS
public AggregateByProps()
public static AggregateByProps aggregateByProps()
public AggregateByProps setCacheFactoryClass(Class<? extends BaseCacheFactory> cacheFactory)
cacheFactory
- The cache factory class to use.public AggregateByProps setCacheFactoryClassName(String cacheFactoryClassName)
cacheFactoryClassName
- The full name of the cache factory class to use.public AggregateByProps setCapacity(int capacity)
capacity
- The capacity of the cache.public int getCapacity()
public String getCacheFactoryClassName()
protected void addPropertiesTo(Properties properties)
addPropertiesTo
in class Props
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.