Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
ba6c5a06
Commit
ba6c5a06
authored
13 years ago
by
kaloyane
Browse files
Options
Downloads
Patches
Plain Diff
minor: typo fixed
SVN: 21049
parent
352240e3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/SpeedOptimizedShareFinder.java
+4
-4
4 additions, 4 deletions
...openbis/dss/generic/shared/SpeedOptimizedShareFinder.java
with
4 additions
and
4 deletions
datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/SpeedOptimizedShareFinder.java
+
4
−
4
View file @
ba6c5a06
...
@@ -24,7 +24,7 @@ import ch.systemsx.cisd.openbis.generic.shared.dto.SimpleDataSetInformationDTO;
...
@@ -24,7 +24,7 @@ import ch.systemsx.cisd.openbis.generic.shared.dto.SimpleDataSetInformationDTO;
/**
/**
* A share finder which first searches for the extension share with most free space which matches
* A share finder which first searches for the extension share with most free space which matches
* speed. If nothing found it does the same also for all extension shares but speed needs not to
* speed. If nothing
is
found it does the same also for all extension shares but speed needs not to
* match but speed hint needs to be respected. If this isn't working {@link SimpleShareFinder} is
* match but speed hint needs to be respected. If this isn't working {@link SimpleShareFinder} is
* used ignoring speed hint.
* used ignoring speed hint.
*
*
...
@@ -41,13 +41,13 @@ public class SpeedOptimizedShareFinder implements IShareFinder
...
@@ -41,13 +41,13 @@ public class SpeedOptimizedShareFinder implements IShareFinder
public
Share
tryToFindShare
(
SimpleDataSetInformationDTO
dataSet
,
List
<
Share
>
shares
)
public
Share
tryToFindShare
(
SimpleDataSetInformationDTO
dataSet
,
List
<
Share
>
shares
)
{
{
Share
share
=
tryToFind
e
ExtensionShare
(
dataSet
,
shares
,
SpeedChecker
.
MATCHING_CHECKER
);
Share
share
=
tryToFindExtensionShare
(
dataSet
,
shares
,
SpeedChecker
.
MATCHING_CHECKER
);
if
(
share
!=
null
)
if
(
share
!=
null
)
{
{
return
share
;
return
share
;
}
}
share
=
share
=
tryToFind
e
ExtensionShare
(
dataSet
,
shares
,
tryToFindExtensionShare
(
dataSet
,
shares
,
SpeedChecker
.
RESPECTUNG_SPEED_HINT_CHECKER
);
SpeedChecker
.
RESPECTUNG_SPEED_HINT_CHECKER
);
if
(
share
!=
null
)
if
(
share
!=
null
)
{
{
...
@@ -57,7 +57,7 @@ public class SpeedOptimizedShareFinder implements IShareFinder
...
@@ -57,7 +57,7 @@ public class SpeedOptimizedShareFinder implements IShareFinder
SpeedChecker
.
IGNORING_SPEED_HINT_CHECKER
);
SpeedChecker
.
IGNORING_SPEED_HINT_CHECKER
);
}
}
private
Share
tryToFind
e
ExtensionShare
(
SimpleDataSetInformationDTO
dataSet
,
List
<
Share
>
shares
,
private
Share
tryToFindExtensionShare
(
SimpleDataSetInformationDTO
dataSet
,
List
<
Share
>
shares
,
ISpeedChecker
speedChecker
)
ISpeedChecker
speedChecker
)
{
{
Share
result
=
null
;
Share
result
=
null
;
...
...
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