Package org.apache.uima.cas
Interface CasOwner
-
- All Known Subinterfaces:
CasManager
- All Known Implementing Classes:
CasManager_impl
public interface CasOwner
Represents the "owner" of a CAS. A CAS may have a reference to its owner, which allows the CAS to be released back to the owner when it is no longer needed. A CasOwner may implement a pool of CAS instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
releaseCas(AbstractCas aCAS)
Releases a CAS back to its owner.
-
-
-
Method Detail
-
releaseCas
void releaseCas(AbstractCas aCAS)
Releases a CAS back to its owner. After calling this method, the caller should no longer accessaCAS
.- Parameters:
aCAS
- the CAS to release
-
-