|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.coherence.rest.util.aggregator.AggregatorRegistry
public class AggregatorRegistry
A registry for AggregatorFactory instances.
| Field Summary | |
|---|---|
static java.lang.String |
AGGREGATOR_REQUEST_REGEXRegex pattern that defines the aggregator request syntax. |
| Constructor Summary | |
|---|---|
AggregatorRegistry()Construct an AggregatorRegistry. |
|
AggregatorRegistry(java.util.Collection colConfig)Construct an AggregatorRegistry that includes built-in aggregators in addition to the specified aggregators. |
|
| Method Summary | |
|---|---|
InvocableMap.EntryAggregator |
getAggregator(java.lang.String sRequest)Returns a configured aggregator. |
void |
register(java.util.Collection colConfig)Register a collection of aggregators. |
void |
register(java.lang.String sName, AggregatorFactory factory)Register an aggregator factory with the given name. |
void |
register(java.lang.String sName, java.lang.Class clz)Register an aggregator or aggregator factory with the given name. |
| Field Detail |
|---|
public static final java.lang.String AGGREGATOR_REQUEST_REGEX
| Constructor Detail |
|---|
public AggregatorRegistry()
By default the following built-in aggregators will be registered:
public AggregatorRegistry(java.util.Collection colConfig)
colConfig - aggregator configurations| Method Detail |
|---|
public InvocableMap.EntryAggregator getAggregator(java.lang.String sRequest)
sRequest - the aggregator request
public void register(java.lang.String sName,
AggregatorFactory factory)
sName - the aggregator namefactory - the aggregator factory
public void register(java.lang.String sName,
java.lang.Class clz)
A DefaultAggregatorFactory will be used if the clz parameter is a class that implements InvocableMap.EntryAggregator.
sName - the aggregator nameclz - the aggregator or aggregator factory classpublic void register(java.util.Collection colConfig)
colConfig - the aggregator configurations
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||