Sets the dispatch mode
@see DispatchMode
@param argMode the mode to to put the tracker in.  If this is null, the tracker
defaults to {@link DispatchMode#SINGLE_THREAD}
424889
public void setDispatchMode(DispatchMode argMode){
    	if(argMode == null){
    		argMode = DispatchMode.SINGLE_THREAD;
    	}
    	if(argMode == DispatchMode.SINGLE_THREAD){
    		startBackgroundThread();
    	}
    	mode = argMode;
    }
1301302
public alluxio.grpc.PMode getMode() {
    return mode_ == null ? alluxio.grpc.PMode.getDefaultInstance() : mode_;
  }
464893
@Override
    public void lock(Object entity, LockModeType lockMode)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(tc, "em.lock(" + entity + ',' + lockMode + ");\n" + toString());

        getEMInvocationInfo(true).lock(entity, lockMode);
    }
775035
public void setCursor(CursorMode cursorMode) {
        Cursor c = CursorMode.getAWTCursor(cursorMode);

        if (c.getType() == panel.getCursor().getType()) return;
        panel.setCursor(c);
    }
485242
public void setEditMode(final EditMode mode) {

        if (!m_modeSelect.getValue().equals(mode)) {
            m_modeSelect.setValue(mode);
        }
    }
917882
public void setMode(final MenuMode mode) {
		// mode server mapped to mode dynamic as per https://github.com/BorderTech/wcomponents/issues/687
		getOrCreateComponentModel().mode = MenuMode.SERVER.equals(mode) ? MenuMode.DYNAMIC : mode;
	}
233989
@Override
    public void setRoundingMode(RoundingMode roundingMode) {
        if (roundingMode == null) {
            throw new NullPointerException();
        }

        this.roundingMode = roundingMode;
        digitList.setRoundingMode(roundingMode);
        fastPathCheckNeeded = true;
    }
1047232
public void setPaginationMode(final PaginationMode paginationMode) {
		getOrCreateComponentModel().paginationMode = PaginationMode.SERVER.equals(paginationMode) ? PaginationMode.DYNAMIC
				: paginationMode;
	}
705223
public static void setDebugMode(boolean b) {
        debugMode = Boolean.valueOf( b );
        if (debugMode) {
            if (!MVELRuntime.hasDebuggerContext()) {
                MVELRuntime.setThreadDebugger(new MVELDebugger());
            }
        } else {
            MVELRuntime.resetDebugger();
        }
        System.setProperty( DEBUG_LAUNCH_KEY, debugMode.toString());
    }
795233
@Override
    public void setSetWaitTimeInMessage(boolean setWaitTime)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "setSetWaitTimeInMessage", Boolean.valueOf(setWaitTime));
        _setWaitTimeInMessage = setWaitTime;
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "setSetWaitTimeInMessage");
    }
1102912
@Override
    @Autowired(required = false)
    public void setSamlLogger(SAMLLogger samlLogger) {
        Assert.notNull(samlLogger, "SAMLLogger can't be null");
        this.samlLogger = samlLogger;
    }
1304501
@Override
    public void setFlushMode(FlushModeType flushMode)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(tc, "em.setFlushMode(" + flushMode + ");\n" + toString());

        getEMInvocationInfo(false).setFlushMode(flushMode);
    }
384225
public void setTerminalMode(int mode, int value) throws SshException {
		try {

			encodedModes.write(mode);

			if (version == 1 && mode <= 127) {
				encodedModes.write(value);
			} else {
				encodedModes.writeInt(value);
			}

		} catch (IOException ex) {
			throw new SshException(SshException.INTERNAL_ERROR, ex);
		}
	}
116764
public static void setJavaCommonComponentsDebugMode (final boolean bDebugMode)
  {
    // Set JAXP debugging!
    // Note: this property is read-only on Ubuntu, defined by the following
    // policy file: /etc/tomcat6/policy.d/04webapps.policy
    SystemProperties.setPropertyValue (SYSTEM_PROPERTY_JAXP_DEBUG, bDebugMode);

    // Set javax.activation debugging
    SystemProperties.setPropertyValue (SYSTEM_PROPERTY_JAVAX_ACTIVATION_DEBUG, bDebugMode);

    // Set javax.mail debugging
    SystemProperties.setPropertyValue (SYSTEM_PROPERTY_MAIL_DEBUG, bDebugMode);

    // Set serialization debugging
    SystemProperties.setPropertyValue (SYSTEM_PROPERTY_SERIALIZATION_DEBUG, bDebugMode);
  }
682875
public void setArgs(java.util.Collection<CodeGenNodeArg> args) {
        if (args == null) {
            this.args = null;
            return;
        }

        this.args = new java.util.ArrayList<CodeGenNodeArg>(args);
    }
1022760
@Override
    public void     setErrorMode(ErrorMode newErrorMode)
    {
        Preconditions.checkNotNull(lockPath, "lockPath cannot be null");

        if ( newErrorMode == ErrorMode.REQUEUE )
        {
            log.warn("ErrorMode.REQUEUE requires ZooKeeper version 3.4.x+ - make sure you are not using a prior version");
        }

        errorMode.set(newErrorMode);
    }
1349137
public static void setBegunTxOnThread(BegunTx<?> begunTx) {
        if (begunTx == null) {
            String msg = "The argument[begunTx] must not be null.";
            throw new IllegalArgumentException(msg);
        }
        Stack<BegunTx<?>> stack = threadLocal.get();
        if (stack == null) {
            stack = new Stack<BegunTx<?>>();
            threadLocal.set(stack);
        }
        stack.add(begunTx);
    }