Class CASImpl.SwitchControl

java.lang.Object
org.apache.uima.cas.impl.CASImpl.SwitchControl
Enclosing class:
CASImpl

static class CASImpl.SwitchControl extends 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 Details

    • wasLocked

      final boolean wasLocked
    • wasSwitched

      boolean wasSwitched
  • Constructor Details

    • SwitchControl

      SwitchControl(boolean wasLocked)