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

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

public class CasPoolImpl
extends Object
implements CasPool

The Class CasPoolImpl.


Constructor Summary
CasPoolImpl(org.apache.uima.resourceSpecifier.CasPoolType cpt, ServiceContext context)
          Instantiates a new cas pool impl.
 
Method Summary
 int getInitialFsHeapSize()
          Gets the initial fs heap size.
 int getNumberOfCases()
          Gets the number of cases.
 void setInitialFsHeapSize(int heapSize)
          Sets the initial fs heap size.
 void setNumberOfCases(int casCount)
          Sets the number of cases.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CasPoolImpl

public CasPoolImpl(org.apache.uima.resourceSpecifier.CasPoolType cpt,
                   ServiceContext context)
Instantiates a new cas pool impl.

Parameters:
cpt - the cpt
context - the context
Method Detail

getNumberOfCases

public int getNumberOfCases()
Description copied from interface: CasPool
Gets the number of cases.

Specified by:
getNumberOfCases in interface CasPool
Returns:
the number of cases

setNumberOfCases

public void setNumberOfCases(int casCount)
Description copied from interface: CasPool
Sets the number of cases.

Specified by:
setNumberOfCases in interface CasPool
Parameters:
casCount - the new number of cases

getInitialFsHeapSize

public int getInitialFsHeapSize()
Description copied from interface: CasPool
Gets the initial fs heap size.

Specified by:
getInitialFsHeapSize in interface CasPool
Returns:
the initial fs heap size

setInitialFsHeapSize

public void setInitialFsHeapSize(int heapSize)
Description copied from interface: CasPool
Sets the initial fs heap size.

Specified by:
setInitialFsHeapSize in interface CasPool
Parameters:
heapSize - the new initial fs heap size


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