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 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