Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TeeTime-Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nelson Tavares de Sousa
TeeTime-Framework
Commits
fdf3698a
Commit
fdf3698a
authored
9 years ago
by
Nelson Tavares de Sousa
Browse files
Options
Downloads
Patches
Plain Diff
removed deprecated methods #102
parent
eda362bd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/teetime/framework/Analysis.java
+1
-41
1 addition, 41 deletions
src/main/java/teetime/framework/Analysis.java
with
1 addition
and
41 deletions
src/main/java/teetime/framework/Analysis.java
+
1
−
41
View file @
fdf3698a
...
...
@@ -118,7 +118,7 @@ public final class Analysis<T extends AnalysisConfiguration> implements Uncaught
* @deprecated since 1.1, analysis will be initialized automatically by the framework
*/
@Deprecated
p
ublic
final
void
init
()
{
p
rivate
final
void
init
()
{
if
(
initialized
)
{
return
;
}
...
...
@@ -182,46 +182,6 @@ public final class Analysis<T extends AnalysisConfiguration> implements Uncaught
}
}
/**
* This method will start the Analysis and all containing stages.
*
* @return a collection of thread/throwable pairs
*
* @deprecated since 1.1, replaced by {@link #executeBlocking()}
*/
@Deprecated
public
Collection
<
Pair
<
Thread
,
Throwable
>>
start
()
{
// start analysis
startThreads
(
this
.
consumerThreads
);
startThreads
(
this
.
finiteProducerThreads
);
startThreads
(
this
.
infiniteProducerThreads
);
// wait for the analysis to complete
try
{
for
(
Thread
thread
:
this
.
finiteProducerThreads
)
{
thread
.
join
();
}
for
(
Thread
thread
:
this
.
consumerThreads
)
{
thread
.
join
();
}
}
catch
(
InterruptedException
e
)
{
LOGGER
.
error
(
"Analysis has stopped unexpectedly"
,
e
);
for
(
Thread
thread
:
this
.
finiteProducerThreads
)
{
thread
.
interrupt
();
}
for
(
Thread
thread
:
this
.
consumerThreads
)
{
thread
.
interrupt
();
}
}
for
(
Thread
thread
:
this
.
infiniteProducerThreads
)
{
thread
.
interrupt
();
}
return
this
.
exceptions
;
}
/**
* Calling this method will block the current thread, until the analysis terminates.
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment