org.apache.uima.resourceSpecifier.factory.impl
Class AggregateDelegateEngineImpl

java.lang.Object
  extended by org.apache.uima.resourceSpecifier.factory.impl.AggregateDelegateEngineImpl
All Implemented Interfaces:
AggregateDelegateEngine, ColocatedDelegateEngine, DelegateAnalysisEngine

public class AggregateDelegateEngineImpl
extends Object
implements AggregateDelegateEngine

The Class AggregateDelegateEngineImpl.


Constructor Summary
AggregateDelegateEngineImpl(org.apache.uima.resourceSpecifier.AnalysisEngineType dcaet, String key, ServiceContext context, DelegateConfiguration... delegateConfigurations)
          Instantiates a new aggregate delegate engine impl.
 
Method Summary
 void addDelegate(DelegateAnalysisEngine delegate)
          Adds the delegate.
 CasMultiplier getCasMultiplier()
          Gets the cas multiplier.
 DelegateConfiguration getConfiguration()
          Gets the configuration.
 List<DelegateAnalysisEngine> getDelegates()
          Gets the delegates.
 int getInputQueueScaleout()
          Gets the input queue scaleout.
 String getKey()
          Gets the key.
 int getReplyQueueScaleup()
          Gets the reply queue scaleup.
 boolean isAggregate()
          Checks if is aggregate.
 boolean isAsync()
          Checks if is async.
 boolean isRemote()
          Checks if is remote.
 void setAsync()
          Sets the async.
 void setCasMultiplier(CasMultiplier cm)
          Sets the cas multiplier.
 void setInputQueueScaleout(int scaleup)
          Sets the input queue scaleout.
 void setKey(String key)
          Sets the key.
 void setReplyQueueScaleup(int scaleup)
          Sets the reply queue scaleup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateDelegateEngineImpl

public AggregateDelegateEngineImpl(org.apache.uima.resourceSpecifier.AnalysisEngineType dcaet,
                                   String key,
                                   ServiceContext context,
                                   DelegateConfiguration... delegateConfigurations)
Instantiates a new aggregate delegate engine impl.

Parameters:
dcaet - the dcaet
key - the key
context - the context
delegateConfigurations - the delegate configurations
Method Detail

isRemote

public boolean isRemote()
Description copied from interface: DelegateAnalysisEngine
Checks if is remote.

Specified by:
isRemote in interface DelegateAnalysisEngine
Returns:
true, if is remote

isAggregate

public boolean isAggregate()
Description copied from interface: DelegateAnalysisEngine
Checks if is aggregate.

Specified by:
isAggregate in interface DelegateAnalysisEngine
Returns:
true, if is aggregate

isAsync

public boolean isAsync()
Description copied from interface: ColocatedDelegateEngine
Checks if is async.

Specified by:
isAsync in interface ColocatedDelegateEngine
Returns:
true, if is async

setAsync

public void setAsync()
Description copied from interface: ColocatedDelegateEngine
Sets the async.

Specified by:
setAsync in interface ColocatedDelegateEngine

getInputQueueScaleout

public int getInputQueueScaleout()
Description copied from interface: ColocatedDelegateEngine
Gets the input queue scaleout.

Specified by:
getInputQueueScaleout in interface ColocatedDelegateEngine
Returns:
the input queue scaleout

setInputQueueScaleout

public void setInputQueueScaleout(int scaleup)
Description copied from interface: ColocatedDelegateEngine
Sets the input queue scaleout.

Specified by:
setInputQueueScaleout in interface ColocatedDelegateEngine
Parameters:
scaleup - the new input queue scaleout

getKey

public String getKey()
Description copied from interface: DelegateAnalysisEngine
Gets the key.

Specified by:
getKey in interface DelegateAnalysisEngine
Returns:
the key

setKey

public void setKey(String key)
Description copied from interface: DelegateAnalysisEngine
Sets the key.

Specified by:
setKey in interface DelegateAnalysisEngine
Parameters:
key - the new key

getReplyQueueScaleup

public int getReplyQueueScaleup()
Description copied from interface: DelegateAnalysisEngine
Gets the reply queue scaleup.

Specified by:
getReplyQueueScaleup in interface DelegateAnalysisEngine
Returns:
the reply queue scaleup

setReplyQueueScaleup

public void setReplyQueueScaleup(int scaleup)
Description copied from interface: DelegateAnalysisEngine
Sets the reply queue scaleup.

Specified by:
setReplyQueueScaleup in interface DelegateAnalysisEngine
Parameters:
scaleup - the new reply queue scaleup

getCasMultiplier

public CasMultiplier getCasMultiplier()
Description copied from interface: DelegateAnalysisEngine
Gets the cas multiplier.

Specified by:
getCasMultiplier in interface DelegateAnalysisEngine
Returns:
the cas multiplier

setCasMultiplier

public void setCasMultiplier(CasMultiplier cm)
Description copied from interface: DelegateAnalysisEngine
Sets the cas multiplier.

Specified by:
setCasMultiplier in interface DelegateAnalysisEngine
Parameters:
cm - the new cas multiplier

addDelegate

public void addDelegate(DelegateAnalysisEngine delegate)
Description copied from interface: AggregateDelegateEngine
Adds the delegate.

Specified by:
addDelegate in interface AggregateDelegateEngine
Parameters:
delegate - the delegate

getDelegates

public List<DelegateAnalysisEngine> getDelegates()
Description copied from interface: AggregateDelegateEngine
Gets the delegates.

Specified by:
getDelegates in interface AggregateDelegateEngine
Returns:
the delegates

getConfiguration

public DelegateConfiguration getConfiguration()
Description copied from interface: DelegateAnalysisEngine
Gets the configuration.

Specified by:
getConfiguration in interface DelegateAnalysisEngine
Returns:
the configuration


Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.