Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
joram
joram
Commits
9c6c2294
Commit
9c6c2294
authored
Jul 28, 2017
by
afreyssin
Browse files
Minor changes.
parent
8c57eeb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
joram/joram/tools/rest/jms/src/main/java/org/objectweb/joram/tools/rest/jms/CleanerTask.java
View file @
9c6c2294
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2016 ScalAgent Distributed Technologies
* Copyright (C) 2016
- 2017
ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -127,11 +127,11 @@ public class CleanerTask implements Callable<Boolean> {
// never close
continue
;
}
//
if (logger.isLoggable(BasicLevel.DEBUG))
//
logger.log(BasicLevel.DEBUG, "cleanerTask.call : " + restClientCtx.getClientId() + ", idleTimeout = " + restClientCtx.getIdleTimeout());
if
(
logger
.
isLoggable
(
BasicLevel
.
DEBUG
))
logger
.
log
(
BasicLevel
.
DEBUG
,
"cleanerTask.call : "
+
restClientCtx
.
getClientId
()
+
", idleTimeout = "
+
restClientCtx
.
getIdleTimeout
());
if
(
restClientCtx
.
getLastActivity
()
+
restClientCtx
.
getIdleTimeout
()
<
System
.
currentTimeMillis
())
{
if
(
logger
.
isLoggable
(
BasicLevel
.
DEBUG
))
logger
.
log
(
BasicLevel
.
DEBUG
,
"cleanerTask.call close : "
+
restClientCtx
.
getClientId
());
if
(
logger
.
isLoggable
(
BasicLevel
.
INFO
))
logger
.
log
(
BasicLevel
.
INFO
,
"cleanerTask.call close : "
+
restClientCtx
.
getClientId
());
if
(!
toClose
.
contains
(
restClientCtx
.
getClientId
()))
toClose
.
add
(
restClientCtx
.
getClientId
());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment