public class DataStorageMetricsImpl extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DATASTORAGE_METRIC_PREFIX
Prefix for all data storage metrics.
|
| Constructor and Description |
|---|
DataStorageMetricsImpl(GridMetricManager mmgr,
boolean metricsEnabled,
long rateTimeInterval,
int subInts) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
metricsEnabled()
Deprecated.
Will be removed in upcoming releases.
|
void |
onBuffPollSpin(int num) |
void |
onCheckpoint(long beforeLockDuration,
long lockWaitDuration,
long listenersExecuteDuration,
long markDuration,
long lockHoldDuration,
long pagesWriteDuration,
long fsyncDuration,
long walRecordFsyncDuration,
long writeEntryDuration,
long splitAndSortPagesDuration,
long duration,
long start,
long totalPages,
long dataPages,
long cowPages,
long storageSize,
long sparseStorageSize) |
void |
onFsync(long nanoTime) |
void |
onWallRollOver() |
void |
onWalRecordLogged(long size)
Callback on logging a record to a WAL.
|
void |
onWalSegmentCompressed(long size)
Callback on compression of a WAL segment.
|
void |
regionMetrics(Collection<DataRegionMetrics> regionMetrics) |
void |
setWalSizeProvider(IgniteOutClosure<Long> walSizeProvider) |
void |
wal(IgniteWriteAheadLogManager wal) |
public static final String DATASTORAGE_METRIC_PREFIX
public DataStorageMetricsImpl(GridMetricManager mmgr, boolean metricsEnabled, long rateTimeInterval, int subInts)
mmgr - Metrics manager.metricsEnabled - Metrics enabled flag.rateTimeInterval - Rate time interval.subInts - Number of sub-intervals.public void wal(IgniteWriteAheadLogManager wal)
wal - Write-ahead log manager.public void setWalSizeProvider(IgniteOutClosure<Long> walSizeProvider)
walSizeProvider - Wal size provider.public void onWallRollOver()
public void regionMetrics(Collection<DataRegionMetrics> regionMetrics)
@Deprecated public boolean metricsEnabled()
public void onCheckpoint(long beforeLockDuration,
long lockWaitDuration,
long listenersExecuteDuration,
long markDuration,
long lockHoldDuration,
long pagesWriteDuration,
long fsyncDuration,
long walRecordFsyncDuration,
long writeEntryDuration,
long splitAndSortPagesDuration,
long duration,
long start,
long totalPages,
long dataPages,
long cowPages,
long storageSize,
long sparseStorageSize)
beforeLockDuration - Checkpoint action before taken write lock duration.lockWaitDuration - Lock wait duration.listenersExecuteDuration - Execution listeners under write lock duration.markDuration - Mark duration.lockHoldDuration - Lock hold duration.pagesWriteDuration - Pages write duration.fsyncDuration - Total checkpoint fsync duration.walRecordFsyncDuration - Duration of WAL fsync after logging CheckpointRecord on checkpoint begin.writeEntryDuration - Duration of checkpoint entry buffer writing to file.splitAndSortPagesDuration - Duration of splitting and sorting checkpoint pages.duration - Total checkpoint duration.start - Checkpoint start time.totalPages - Total number of all pages in checkpoint.dataPages - Total number of data pages in checkpoint.cowPages - Total number of COW-ed pages in checkpoint.storageSize - Storage space allocated, in bytes.sparseStorageSize - Storage space allocated adjusted for possible sparsity, in bytes.public void onWalRecordLogged(long size)
size - Record size in bytes.public void onFsync(long nanoTime)
nanoTime - Fsync nano time.public void onBuffPollSpin(int num)
num - Number.public void onWalSegmentCompressed(long size)
size - Size of the compressed segment in bytes.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023