Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.clustermate.dw;
 public enum RunMode {
Default run mode used by non-test services: will initialize everything normally
Light-weight test mode, in which no background tasks are run; service is marked as being run in test mode

"Heavy" test mode, in which all normal initialization is done, including start up of background tasks.
    protected final boolean _testing;
    protected final boolean _runTasks;
    private RunMode(boolean isTestingboolean runTasks)
         = isTesting;
         = runTasks;
    public boolean isTesting() { return ; }
    public boolean shouldRunTasks() { return ; }
New to GrepCode? Check out our FAQ X