diff options
| author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-02-17 17:25:57 +0000 |
|---|---|---|
| committer | <> | 2015-03-17 16:26:24 +0000 |
| commit | 780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch) | |
| tree | 598f8b9fa431b228d29897e798de4ac0c1d3d970 /lang/java/src/com/sleepycat/db/CacheStats.java | |
| parent | 7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff) | |
| download | berkeleydb-master.tar.gz | |
Diffstat (limited to 'lang/java/src/com/sleepycat/db/CacheStats.java')
| -rw-r--r-- | lang/java/src/com/sleepycat/db/CacheStats.java | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/lang/java/src/com/sleepycat/db/CacheStats.java b/lang/java/src/com/sleepycat/db/CacheStats.java index c41fdab4..efe0ced1 100644 --- a/lang/java/src/com/sleepycat/db/CacheStats.java +++ b/lang/java/src/com/sleepycat/db/CacheStats.java @@ -4,7 +4,7 @@ * * See the file LICENSE for redistribution information. * - * Copyright (c) 2002, 2012 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved. */ package com.sleepycat.db; @@ -267,7 +267,7 @@ public class CacheStats { private long st_region_nowait; /** The number of times that a thread of control was able to obtain a - region lock without waiting. + cache region mutex without waiting. */ public long getRegionNowait() { return st_region_nowait; @@ -276,7 +276,7 @@ public class CacheStats { private long st_region_wait; /** The number of times that a thread of control was forced to wait - before obtaining a region lock. + before obtaining a cache region mutex. */ public long getRegionWait() { return st_region_wait; @@ -306,6 +306,14 @@ public class CacheStats { return st_mvcc_freed; } + private long st_mvcc_reused; + /** + Number of outdated intermediate versions reused. + */ + public long getMultiversionReused() { + return st_mvcc_reused; + } + private long st_alloc; /** Number of page allocations. @@ -362,6 +370,18 @@ public class CacheStats { return st_sync_interrupted; } + private int st_oddfsize_detect; + /** TODO */ + /* package */ int getOddfSizeDetect() { + return st_oddfsize_detect; + } + + private int st_oddfsize_resolve; + /** TODO */ + /* package */ int getOddfSizeResolve() { + return st_oddfsize_resolve; + } + private long st_regsize; /** Individual cache size. @@ -371,7 +391,7 @@ public class CacheStats { } private long st_regmax; - /** The max size of the mutex region size. */ + /** The maximum size, in bytes, of the mutex region. */ public long getRegmax() { return st_regmax; } @@ -417,6 +437,7 @@ public class CacheStats { + "\n st_mvcc_frozen=" + st_mvcc_frozen + "\n st_mvcc_thawed=" + st_mvcc_thawed + "\n st_mvcc_freed=" + st_mvcc_freed + + "\n st_mvcc_reused=" + st_mvcc_reused + "\n st_alloc=" + st_alloc + "\n st_alloc_buckets=" + st_alloc_buckets + "\n st_alloc_max_buckets=" + st_alloc_max_buckets |
