Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
floodlight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
croft1
floodlight
Commits
5a8ee386
Commit
5a8ee386
authored
11 years ago
by
Rob Adams
Browse files
Options
Downloads
Patches
Plain Diff
Add package qualifiers to store name
parent
d6debd1b
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/org/sdnplatform/sync/internal/SyncTorture.java
+5
-2
5 additions, 2 deletions
src/main/java/org/sdnplatform/sync/internal/SyncTorture.java
with
5 additions
and
2 deletions
src/main/java/org/sdnplatform/sync/internal/SyncTorture.java
+
5
−
2
View file @
5a8ee386
...
...
@@ -28,6 +28,9 @@ import net.floodlightcontroller.debugcounter.IDebugCounterService;
public
class
SyncTorture
implements
IFloodlightModule
{
protected
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
SyncTorture
.
class
);
private
static
final
String
SYNC_STORE_NAME
=
SyncTorture
.
class
.
getCanonicalName
()
+
".torture"
;
ISyncService
syncService
;
IDebugCounterService
debugCounter
;
...
...
@@ -67,7 +70,7 @@ public class SyncTorture implements IFloodlightModule {
debugCounter
=
context
.
getServiceImpl
(
IDebugCounterService
.
class
);
try
{
syncService
.
registerStore
(
"torture"
,
Scope
.
GLOBAL
);
syncService
.
registerStore
(
SYNC_STORE_NAME
,
Scope
.
GLOBAL
);
}
catch
(
SyncException
e
)
{
throw
new
FloodlightModuleException
(
e
);
}
...
...
@@ -92,7 +95,7 @@ public class SyncTorture implements IFloodlightModule {
throws
FloodlightModuleException
{
try
{
final
IStoreClient
<
String
,
TortureValue
>
storeClient
=
syncService
.
getStoreClient
(
"torture"
,
syncService
.
getStoreClient
(
SYNC_STORE_NAME
,
String
.
class
,
TortureValue
.
class
);
for
(
int
i
=
0
;
i
<
numWorkers
;
i
++)
{
...
...
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