Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
analysis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
ExplorViz
explorviz-github-archive
analysis
Commits
fc81eaec
Commit
fc81eaec
authored
11 years ago
by
Florian Fittkau
Browse files
Options
Downloads
Patches
Plain Diff
minor TODOs
parent
cbe4feb1
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/explorviz/live_trace_processing/connector/TCPConnector.java
+1
-5
1 addition, 5 deletions
...plorviz/live_trace_processing/connector/TCPConnector.java
with
1 addition
and
5 deletions
src/explorviz/live_trace_processing/connector/TCPConnector.java
+
1
−
5
View file @
fc81eaec
...
@@ -24,10 +24,7 @@ public class TCPConnector extends AbstractSink implements IWriter, IStringRecord
...
@@ -24,10 +24,7 @@ public class TCPConnector extends AbstractSink implements IWriter, IStringRecord
private
SocketChannel
socketChannel
;
private
SocketChannel
socketChannel
;
private
final
StringRegistry
stringRegistry
=
new
StringRegistry
(
this
);
// TODO
private
final
StringRegistry
stringRegistry
=
new
StringRegistry
(
this
);
// clear
// after
// disconnect?
private
final
ByteBuffer
buffer
=
ByteBuffer
private
final
ByteBuffer
buffer
=
ByteBuffer
.
allocateDirect
(
Constants
.
MONITORING_MESSAGE_BUFFER_SIZE
);
.
allocateDirect
(
Constants
.
MONITORING_MESSAGE_BUFFER_SIZE
);
...
@@ -107,7 +104,6 @@ public class TCPConnector extends AbstractSink implements IWriter, IStringRecord
...
@@ -107,7 +104,6 @@ public class TCPConnector extends AbstractSink implements IWriter, IStringRecord
doDisconnectIfNessecary
();
doDisconnectIfNessecary
();
}
catch
(
final
IOException
e
)
{
}
catch
(
final
IOException
e
)
{
System
.
out
.
println
(
"WARNING: Connection was closed - possible data loss"
);
System
.
out
.
println
(
"WARNING: Connection was closed - possible data loss"
);
// TODO reconnect in non-load-balancing mode
try
{
try
{
socketChannel
.
close
();
socketChannel
.
close
();
}
catch
(
final
IOException
e1
)
{
}
catch
(
final
IOException
e1
)
{
...
...
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