summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/LiveDeployment/MetricsView.java
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2014-07-23 15:06:02 -0230
committerMatthew Newhook <matthew@zeroc.com>2014-07-23 15:06:02 -0230
commit866f9ff17391176b836f9bb49f6da40c2c938441 (patch)
tree7366963294ef3356c7b887cd89af753988c21beb /java/src/IceGridGUI/LiveDeployment/MetricsView.java
parentadding ACM tests for Python/Ruby/PHP (diff)
downloadice-866f9ff17391176b836f9bb49f6da40c2c938441.tar.bz2
ice-866f9ff17391176b836f9bb49f6da40c2c938441.tar.xz
ice-866f9ff17391176b836f9bb49f6da40c2c938441.zip
ICE-4234 - Update Ice to use current Java threading constructs
- Use ScheduledThreadPoolDispatcher not IceUtilInternal.Timer. - Use Ice timer in glacier2, Freeze impl. - Align C++, C# with java changes. - Database demo now supports mariadb.
Diffstat (limited to 'java/src/IceGridGUI/LiveDeployment/MetricsView.java')
-rw-r--r--java/src/IceGridGUI/LiveDeployment/MetricsView.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/java/src/IceGridGUI/LiveDeployment/MetricsView.java b/java/src/IceGridGUI/LiveDeployment/MetricsView.java
index da866f642f1..0ce60746390 100644
--- a/java/src/IceGridGUI/LiveDeployment/MetricsView.java
+++ b/java/src/IceGridGUI/LiveDeployment/MetricsView.java
@@ -99,7 +99,7 @@ class MetricsView extends TreeNode
// If the metrics view is selected when enabled success,
// we must start the refresh thread to pull updates.
//
- MetricsViewEditor.startRefreshThread(MetricsView.this);
+ MetricsViewEditor.startRefresh(MetricsView.this);
}
}
});
@@ -107,7 +107,7 @@ class MetricsView extends TreeNode
public void exception(final Ice.LocalException e)
{
- MetricsViewEditor.stopRefreshThread();
+ MetricsViewEditor.stopRefresh();
SwingUtilities.invokeLater(new Runnable()
{
public void run()
@@ -133,7 +133,7 @@ class MetricsView extends TreeNode
public void exception(final Ice.UserException e)
{
- MetricsViewEditor.stopRefreshThread();
+ MetricsViewEditor.stopRefresh();
SwingUtilities.invokeLater(new Runnable()
{
public void run()
@@ -168,7 +168,7 @@ class MetricsView extends TreeNode
// If the metrics view is selected when disabled success,
// we stop the refresh.
//
- MetricsViewEditor.stopRefreshThread();
+ MetricsViewEditor.stopRefresh();
}
}
});
@@ -176,7 +176,7 @@ class MetricsView extends TreeNode
public void exception(final Ice.LocalException e)
{
- MetricsViewEditor.stopRefreshThread();
+ MetricsViewEditor.stopRefresh();
SwingUtilities.invokeLater(new Runnable()
{
public void run()
@@ -202,7 +202,7 @@ class MetricsView extends TreeNode
public void exception(final Ice.UserException e)
{
- MetricsViewEditor.stopRefreshThread();
+ MetricsViewEditor.stopRefresh();
SwingUtilities.invokeLater(new Runnable()
{
public void run()
@@ -288,7 +288,7 @@ class MetricsView extends TreeNode
public void exception(final Ice.LocalException e)
{
- MetricsViewEditor.stopRefreshThread();
+ MetricsViewEditor.stopRefresh();
SwingUtilities.invokeLater(new Runnable()
{
public void run()
@@ -318,7 +318,7 @@ class MetricsView extends TreeNode
public void exception(final Ice.UserException e)
{
- MetricsViewEditor.stopRefreshThread();
+ MetricsViewEditor.stopRefresh();
SwingUtilities.invokeLater(new Runnable()
{
public void run()
@@ -340,7 +340,7 @@ class MetricsView extends TreeNode
}
catch(Ice.LocalException e)
{
- _editor.stopRefreshThread();
+ _editor.stopRefresh();
JOptionPane.showMessageDialog(getCoordinator().getMainFrame(), "Error: " + e.toString(), "Error",
JOptionPane.ERROR_MESSAGE);
}