Permalink
Browse files

Fix table styles.

  • Loading branch information...
1 parent 1361588 commit 0d297c4202d14bf2f2ea30b7cd6779e435495b4d @codahale codahale committed Feb 26, 2012
@@ -22,7 +22,7 @@ table {
// Cells
th,
td {
- padding: 8px;
+ padding: 16px;
line-height: @baseLineHeight;
text-align: left;
border-top: 1px solid #ddd;
@@ -223,3 +223,9 @@ h4 tt {
.hero-unit li a:after {
content: " »";
}
+
+table.docutils {
+ border: 1px solid #DDD;
+ .table();
+ .table-striped();
+}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -19,43 +19,47 @@ Instrumenting Ehcache
Instrumenting an ``Ehcache`` instance creates gauges for all of the Ehcache-provided statistics:
-.. todo:: Fix table styles.
-
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``hits`` | The number of times a requested item was found in the cache. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``in-memory-hits`` | Number of times a requested item was found in the memory store. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``off-heap-hits`` | Number of times a requested item was found in the off-heap store. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``on-disk-hits`` | Number of times a requested item was found in the disk store. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``misses`` | Number of times a requested item was not found in the cache. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``in-memory-misses`` | Number of times a requested item was not found in the memory store. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``off-heap-misses`` | Number of times a requested item was not found in the off-heap store. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``on-disk-misses`` | Number of times a requested item was not found in the disk store. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``objects`` | Number of elements stored in the cache. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``in-memory-objects`` | Number of objects in the memory store. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``off-heap-objects`` | Number of objects in the off-heap store. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``on-disk-objects`` | Number of objects in the disk store. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``mean-get-time`` | The average get time. Because ehcache supports JDK1.4.2, each get time uses ``System.currentTimeMillis()``, rather than nanoseconds. The accuracy is thus limited. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``mean-search-time`` | The average execution time (in milliseconds) within the last sample period. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``eviction-count`` | The number of cache evictions, since the cache was created, or statistics were cleared. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``searches-per-second`` | The number of search executions that have completed in the last second. |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``accuracy`` | A human readable description of the accuracy setting. One of "None", "Best Effort" or "Guaranteed". |
-+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
++---------------------------+----------------------------------------------------------------------+
+| ``hits`` | The number of times a requested item was found in the cache. |
++---------------------------+----------------------------------------------------------------------+
+| ``in-memory-hits`` | Number of times a requested item was found in the memory store. |
++---------------------------+----------------------------------------------------------------------+
+| ``off-heap-hits`` | Number of times a requested item was found in the off-heap store. |
++---------------------------+----------------------------------------------------------------------+
+| ``on-disk-hits`` | Number of times a requested item was found in the disk store. |
++---------------------------+----------------------------------------------------------------------+
+| ``misses`` | Number of times a requested item was not found in the cache. |
++---------------------------+----------------------------------------------------------------------+
+| ``in-memory-misses`` | Number of times a requested item was not found in the memory store. |
++---------------------------+----------------------------------------------------------------------+
+| ``off-heap-misses`` | Number of times a requested item was not found in the off-heap store.|
++---------------------------+----------------------------------------------------------------------+
+| ``on-disk-misses`` | Number of times a requested item was not found in the disk store. |
++---------------------------+----------------------------------------------------------------------+
+| ``objects`` | Number of elements stored in the cache. |
++---------------------------+----------------------------------------------------------------------+
+| ``in-memory-objects`` | Number of objects in the memory store. |
++---------------------------+----------------------------------------------------------------------+
+| ``off-heap-objects`` | Number of objects in the off-heap store. |
++---------------------------+----------------------------------------------------------------------+
+| ``on-disk-objects`` | Number of objects in the disk store. |
++---------------------------+----------------------------------------------------------------------+
+| ``mean-get-time`` | The average get time. Because ehcache supports JDK1.4.2, each get |
+| | time uses ``System.currentTimeMillis()``, rather than nanoseconds. |
+| | The accuracy is thus limited. |
++---------------------------+----------------------------------------------------------------------+
+| ``mean-search-time`` | The average execution time (in milliseconds) within the last sample |
+| | period. |
++---------------------------+----------------------------------------------------------------------+
+| ``eviction-count`` | The number of cache evictions, since the cache was created, or |
+| | statistics were cleared. |
++---------------------------+----------------------------------------------------------------------+
+| ``searches-per-second`` | The number of search executions that have completed in the last |
+| | second. |
++---------------------------+----------------------------------------------------------------------+
+| ``accuracy`` | A human readable description of the accuracy setting. One of "None", |
+| | "Best Effort" or "Guaranteed". |
++---------------------------+----------------------------------------------------------------------+
It also adds full timers for the cache's ``get`` and ``put`` methods.

0 comments on commit 0d297c4

Please sign in to comment.