Created
September 29, 2016 07:52
-
-
Save jongyoul/6bd5fd4e0bc1cfa1ca9e4f8df468712f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private String getInterpreterInstanceKey(String noteId, InterpreterSetting setting) { | |
if (setting.getOption().isExistingProcess()) { | |
return Constants.EXISTING_PROCESS; | |
} else if (setting.getOption().isPerNoteSession() || setting.getOption().isPerNoteProcess()) { | |
return noteId; | |
} else { | |
return SHARED_SESSION; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment