public class ConcurrencyInterview extends Interview implements Parameters.MutableConcurrencyParameters
Interview.BadHelpFault, Interview.Fault, Interview.HelpNotFoundFault, Interview.NotOnPathFault, Interview.Observer
EXPORT_IGNORE_ALL_EXCEPTIONS, EXPORT_IGNORE_NO_EXCEPTIONS, EXPORT_IGNORE_RUNTIME_EXCEPTIONS, EXTERNAL_PREF, INTERVIEW, LOCALE, MARKERS, MARKERS_PREF, QUESTION, SEMANTIC_MAX_VERSION, SEMANTIC_PRE_32, SEMANTIC_VERSION_32, SEMANTIC_VERSION_43, TEMPLATE_PREF
MAX_CONCURRENCY, MIN_CONCURRENCY
Constructor and Description |
---|
ConcurrencyInterview(Interview parent)
Create an interview.
|
Modifier and Type | Method and Description |
---|---|
int |
getConcurrency()
Get the concurrency value from the interview.
|
void |
setConcurrency(int conc)
Set the concurrency value in the interview.
|
addObserver, callInterview, clear, clearMarkedResponses, containsObserver, createChecklist, createChecklistItem, createChecklistItem, createChecklistItem, export, getAllQuestions, getCurrentQuestion, getDefaultImage, getExportIgnoreExceptionPolicy, getExternalProperties, getFirstQuestion, getHelpSet, getInterview, getInterviewSemantics, getParent, getPath, getPathToCurrent, getPropertyKeys, getQuestions, getRawPath, getResourceBundle, getResourceString, getResourceString, getRoot, getTag, getTitle, hasNext, hasValidNext, isChecklistEmpty, isChecksumValid, isEdited, isFinishable, isFirst, isInterviewFinishable, isLast, isRoot, isStarted, iteratePath, iteratePathToCurrent, last, load, load, next, pathContains, pathContains, prev, propagateTemplateForAll, readLocale, removeAllMarkers, removeMarkers, removeObserver, reset, retrieveProperty, retrieveTemplateKeys, retrieveTemplateProperty, save, setBaseTag, setCurrentQuestion, setDefaultImage, setEdited, setExportIgnoreExceptionPolicy, setFirstQuestion, setHelpSet, setHelpSet, setHelpSet, setInterviewSemantics, setResourceBundle, setResourceBundle, setTitle, storeProperty, storeTemplateProperties, storeTemplateProperty, updatePath, updatePath, verifyPathContains, writeLocale
public ConcurrencyInterview(Interview parent) throws Interview.Fault
parent
- The parent interview of which this is a child.Interview.Fault
- if there is a problem while creating the interview.public int getConcurrency()
getConcurrency
in interface Parameters.ConcurrencyParameters
setConcurrency(int)
public void setConcurrency(int conc)
setConcurrency
in interface Parameters.MutableConcurrencyParameters
conc
- The desired concurrency value.getConcurrency()
Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.