|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.journal.DiskOnlyStrategy.StoreCounters
public static class DiskOnlyStrategy.StoreCounters
Counters for IRawStore access, including operations that read or
write through to the underlying media.
x++ operations failing to correctly
increment x for each request.| Field Summary | |
|---|---|
long |
bytesRead
#of bytes read. |
long |
bytesReadFromDisk
#of bytes that have been read from the disk. |
long |
bytesWritten
#of bytes written. |
long |
bytesWrittenOnDisk
#of bytes that have been written on the disk. |
long |
elapsedCacheReadNanos
Total elapsed time checking the disk write cache for records to be read. |
long |
elapsedCacheWriteNanos
Total elapsed time writing records into the cache (does not count time to flush the cache when it is full or to write records that do not fit in the cache directly to the disk). |
long |
elapsedDiskReadNanos
Total elapsed time for reading on the disk. |
long |
elapsedDiskWriteNanos
Total elapsed time for writing on the disk. |
long |
elapsedReadNanos
Total elapsed time for reads. |
long |
elapsedWriteNanos
Total elapsed time for writes. |
long |
maxReadSize
The size of the largest record read. |
long |
maxWriteSize
The size of the largest record written. |
long |
ncacheFlush
#of times the write cache was flushed to disk. |
long |
ncacheRead
#of read requests that are satisfied by our write cache (vs the OS or disk level write cache). |
long |
ncacheWrite
#of write requests that are absorbed by our write cache (vs the OS or disk level write cache). |
long |
ndiskRead
#of read requests that read through to the backing file. |
long |
ndiskWrite
#of write requests that write through to the backing file. |
long |
nforce
#of times the data were forced to the disk. |
long |
nreads
#of read requests. |
long |
nreopen
#of times the file has been reopened after it was closed by an interrupt. |
long |
ntruncate
#of times the length of the file was changed (typically, extended). |
long |
nwriteRootBlock
#of times one of the root blocks has been written. |
long |
nwrites
#of write requests. |
| Constructor Summary | |
|---|---|
DiskOnlyStrategy.StoreCounters()
Initialize a new set of counters. |
|
DiskOnlyStrategy.StoreCounters(DiskOnlyStrategy.StoreCounters o)
Copy ctor. |
|
| Method Summary | |
|---|---|
void |
add(DiskOnlyStrategy.StoreCounters o)
Adds counters to the current counters. |
CounterSet |
getCounters()
|
DiskOnlyStrategy.StoreCounters |
subtract(DiskOnlyStrategy.StoreCounters o)
Returns a new DiskOnlyStrategy.StoreCounters containing the current counter values
minus the given counter values. |
String |
toString()
Human readable representation of the counters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public long nreads
public long ncacheRead
public long ndiskRead
public long bytesRead
public long bytesReadFromDisk
public long maxReadSize
public long elapsedReadNanos
public long elapsedCacheReadNanos
public long elapsedDiskReadNanos
public long nwrites
public long ncacheWrite
public long ncacheFlush
public long ndiskWrite
public long maxWriteSize
public long bytesWritten
public long bytesWrittenOnDisk
public long elapsedWriteNanos
public long elapsedCacheWriteNanos
public long elapsedDiskWriteNanos
public long nforce
public long ntruncate
public long nreopen
public long nwriteRootBlock
| Constructor Detail |
|---|
public DiskOnlyStrategy.StoreCounters()
public DiskOnlyStrategy.StoreCounters(DiskOnlyStrategy.StoreCounters o)
o - | Method Detail |
|---|
public void add(DiskOnlyStrategy.StoreCounters o)
o - public DiskOnlyStrategy.StoreCounters subtract(DiskOnlyStrategy.StoreCounters o)
DiskOnlyStrategy.StoreCounters containing the current counter values
minus the given counter values.
o -
public CounterSet getCounters()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||