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

java.lang.Object
  extended by org.apache.uima.resourceSpecifier.factory.impl.ScaleoutImpl
All Implemented Interfaces:
Scaleout

public class ScaleoutImpl
extends Object
implements Scaleout

The Class ScaleoutImpl.


Constructor Summary
protected ScaleoutImpl(org.apache.uima.resourceSpecifier.ScaleoutType st, ServiceContext context)
          Instantiates a new scaleout impl.
 
Method Summary
 int getNumberOfInstances()
          Gets the number of instances.
 void setNumberOfInstances(int numberOfInstances)
          Sets the number of instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaleoutImpl

protected ScaleoutImpl(org.apache.uima.resourceSpecifier.ScaleoutType st,
                       ServiceContext context)
Instantiates a new scaleout impl.

Parameters:
st - the st
context - the context
Method Detail

getNumberOfInstances

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

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

setNumberOfInstances

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

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


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