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

java.lang.Object
  extended by org.apache.uima.resourceSpecifier.factory.impl.DelegateConfigurationImpl
      extended by org.apache.uima.resourceSpecifier.factory.impl.ColocatedDelegateConfigurationImpl
All Implemented Interfaces:
ColocatedDelegateConfiguration, DelegateConfiguration

public class ColocatedDelegateConfigurationImpl
extends DelegateConfigurationImpl
implements ColocatedDelegateConfiguration

The Class ColocatedDelegateConfigurationImpl.


Constructor Summary
ColocatedDelegateConfigurationImpl(String key, DelegateConfiguration[] nestedDelegateConfiguration, ErrorHandlingSettings... errorHandlingSettings)
          Instantiates a new colocated delegate configuration impl.
 
Method Summary
 void addDelegate(DelegateConfiguration dc)
          Adds the delegate.
 List<DelegateConfiguration> getDelegates()
          Gets the delegates.
 int getInputQueueScaleout()
          Gets the input queue scaleout.
 int getInternalReplyQueueScaleout()
          Gets the internal reply queue scaleout.
 int getNumberOfInstances()
          Gets the number of instances.
 boolean isAggregate()
          Checks if is aggregate.
 void setInputQueueScaleout(int inputQueueScaleout)
          Sets the input queue scaleout.
 void setInternalReplyQueueScaleout(int internalReplyQueueScaleout)
          Sets the internal reply queue scaleout.
 void setNumberOfInstances(int numberOfInstances)
          Sets the number of instances.
 
Methods inherited from class org.apache.uima.resourceSpecifier.factory.impl.DelegateConfigurationImpl
getCasPoolSize, getCollectionProcessCompleteErrorHandlingSettings, getGetMetaErrorHandlingSettings, getInitialHeapSize, getKey, getProcessErrorHandlingSettings, isCasMultiplier, isRemote, processParentLast, setCasMultiplier, setCasPoolSize, setCollectionProcessCompleteErrorHandlingSettings, setGetMetaErrorHandlingSettings, setInitialHeapSize, setKey, setProcessErrorHandlingSettings, setProcessParentLast, setRemote
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.uima.resourceSpecifier.factory.DelegateConfiguration
getCasPoolSize, getCollectionProcessCompleteErrorHandlingSettings, getGetMetaErrorHandlingSettings, getInitialHeapSize, getKey, getProcessErrorHandlingSettings, isCasMultiplier, isRemote, processParentLast, setCasMultiplier, setCasPoolSize, setCollectionProcessCompleteErrorHandlingSettings, setGetMetaErrorHandlingSettings, setInitialHeapSize, setKey, setProcessErrorHandlingSettings, setProcessParentLast, setRemote
 

Constructor Detail

ColocatedDelegateConfigurationImpl

public ColocatedDelegateConfigurationImpl(String key,
                                          DelegateConfiguration[] nestedDelegateConfiguration,
                                          ErrorHandlingSettings... errorHandlingSettings)
Instantiates a new colocated delegate configuration impl.

Parameters:
key - the key
nestedDelegateConfiguration - the nested delegate configuration
errorHandlingSettings - the error handling settings
Method Detail

addDelegate

public void addDelegate(DelegateConfiguration dc)
Description copied from interface: ColocatedDelegateConfiguration
Adds the delegate.

Specified by:
addDelegate in interface ColocatedDelegateConfiguration
Parameters:
dc - the dc

getDelegates

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

Specified by:
getDelegates in interface ColocatedDelegateConfiguration
Returns:
the delegates

isAggregate

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

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

setNumberOfInstances

public void setNumberOfInstances(int numberOfInstances)
Description copied from interface: ColocatedDelegateConfiguration
Sets the number of instances.

Specified by:
setNumberOfInstances in interface ColocatedDelegateConfiguration
Parameters:
numberOfInstances - the new number of instances

getNumberOfInstances

public int getNumberOfInstances()
Description copied from interface: ColocatedDelegateConfiguration
Gets the number of instances.

Specified by:
getNumberOfInstances in interface ColocatedDelegateConfiguration
Returns:
the number of instances

setInputQueueScaleout

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

Specified by:
setInputQueueScaleout in interface ColocatedDelegateConfiguration
Parameters:
inputQueueScaleout - the new input queue scaleout

getInputQueueScaleout

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

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

setInternalReplyQueueScaleout

public void setInternalReplyQueueScaleout(int internalReplyQueueScaleout)
Description copied from interface: ColocatedDelegateConfiguration
Sets the internal reply queue scaleout.

Specified by:
setInternalReplyQueueScaleout in interface ColocatedDelegateConfiguration
Parameters:
internalReplyQueueScaleout - the new internal reply queue scaleout

getInternalReplyQueueScaleout

public int getInternalReplyQueueScaleout()
Description copied from interface: ColocatedDelegateConfiguration
Gets the internal reply queue scaleout.

Specified by:
getInternalReplyQueueScaleout in interface ColocatedDelegateConfiguration
Returns:
the internal reply queue scaleout


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