Interface CasOwner

All Known Subinterfaces:

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
 void releaseCas(AbstractCas aCAS)
          Releases a CAS back to its owner.

Method Detail


void releaseCas(AbstractCas aCAS)
Releases a CAS back to its owner. After calling this method, the caller should no longer access aCAS
aCAS - the CAS to release

Copyright © 2010 The Apache Software Foundation. All Rights Reserved.