Package com.orientechnologies.orient.core.db.OScenarioThreadLocal

Examples of com.orientechnologies.orient.core.db.OScenarioThreadLocal.RUN_MODE


    super.set(value);
  }

  @Override
  public RUN_MODE get() {
    RUN_MODE result = super.get();
    if (result == null)
      result = RUN_MODE.DEFAULT;
    return result;
  }
View Full Code Here


    try {
      final ORecord rec = id.getRecord();
      if (rec == null)
        return RESULT.RECORD_NOT_CHANGED;

      RUN_MODE runMode = OScenarioThreadLocal.INSTANCE.get();

      boolean recordChanged = false;
      for (ORecordHook hook : hooks.keySet()) {
        // CHECK IF EXECUTE THE TRIGGER BASED ON STORAGE TYPE: DISTRIBUTED OR NOT
        switch (runMode) {
View Full Code Here

TOP

Related Classes of com.orientechnologies.orient.core.db.OScenarioThreadLocal.RUN_MODE

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.