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 and 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 access `aCAS`.
      Parameters:
        `aCAS` - the CAS to release

Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.