public class WriteCacheServiceCounters extends WriteCacheCounters implements IWriteCacheServiceCounters
WriteCacheService.| Modifier and Type | Field and Description |
|---|---|
int |
compactingThreshold
The threshold of reclaimable space at which we will attempt to coalesce
records in cache buffers.
|
int |
dirtyListThreshold
The configured dirty list threshold before evicting to disk (immutable).
|
long |
elapsedBufferEvictedToChannelNanos
The cumulative latency (nanoseconds) when writing a write cache buffer
onto the backing channel.
|
long |
elapsedCacheWriteNanos
The cumulative latency (nanoseconds) when writing into the
write cache.
|
int |
maxdirty
The maximum #of dirty buffers observed by the
WriteCacheService.WriteTask (its
maximum observed backlog). |
CAT |
memoCacheSize |
long |
nbufferEvictedToChannel
The #of
WriteCache buffers written to the disk. |
int |
nbuffers
#of configured buffers (immutable).
|
long |
ncacheWrites
The #of record-level writes made onto the
WriteCacheService. |
int |
nclean
#of clean buffers (instantaneous).
|
long |
nclearAddrCleared
The #of addresses actually found and cleared from the cache by the
WriteCacheService. |
long |
nclearAddrRequests
The requests to clear an address from the cache.
|
long |
ncompact
The #of
WriteCache buffers that have been compacted. |
int |
ndirty
#of dirty buffers (instantaneous).
|
CAT |
nreadNotInstalled
The #of read requests that were a miss in the cache and resulted in a
read through to the disk where the record was NOT installed into the read
cache (either because there is no read cache, because the record is too
large for the read cache, or because the thread could not obtain a
WriteCache.ReadCache block to install the read). |
long |
nrecordsEvictedToChannel
The cumulative number of records written onto the backing channel.
|
long |
nreset
#of times the
WriteCacheService was reset (typically to handle an
error condition). |
long |
nsend
The #of
WriteCache blocks sent by the leader to the first
downstream follower. |
bytesAccepted, bytesWritten, elapsedWriteNanos, naccept, nchannelWrite, nhit, nmissAVERAGE_BUFFER_EVICTED_TO_CHANNEL_NANOS, AVERAGE_CACHE_WRITE_NANOS, AVERAGE_RANDOM_WRITES_PER_SECOND, AVERAGE_RECORD_EVICTED_TO_CHANNEL_NANOS, COMPACTING_THRESHOLD, DIRTY_LIST_THRESHOLD, ELAPSED_BUFFER_EVICTED_TO_CHANNEL_NANOS, ELAPSED_CACHE_WRITES_NANOS, MAX_DIRTY, MB_PER_SEC, MEMO_CACHE_SIZE, NBUFFER_EVICTED_TO_CHANNEL, NBUFFERS, NCACHE_WRITES, NCLEAN, NCLEAR_ADDR_CLEARED, NCLEAR_ADDR_REQUESTS, NCOMPACT, NDIRTY, NREAD_NOT_INSTALLED, NRECORDS_EVICTED_TO_CHANNEL, NRESET, NSENDBYTES_ACCEPTED, BYTES_PER_WRITE, BYTES_WRITTEN, HIT_RATE, NACCEPT, NCHANNEL_WRITE, NHIT, NMISS, WRITE_SECS| Constructor and Description |
|---|
WriteCacheServiceCounters(int nbuffers,
int dirtyListThreshold,
int compactingThreshold) |
| Modifier and Type | Method and Description |
|---|---|
CounterSet |
getCounters() |
toStringpublic final int nbuffers
public final int dirtyListThreshold
public final int compactingThreshold
public volatile int ndirty
Note: This is set by the WriteCacheService.WriteTask thread and by
WriteCacheService.reset(). It is volatile so it is visible from a
thread which looks at the counters and for correct publication from
reset().
public volatile int nclean
Note: This is set by the WriteCacheService.WriteTask thread and by
WriteCacheService.reset(). It is volatile so it is visible from a
thread which looks at the counters and for correct publication from
reset().
public volatile int maxdirty
WriteCacheService.WriteTask (its
maximum observed backlog). This is only set by the WriteCacheService.WriteTask
thread, but it is volatile so it is visible from a thread which looks at
the counters.public volatile long nreset
WriteCacheService was reset (typically to handle an
error condition).
Note: This is set by WriteCacheService.reset(). It is volatile so
it is visible from a thread which looks at the counters and for correct
publication from reset().
public volatile long nsend
WriteCache blocks sent by the leader to the first
downstream follower.public volatile long nbufferEvictedToChannel
WriteCache buffers written to the disk.public volatile long elapsedBufferEvictedToChannelNanos
public volatile long nrecordsEvictedToChannel
public volatile long ncompact
WriteCache buffers that have been compacted.public volatile long ncacheWrites
WriteCacheService.public volatile long elapsedCacheWriteNanos
public volatile long nclearAddrRequests
public volatile long nclearAddrCleared
WriteCacheService.public final CAT nreadNotInstalled
WriteCache.ReadCache block to install the read).public final CAT memoCacheSize
public WriteCacheServiceCounters(int nbuffers,
int dirtyListThreshold,
int compactingThreshold)
public CounterSet getCounters()
getCounters in class WriteCacheCountersCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.