public class WriteCacheCounters extends Object implements IWriteCacheCounters
WriteCache
.
Note: thread-safety is required for: nhit
and nmiss
. The
rest should be Ok without additional synchronization, CAS operators, etc
(mainly because they are updated while holding a lock).
Modifier and Type | Field and Description |
---|---|
long |
bytesAccepted
#of bytes accepted for eventual write onto the backing channel.
|
long |
bytesWritten
#of bytes written onto the backing channel.
|
long |
elapsedWriteNanos
Total elapsed time writing onto the backing channel.
|
long |
naccept
#of records accepted for eventual write onto the backing channel.
|
long |
nchannelWrite
#of writes on the backing channel.
|
CAT |
nhit
#of read requests that are satisfied by the write cache.
|
CAT |
nmiss
The #of read requests that are not satisfied by the write cache.
|
BYTES_ACCEPTED, BYTES_PER_WRITE, BYTES_WRITTEN, HIT_RATE, NACCEPT, NCHANNEL_WRITE, NHIT, NMISS, WRITE_SECS
Constructor and Description |
---|
WriteCacheCounters() |
public final CAT nhit
public final CAT nmiss
public long naccept
public long bytesAccepted
public long nchannelWrite
public long bytesWritten
public long elapsedWriteNanos
public CounterSet getCounters()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.