*/
public synchronized void qq_setConcurrencyMode(@Input int mode) {
if (this.concurrencyMode != mode) {
if (this.concurrencyMode != ConcurrencyMgr.CO_NONE) {
throw new Error(Error.CM_CANNOT_CHANGE_MODE, "SetConcurrencyMode", this, new IntegerData(this.concurrencyMode), new IntegerData(mode)).getException();
}
switch (mode) {
case ConcurrencyMgr.CO_NONE: {
this.concurrencyMode = ConcurrencyMgr.CO_NONE;
break;
}
case ConcurrencyMgr.CO_DB_NATIVE: {
this.concurrencyMode = ConcurrencyMgr.CO_DB_NATIVE;
break;
}
case ConcurrencyMgr.CO_DB_EXPLICIT: {
this.concurrencyMode = ConcurrencyMgr.CO_DB_EXPLICIT;
break;
}
case ConcurrencyMgr.CO_OPT_VERIFY: {
this.concurrencyMode = ConcurrencyMgr.CO_OPT_VERIFY;
break;
}
case ConcurrencyMgr.CO_OPT_EXPRESS: {
this.concurrencyMode = ConcurrencyMgr.CO_OPT_EXPRESS;
break;
}
default: {
throw new Error(Error.CM_ILLEGAL_CONCURRENCY_MODE, "SetConcurrencyMode", this, new IntegerData(mode), Error.qq_Resolver.cERROR_METHODNAME_ORIGINATOR_PARAM1).getException();
}
}
}