Repository: ignite Updated Branches: refs/heads/ignite-2.3 745677631 -> 6c58b4ac7
IGNITE-6030 Fixed misspelled metric Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/6c58b4ac Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/6c58b4ac Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/6c58b4ac Branch: refs/heads/ignite-2.3 Commit: 6c58b4ac7c4527d583de49c4d8b250436273294c Parents: 7456776 Author: Alexey Goncharuk <alexey.goncha...@gmail.com> Authored: Fri Oct 20 13:43:44 2017 +0300 Committer: Alexey Goncharuk <alexey.goncha...@gmail.com> Committed: Fri Oct 20 13:44:48 2017 +0300 ---------------------------------------------------------------------- .../core/src/main/java/org/apache/ignite/DataStorageMetrics.java | 2 +- .../main/java/org/apache/ignite/DataStorageMetricsAdapter.java | 2 +- .../processors/cache/persistence/DataStorageMetricsImpl.java | 2 +- .../processors/cache/persistence/DataStorageMetricsSnapshot.java | 4 ++-- .../ignite/internal/visor/node/VisorPersistenceMetrics.java | 2 +- .../java/org/apache/ignite/mxbean/DataStorageMetricsMXBean.java | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/6c58b4ac/modules/core/src/main/java/org/apache/ignite/DataStorageMetrics.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/DataStorageMetrics.java b/modules/core/src/main/java/org/apache/ignite/DataStorageMetrics.java index 87095f6..e26bb1f 100644 --- a/modules/core/src/main/java/org/apache/ignite/DataStorageMetrics.java +++ b/modules/core/src/main/java/org/apache/ignite/DataStorageMetrics.java @@ -61,7 +61,7 @@ public interface DataStorageMetrics { * * @return Total checkpoint duration in milliseconds. */ - public long getLastCheckpointingDuration(); + public long getLastCheckpointDuration(); /** * Gets the duration of last checkpoint lock wait in milliseconds. http://git-wip-us.apache.org/repos/asf/ignite/blob/6c58b4ac/modules/core/src/main/java/org/apache/ignite/DataStorageMetricsAdapter.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/DataStorageMetricsAdapter.java b/modules/core/src/main/java/org/apache/ignite/DataStorageMetricsAdapter.java index 6bb4b7e..431e264 100644 --- a/modules/core/src/main/java/org/apache/ignite/DataStorageMetricsAdapter.java +++ b/modules/core/src/main/java/org/apache/ignite/DataStorageMetricsAdapter.java @@ -61,7 +61,7 @@ public class DataStorageMetricsAdapter implements PersistenceMetrics { /** {@inheritDoc} */ @Override public long getLastCheckpointingDuration() { - return delegate.getLastCheckpointingDuration(); + return delegate.getLastCheckpointDuration(); } /** {@inheritDoc} */ http://git-wip-us.apache.org/repos/asf/ignite/blob/6c58b4ac/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/DataStorageMetricsImpl.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/DataStorageMetricsImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/DataStorageMetricsImpl.java index 16707aa..6d196dc 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/DataStorageMetricsImpl.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/DataStorageMetricsImpl.java @@ -127,7 +127,7 @@ public class DataStorageMetricsImpl implements DataStorageMetricsMXBean { } /** {@inheritDoc} */ - @Override public long getLastCheckpointingDuration() { + @Override public long getLastCheckpointDuration() { if (!metricsEnabled) return 0; http://git-wip-us.apache.org/repos/asf/ignite/blob/6c58b4ac/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/DataStorageMetricsSnapshot.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/DataStorageMetricsSnapshot.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/DataStorageMetricsSnapshot.java index 4841387..5bbb0e1 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/DataStorageMetricsSnapshot.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/DataStorageMetricsSnapshot.java @@ -67,7 +67,7 @@ public class DataStorageMetricsSnapshot implements DataStorageMetrics { walWritingRate = metrics.getWalWritingRate(); walArchiveSegments = metrics.getWalArchiveSegments(); walFsyncTimeAvg = metrics.getWalFsyncTimeAverage(); - lastCpDuration = metrics.getLastCheckpointingDuration(); + lastCpDuration = metrics.getLastCheckpointDuration(); lastCpLockWaitDuration = metrics.getLastCheckpointLockWaitDuration(); lastCpMmarkDuration = metrics.getLastCheckpointMarkDuration(); lastCpPagesWriteDuration = metrics.getLastCheckpointPagesWriteDuration(); @@ -98,7 +98,7 @@ public class DataStorageMetricsSnapshot implements DataStorageMetrics { } /** {@inheritDoc} */ - @Override public long getLastCheckpointingDuration() { + @Override public long getLastCheckpointDuration() { return lastCpDuration; } http://git-wip-us.apache.org/repos/asf/ignite/blob/6c58b4ac/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorPersistenceMetrics.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorPersistenceMetrics.java b/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorPersistenceMetrics.java index 165855c..d7aed5f 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorPersistenceMetrics.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorPersistenceMetrics.java @@ -81,7 +81,7 @@ public class VisorPersistenceMetrics extends VisorDataTransferObject { walWritingRate = metrics.getWalWritingRate(); walArchiveSegments = metrics.getWalArchiveSegments(); walFsyncTimeAvg = metrics.getWalFsyncTimeAverage(); - lastCpDuration = metrics.getLastCheckpointingDuration(); + lastCpDuration = metrics.getLastCheckpointDuration(); lastCpLockWaitDuration = metrics.getLastCheckpointLockWaitDuration(); lastCpMmarkDuration = metrics.getLastCheckpointMarkDuration(); lastCpPagesWriteDuration = metrics.getLastCheckpointPagesWriteDuration(); http://git-wip-us.apache.org/repos/asf/ignite/blob/6c58b4ac/modules/core/src/main/java/org/apache/ignite/mxbean/DataStorageMetricsMXBean.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/mxbean/DataStorageMetricsMXBean.java b/modules/core/src/main/java/org/apache/ignite/mxbean/DataStorageMetricsMXBean.java index f0fb631..40410cb 100644 --- a/modules/core/src/main/java/org/apache/ignite/mxbean/DataStorageMetricsMXBean.java +++ b/modules/core/src/main/java/org/apache/ignite/mxbean/DataStorageMetricsMXBean.java @@ -42,7 +42,7 @@ public interface DataStorageMetricsMXBean extends DataStorageMetrics { /** {@inheritDoc} */ @MXBeanDescription("Duration of the last checkpoint in milliseconds.") - @Override long getLastCheckpointingDuration(); + @Override long getLastCheckpointDuration(); /** {@inheritDoc} */ @MXBeanDescription("Duration of the checkpoint lock wait in milliseconds.")