Constructor and Description |
---|
CasPoolImpl(org.apache.uima.resourceSpecifier.CasPoolType cpt,
ServiceContext context)
Instantiates a new cas pool impl.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public CasPoolImpl(org.apache.uima.resourceSpecifier.CasPoolType cpt, ServiceContext context)
cpt
- the cptcontext
- the contextpublic int getNumberOfCases()
CasPool
getNumberOfCases
in interface CasPool
public void setNumberOfCases(int casCount)
CasPool
setNumberOfCases
in interface CasPool
casCount
- the new number of casespublic int getInitialFsHeapSize()
CasPool
getInitialFsHeapSize
in interface CasPool
public void setInitialFsHeapSize(int heapSize)
CasPool
setInitialFsHeapSize
in interface CasPool
heapSize
- the new initial fs heap sizeCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.