Package com._1c.g5.v8.dt.bsl.common
Class BslThreadPoolServiceProvider
- java.lang.Object
- 
- com._1c.g5.v8.dt.bsl.common.BslThreadPoolServiceProvider
 
- 
- All Implemented Interfaces:
- IThreadPoolServiceProvider
 - Direct Known Subclasses:
- BslBmThreadPoolServiceProvider
 
 public class BslThreadPoolServiceProvider extends Object implements IThreadPoolServiceProvider Default implementation ofIThreadPoolServiceProvider. Provides no action for methodstopActivity(String)
- 
- 
Field SummaryFields Modifier and Type Field Description static intITEMS_FOR_ONE_THREADNumber of item for processing withoutForkJoinPoolprotected ForkJoinPoolpool- 
Fields inherited from interface com._1c.g5.v8.dt.bsl.common.IThreadPoolServiceProviderBSL_LAZY_REFERENCE_INSTALLING_ACTIVITY, BSL_LAZY_REFERENCE_RESOLVING_ACTIVITY, BSL_REFERENCE_DESCRIPTION_ACTIVITY, BSL_TYPE_SYSTEM_ACTIVITY, BSL_VALIDATION_ACTIVITY
 
- 
 - 
Constructor SummaryConstructors Constructor Description BslThreadPoolServiceProvider()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ForkJoinPoolstartActivity(String activityName)GetsForkJoinPoolfor activity with nameactivityName.voidstopActivity(String activityName)Calling of this method tells that activity was stopped
 
- 
- 
- 
Field Detail- 
ITEMS_FOR_ONE_THREADpublic static final int ITEMS_FOR_ONE_THREAD Number of item for processing withoutForkJoinPool- See Also:
- Constant Field Values
 
 - 
poolprotected final ForkJoinPool pool 
 
- 
 - 
Method Detail- 
startActivitypublic ForkJoinPool startActivity(String activityName) Description copied from interface:IThreadPoolServiceProviderGetsForkJoinPoolfor activity with nameactivityName. Calling of this method tells that activity was started- Specified by:
- startActivityin interface- IThreadPoolServiceProvider
- Parameters:
- activityName- name of the bsl module activity, can't be- null
- Returns:
- ForkJoinPoolfor activity with name- activityName, never- null
 
 - 
stopActivitypublic void stopActivity(String activityName) Description copied from interface:IThreadPoolServiceProviderCalling of this method tells that activity was stopped- Specified by:
- stopActivityin interface- IThreadPoolServiceProvider
- Parameters:
- activityName- name of the stopped activity, can't be- null
 
 
- 
 
-