public long getBytesWritten() {
    return stats.getLong(bytesWrittenId);
  }
Returns the total number of bytes that have been written to disk
geode-core/src/main/java/org/apache/geode/internal/cache/DiskRegionStats.java