public class AggregateByProps extends Props
AggregateBy
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AGGREGATE_BY_CACHE_FACTORY
property to control the cache factory used in AggregateBy.
|
static java.lang.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 java.lang.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(java.util.Properties properties) |
static AggregateByProps |
aggregateByProps() |
java.lang.String |
getCacheFactoryClassName()
Returns the name of the cache factory.
|
int |
getCapacity()
Returns the capacity.
|
AggregateByProps |
setCacheFactoryClass(java.lang.Class<? extends BaseCacheFactory> cacheFactory)
Sets the CacheFactory class to use.
|
AggregateByProps |
setCacheFactoryClassName(java.lang.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 java.lang.String AGGREGATE_BY_CACHE_FACTORY
public static final java.lang.String AGGREGATE_BY_CAPACITY
public static int AGGREGATE_BY_DEFAULT_CAPACITY
public static final java.lang.Class<? extends BaseCacheFactory> DEFAULT_CACHE_FACTORY_CLASS
public AggregateByProps()
public static AggregateByProps aggregateByProps()
public AggregateByProps setCacheFactoryClass(java.lang.Class<? extends BaseCacheFactory> cacheFactory)
cacheFactory
- The cache factory class to use.public AggregateByProps setCacheFactoryClassName(java.lang.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 java.lang.String getCacheFactoryClassName()
protected void addPropertiesTo(java.util.Properties properties)
addPropertiesTo
in class Props
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.