Class CASImpl.SwitchControl

  • Enclosing class:
    CASImpl

    static class CASImpl.SwitchControl
    extends java.lang.Object
    Instances are put into a Stack, to remember previous state to switch back to, when switching class loaders and locking the CAS https://issues.apache.org/jira/browse/UIMA-6057
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) boolean wasLocked  
      (package private) boolean wasSwitched  
    • Constructor Summary

      Constructors 
      Constructor Description
      SwitchControl​(boolean wasLocked)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • wasLocked

        final boolean wasLocked
      • wasSwitched

        boolean wasSwitched
    • Constructor Detail

      • SwitchControl

        SwitchControl​(boolean wasLocked)