http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/54a3e718/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/Statistics.html ---------------------------------------------------------------------- diff --git a/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/Statistics.html b/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/Statistics.html new file mode 100644 index 0000000..ad66064 --- /dev/null +++ b/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/Statistics.html @@ -0,0 +1,1160 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (1.8.0_45) on Fri Mar 11 16:13:08 PST 2016 --> +<title>Statistics (Apache Geode 1.0.0-incubating.M2-SNAPSHOT)</title> +<meta name="date" content="2016-03-11"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Statistics (Apache Geode 1.0.0-incubating.M2-SNAPSHOT)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../com/gemstone/gemfire/StatisticsFactory.html" title="interface in com.gemstone.gemfire"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?com/gemstone/gemfire/Statistics.html" target="_top">Frames</a></li> +<li><a href="Statistics.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">com.gemstone.gemfire</div> +<h2 title="Interface Statistics" class="title">Interface Statistics</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public interface <span class="typeNameLabel">Statistics</span></pre> +<div class="block">Instances of this interface maintain the values of various application-defined + statistics. The statistics themselves are described by an instance + of <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>StatisticsType</code></a>. + + <P> + To get an instance of this interface use an instance of + <a href="../../../com/gemstone/gemfire/StatisticsFactory.html" title="interface in com.gemstone.gemfire"><code>StatisticsFactory</code></a>. + <P> + + For improved performance, each statistic may be referred to by + its <a href="../../../com/gemstone/gemfire/Statistics.html#nameToDescriptor-java.lang.String-"><code>descriptor</code></a>. + <P> + For optimal performance, each statistic may be referred to by + its <a href="../../../com/gemstone/gemfire/Statistics.html#nameToId-java.lang.String-"><code>id</code></a> in the statistics object. Note that + ids can not be mapped back to their name and methods that take ids + are unsafe. It is important to call the correct type of method + for the given id. For example if your stat is a long then incLong + must be called instead of incInt. + <p>Note that as of the 5.1 release the <code>incInt</code>, + <code>incLong</code>, and <code>incDouble</code> methods no longer + return the new value of the statistic. They now return <code>void</code>. + This incompatible change was made + to allow for a more efficient concurrent increment implementation. + <P></div> +<dl> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>3.0</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><A href="package-summary.html#statistics">Package introduction</A></dd> +</dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#close--">close</a></span>()</code> +<div class="block">Closes these statistics.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>java.lang.Number</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#get-com.gemstone.gemfire.StatisticDescriptor-">get</a></span>(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor)</code> +<div class="block">Returns the value of the identified statistic.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>java.lang.Number</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#get-java.lang.String-">get</a></span>(java.lang.String name)</code> +<div class="block">Returns the value of the named statistic.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getDouble-int-">getDouble</a></span>(int id)</code> +<div class="block">Returns the value of the identified statistic of type <code>double</code>.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getDouble-com.gemstone.gemfire.StatisticDescriptor-">getDouble</a></span>(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor)</code> +<div class="block">Returns the value of the described statistic of type <code>double</code>.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getDouble-java.lang.String-">getDouble</a></span>(java.lang.String name)</code> +<div class="block">Returns the value of the statistic of type <code>double</code> at + the given name.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getInt-int-">getInt</a></span>(int id)</code> +<div class="block">Returns the value of the identified statistic of type <code>int</code>.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getInt-com.gemstone.gemfire.StatisticDescriptor-">getInt</a></span>(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor)</code> +<div class="block">Returns the value of the described statistic of type <code>int</code>.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getInt-java.lang.String-">getInt</a></span>(java.lang.String name)</code> +<div class="block">Returns the value of the statistic of type <code>int</code> at + the given name.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getLong-int-">getLong</a></span>(int id)</code> +<div class="block">Returns the value of the identified statistic of type <code>long</code>.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getLong-com.gemstone.gemfire.StatisticDescriptor-">getLong</a></span>(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor)</code> +<div class="block">Returns the value of the described statistic of type <code>long</code>.</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getLong-java.lang.String-">getLong</a></span>(java.lang.String name)</code> +<div class="block">Returns the value of the statistic of type <code>long</code> at + the given name.</div> +</td> +</tr> +<tr id="i12" class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getNumericId--">getNumericId</a></span>()</code> +<div class="block">Gets the number associated with this instance that helps identify it.</div> +</td> +</tr> +<tr id="i13" class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getRawBits-com.gemstone.gemfire.StatisticDescriptor-">getRawBits</a></span>(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor)</code> +<div class="block">Returns the bits that represent the raw value of the described statistic.</div> +</td> +</tr> +<tr id="i14" class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getRawBits-java.lang.String-">getRawBits</a></span>(java.lang.String name)</code> +<div class="block">Returns the bits that represent the raw value of the named statistic.</div> +</td> +</tr> +<tr id="i15" class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getTextId--">getTextId</a></span>()</code> +<div class="block">Gets the text associated with this instance that helps identify it.</div> +</td> +</tr> +<tr id="i16" class="altColor"> +<td class="colFirst"><code><a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getType--">getType</a></span>()</code> +<div class="block">Gets the <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>StatisticsType</code></a> of this instance.</div> +</td> +</tr> +<tr id="i17" class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#getUniqueId--">getUniqueId</a></span>()</code> +<div class="block">Gets a value that uniquely identifies this statistics.</div> +</td> +</tr> +<tr id="i18" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#incDouble-int-double-">incDouble</a></span>(int id, + double delta)</code> +<div class="block">Increments the value of the identified statistic of type <code>double</code> + by the given amount.</div> +</td> +</tr> +<tr id="i19" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#incDouble-com.gemstone.gemfire.StatisticDescriptor-double-">incDouble</a></span>(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor, + double delta)</code> +<div class="block">Increments the value of the described statistic of type <code>double</code> + by the given amount.</div> +</td> +</tr> +<tr id="i20" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#incDouble-java.lang.String-double-">incDouble</a></span>(java.lang.String name, + double delta)</code> +<div class="block">Increments the value of the statistic of type <code>double</code> with + the given name by a given amount.</div> +</td> +</tr> +<tr id="i21" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#incInt-int-int-">incInt</a></span>(int id, + int delta)</code> +<div class="block">Increments the value of the identified statistic of type <code>int</code> + by the given amount.</div> +</td> +</tr> +<tr id="i22" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#incInt-com.gemstone.gemfire.StatisticDescriptor-int-">incInt</a></span>(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor, + int delta)</code> +<div class="block">Increments the value of the described statistic of type <code>int</code> + by the given amount.</div> +</td> +</tr> +<tr id="i23" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#incInt-java.lang.String-int-">incInt</a></span>(java.lang.String name, + int delta)</code> +<div class="block">Increments the value of the statistic of type <code>int</code> with + the given name by a given amount.</div> +</td> +</tr> +<tr id="i24" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#incLong-int-long-">incLong</a></span>(int id, + long delta)</code> +<div class="block">Increments the value of the identified statistic of type <code>long</code> + by the given amount.</div> +</td> +</tr> +<tr id="i25" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#incLong-com.gemstone.gemfire.StatisticDescriptor-long-">incLong</a></span>(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor, + long delta)</code> +<div class="block">Increments the value of the described statistic of type <code>long</code> + by the given amount.</div> +</td> +</tr> +<tr id="i26" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#incLong-java.lang.String-long-">incLong</a></span>(java.lang.String name, + long delta)</code> +<div class="block">Increments the value of the statistic of type <code>long</code> with + the given name by a given amount.</div> +</td> +</tr> +<tr id="i27" class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#isAtomic--">isAtomic</a></span>()</code> +<div class="block">Returns true if modifications are atomic.</div> +</td> +</tr> +<tr id="i28" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#isClosed--">isClosed</a></span>()</code> +<div class="block">Returns true if the instance has been <a href="../../../com/gemstone/gemfire/Statistics.html#close--"><code>closed</code></a>.</div> +</td> +</tr> +<tr id="i29" class="rowColor"> +<td class="colFirst"><code><a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#nameToDescriptor-java.lang.String-">nameToDescriptor</a></span>(java.lang.String name)</code> +<div class="block">Returns the descriptor of the statistic with the given name in this + statistics instance.</div> +</td> +</tr> +<tr id="i30" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#nameToId-java.lang.String-">nameToId</a></span>(java.lang.String name)</code> +<div class="block">Returns the id of the statistic with the given name in this + statistics instance.</div> +</td> +</tr> +<tr id="i31" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#setDouble-int-double-">setDouble</a></span>(int id, + double value)</code> +<div class="block">Sets the value of a statistic with the given <code>id</code> + whose type is <code>double</code>.</div> +</td> +</tr> +<tr id="i32" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#setDouble-com.gemstone.gemfire.StatisticDescriptor-double-">setDouble</a></span>(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor, + double value)</code> +<div class="block">Sets the value of a described statistic of type <code>double</code></div> +</td> +</tr> +<tr id="i33" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#setDouble-java.lang.String-double-">setDouble</a></span>(java.lang.String name, + double value)</code> +<div class="block">Sets the value of a named statistic of type <code>double</code>.</div> +</td> +</tr> +<tr id="i34" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#setInt-int-int-">setInt</a></span>(int id, + int value)</code> +<div class="block">Sets the value of a statistic with the given <code>id</code> + whose type is <code>int</code>.</div> +</td> +</tr> +<tr id="i35" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#setInt-com.gemstone.gemfire.StatisticDescriptor-int-">setInt</a></span>(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor, + int value)</code> +<div class="block">Sets the value of a described statistic of type <code>int</code></div> +</td> +</tr> +<tr id="i36" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#setInt-java.lang.String-int-">setInt</a></span>(java.lang.String name, + int value)</code> +<div class="block">Sets the value of a named statistic of type <code>int</code></div> +</td> +</tr> +<tr id="i37" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#setLong-int-long-">setLong</a></span>(int id, + long value)</code> +<div class="block">Sets the value of a statistic with the given <code>id</code> + whose type is <code>long</code>.</div> +</td> +</tr> +<tr id="i38" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#setLong-com.gemstone.gemfire.StatisticDescriptor-long-">setLong</a></span>(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor, + long value)</code> +<div class="block">Sets the value of a described statistic of type <code>long</code></div> +</td> +</tr> +<tr id="i39" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/Statistics.html#setLong-java.lang.String-long-">setLong</a></span>(java.lang.String name, + long value)</code> +<div class="block">Sets the value of a named statistic of type <code>long</code>.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="close--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>close</h4> +<pre>void close()</pre> +<div class="block">Closes these statistics. After statistics have been closed, they + are no longer archived. + A value access on a closed statistics always results in zero. + A value modification on a closed statistics is ignored.</div> +</li> +</ul> +<a name="nameToId-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>nameToId</h4> +<pre>int nameToId(java.lang.String name)</pre> +<div class="block">Returns the id of the statistic with the given name in this + statistics instance.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - No statistic named <code>name</code> exists in this + statistics instance.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../com/gemstone/gemfire/StatisticsType.html#nameToId-java.lang.String-"><code>StatisticsType.nameToId(java.lang.String)</code></a></dd> +</dl> +</li> +</ul> +<a name="nameToDescriptor-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>nameToDescriptor</h4> +<pre><a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> nameToDescriptor(java.lang.String name)</pre> +<div class="block">Returns the descriptor of the statistic with the given name in this + statistics instance.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - No statistic named <code>name</code> exists in this + statistics instance.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../com/gemstone/gemfire/StatisticsType.html#nameToDescriptor-java.lang.String-"><code>StatisticsType.nameToDescriptor(java.lang.String)</code></a></dd> +</dl> +</li> +</ul> +<a name="getUniqueId--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getUniqueId</h4> +<pre>long getUniqueId()</pre> +<div class="block">Gets a value that uniquely identifies this statistics.</div> +</li> +</ul> +<a name="getType--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getType</h4> +<pre><a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> getType()</pre> +<div class="block">Gets the <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>StatisticsType</code></a> of this instance.</div> +</li> +</ul> +<a name="getTextId--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTextId</h4> +<pre>java.lang.String getTextId()</pre> +<div class="block">Gets the text associated with this instance that helps identify it.</div> +</li> +</ul> +<a name="getNumericId--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getNumericId</h4> +<pre>long getNumericId()</pre> +<div class="block">Gets the number associated with this instance that helps identify it.</div> +</li> +</ul> +<a name="isAtomic--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isAtomic</h4> +<pre>boolean isAtomic()</pre> +<div class="block">Returns true if modifications are atomic. This means that multiple threads, + can safely modify this instance without extra synchronization. + <p> + Returns false if modifications are not atomic. This means that modifications + to this instance are cheaper but not thread safe.</div> +</li> +</ul> +<a name="isClosed--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isClosed</h4> +<pre>boolean isClosed()</pre> +<div class="block">Returns true if the instance has been <a href="../../../com/gemstone/gemfire/Statistics.html#close--"><code>closed</code></a>.</div> +</li> +</ul> +<a name="setInt-int-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setInt</h4> +<pre>void setInt(int id, + int value)</pre> +<div class="block">Sets the value of a statistic with the given <code>id</code> + whose type is <code>int</code>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>id</code> - a statistic id obtained with <a href="../../../com/gemstone/gemfire/Statistics.html#nameToId-java.lang.String-"><code>nameToId(java.lang.String)</code></a> + or <a href="../../../com/gemstone/gemfire/StatisticsType.html#nameToId-java.lang.String-"><code>StatisticsType.nameToId(java.lang.String)</code></a>.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - If the id is invalid.</dd> +</dl> +</li> +</ul> +<a name="setInt-java.lang.String-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setInt</h4> +<pre>void setInt(java.lang.String name, + int value)</pre> +<div class="block">Sets the value of a named statistic of type <code>int</code></div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists named <code>name</code> or + if the statistic with name <code>name</code> is not of + type <code>int</code>.</dd> +</dl> +</li> +</ul> +<a name="setInt-com.gemstone.gemfire.StatisticDescriptor-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setInt</h4> +<pre>void setInt(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor, + int value)</pre> +<div class="block">Sets the value of a described statistic of type <code>int</code></div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists for the given <code>descriptor</code> or + if the described statistic is not of + type <code>int</code>.</dd> +</dl> +</li> +</ul> +<a name="setLong-int-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLong</h4> +<pre>void setLong(int id, + long value)</pre> +<div class="block">Sets the value of a statistic with the given <code>id</code> + whose type is <code>long</code>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>id</code> - a statistic id obtained with <a href="../../../com/gemstone/gemfire/Statistics.html#nameToId-java.lang.String-"><code>nameToId(java.lang.String)</code></a> + or <a href="../../../com/gemstone/gemfire/StatisticsType.html#nameToId-java.lang.String-"><code>StatisticsType.nameToId(java.lang.String)</code></a>.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - If the id is invalid.</dd> +</dl> +</li> +</ul> +<a name="setLong-com.gemstone.gemfire.StatisticDescriptor-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLong</h4> +<pre>void setLong(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor, + long value)</pre> +<div class="block">Sets the value of a described statistic of type <code>long</code></div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists for the given <code>descriptor</code> or + if the described statistic is not of + type <code>long</code>.</dd> +</dl> +</li> +</ul> +<a name="setLong-java.lang.String-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLong</h4> +<pre>void setLong(java.lang.String name, + long value)</pre> +<div class="block">Sets the value of a named statistic of type <code>long</code>.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists named <code>name</code> or + if the statistic with name <code>name</code> is not of + type <code>long</code>.</dd> +</dl> +</li> +</ul> +<a name="setDouble-int-double-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setDouble</h4> +<pre>void setDouble(int id, + double value)</pre> +<div class="block">Sets the value of a statistic with the given <code>id</code> + whose type is <code>double</code>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>id</code> - a statistic id obtained with <a href="../../../com/gemstone/gemfire/Statistics.html#nameToId-java.lang.String-"><code>nameToId(java.lang.String)</code></a> + or <a href="../../../com/gemstone/gemfire/StatisticsType.html#nameToId-java.lang.String-"><code>StatisticsType.nameToId(java.lang.String)</code></a>.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - If the id is invalid.</dd> +</dl> +</li> +</ul> +<a name="setDouble-com.gemstone.gemfire.StatisticDescriptor-double-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setDouble</h4> +<pre>void setDouble(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor, + double value)</pre> +<div class="block">Sets the value of a described statistic of type <code>double</code></div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists for the given <code>descriptor</code> or + if the described statistic is not of + type <code>double</code>.</dd> +</dl> +</li> +</ul> +<a name="setDouble-java.lang.String-double-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setDouble</h4> +<pre>void setDouble(java.lang.String name, + double value)</pre> +<div class="block">Sets the value of a named statistic of type <code>double</code>.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists named <code>name</code> or + if the statistic with name <code>name</code> is not of + type <code>double</code>.</dd> +</dl> +</li> +</ul> +<a name="getInt-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInt</h4> +<pre>int getInt(int id)</pre> +<div class="block">Returns the value of the identified statistic of type <code>int</code>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>id</code> - a statistic id obtained with <a href="../../../com/gemstone/gemfire/Statistics.html#nameToId-java.lang.String-"><code>nameToId(java.lang.String)</code></a> + or <a href="../../../com/gemstone/gemfire/StatisticsType.html#nameToId-java.lang.String-"><code>StatisticsType.nameToId(java.lang.String)</code></a>.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - If the id is invalid.</dd> +</dl> +</li> +</ul> +<a name="getInt-com.gemstone.gemfire.StatisticDescriptor-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInt</h4> +<pre>int getInt(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor)</pre> +<div class="block">Returns the value of the described statistic of type <code>int</code>.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists with the specified <code>descriptor</code> or + if the described statistic is not of + type <code>int</code>.</dd> +</dl> +</li> +</ul> +<a name="getInt-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInt</h4> +<pre>int getInt(java.lang.String name)</pre> +<div class="block">Returns the value of the statistic of type <code>int</code> at + the given name.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists with name <code>name</code> or + if the statistic named <code>name</code> is not of + type <code>int</code>.</dd> +</dl> +</li> +</ul> +<a name="getLong-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLong</h4> +<pre>long getLong(int id)</pre> +<div class="block">Returns the value of the identified statistic of type <code>long</code>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>id</code> - a statistic id obtained with <a href="../../../com/gemstone/gemfire/Statistics.html#nameToId-java.lang.String-"><code>nameToId(java.lang.String)</code></a> + or <a href="../../../com/gemstone/gemfire/StatisticsType.html#nameToId-java.lang.String-"><code>StatisticsType.nameToId(java.lang.String)</code></a>.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - If the id is invalid.</dd> +</dl> +</li> +</ul> +<a name="getLong-com.gemstone.gemfire.StatisticDescriptor-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLong</h4> +<pre>long getLong(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor)</pre> +<div class="block">Returns the value of the described statistic of type <code>long</code>.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists with the specified <code>descriptor</code> or + if the described statistic is not of + type <code>long</code>.</dd> +</dl> +</li> +</ul> +<a name="getLong-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLong</h4> +<pre>long getLong(java.lang.String name)</pre> +<div class="block">Returns the value of the statistic of type <code>long</code> at + the given name.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists with name <code>name</code> or + if the statistic named <code>name</code> is not of + type <code>long</code>.</dd> +</dl> +</li> +</ul> +<a name="getDouble-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDouble</h4> +<pre>double getDouble(int id)</pre> +<div class="block">Returns the value of the identified statistic of type <code>double</code>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>id</code> - a statistic id obtained with <a href="../../../com/gemstone/gemfire/Statistics.html#nameToId-java.lang.String-"><code>nameToId(java.lang.String)</code></a> + or <a href="../../../com/gemstone/gemfire/StatisticsType.html#nameToId-java.lang.String-"><code>StatisticsType.nameToId(java.lang.String)</code></a>.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - If the id is invalid.</dd> +</dl> +</li> +</ul> +<a name="getDouble-com.gemstone.gemfire.StatisticDescriptor-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDouble</h4> +<pre>double getDouble(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor)</pre> +<div class="block">Returns the value of the described statistic of type <code>double</code>.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists with the specified <code>descriptor</code> or + if the described statistic is not of + type <code>double</code>.</dd> +</dl> +</li> +</ul> +<a name="getDouble-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDouble</h4> +<pre>double getDouble(java.lang.String name)</pre> +<div class="block">Returns the value of the statistic of type <code>double</code> at + the given name.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists with name <code>name</code> or + if the statistic named <code>name</code> is not of + type <code>double</code>.</dd> +</dl> +</li> +</ul> +<a name="get-com.gemstone.gemfire.StatisticDescriptor-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>get</h4> +<pre>java.lang.Number get(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor)</pre> +<div class="block">Returns the value of the identified statistic.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>descriptor</code> - a statistic descriptor obtained with <a href="../../../com/gemstone/gemfire/Statistics.html#nameToDescriptor-java.lang.String-"><code>nameToDescriptor(java.lang.String)</code></a> + or <a href="../../../com/gemstone/gemfire/StatisticsType.html#nameToDescriptor-java.lang.String-"><code>StatisticsType.nameToDescriptor(java.lang.String)</code></a>.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If the described statistic does not exist</dd> +</dl> +</li> +</ul> +<a name="get-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>get</h4> +<pre>java.lang.Number get(java.lang.String name)</pre> +<div class="block">Returns the value of the named statistic.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If the named statistic does not exist</dd> +</dl> +</li> +</ul> +<a name="getRawBits-com.gemstone.gemfire.StatisticDescriptor-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRawBits</h4> +<pre>long getRawBits(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor)</pre> +<div class="block">Returns the bits that represent the raw value of the described statistic.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>descriptor</code> - a statistic descriptor obtained with <a href="../../../com/gemstone/gemfire/Statistics.html#nameToDescriptor-java.lang.String-"><code>nameToDescriptor(java.lang.String)</code></a> + or <a href="../../../com/gemstone/gemfire/StatisticsType.html#nameToDescriptor-java.lang.String-"><code>StatisticsType.nameToDescriptor(java.lang.String)</code></a>.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If the described statistic does not exist</dd> +</dl> +</li> +</ul> +<a name="getRawBits-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRawBits</h4> +<pre>long getRawBits(java.lang.String name)</pre> +<div class="block">Returns the bits that represent the raw value of the named statistic.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If the named statistic does not exist</dd> +</dl> +</li> +</ul> +<a name="incInt-int-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>incInt</h4> +<pre>void incInt(int id, + int delta)</pre> +<div class="block">Increments the value of the identified statistic of type <code>int</code> + by the given amount.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>id</code> - a statistic id obtained with <a href="../../../com/gemstone/gemfire/Statistics.html#nameToId-java.lang.String-"><code>nameToId(java.lang.String)</code></a> + or <a href="../../../com/gemstone/gemfire/StatisticsType.html#nameToId-java.lang.String-"><code>StatisticsType.nameToId(java.lang.String)</code></a>.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - If the id is invalid.</dd> +</dl> +</li> +</ul> +<a name="incInt-com.gemstone.gemfire.StatisticDescriptor-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>incInt</h4> +<pre>void incInt(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor, + int delta)</pre> +<div class="block">Increments the value of the described statistic of type <code>int</code> + by the given amount.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists with the given <code>descriptor</code> or + if the described statistic is not of + type <code>int</code>.</dd> +</dl> +</li> +</ul> +<a name="incInt-java.lang.String-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>incInt</h4> +<pre>void incInt(java.lang.String name, + int delta)</pre> +<div class="block">Increments the value of the statistic of type <code>int</code> with + the given name by a given amount.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists with name <code>name</code> or + if the statistic named <code>name</code> is not of + type <code>int</code>.</dd> +</dl> +</li> +</ul> +<a name="incLong-int-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>incLong</h4> +<pre>void incLong(int id, + long delta)</pre> +<div class="block">Increments the value of the identified statistic of type <code>long</code> + by the given amount.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>id</code> - a statistic id obtained with <a href="../../../com/gemstone/gemfire/Statistics.html#nameToId-java.lang.String-"><code>nameToId(java.lang.String)</code></a> + or <a href="../../../com/gemstone/gemfire/StatisticsType.html#nameToId-java.lang.String-"><code>StatisticsType.nameToId(java.lang.String)</code></a>.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - If the id is invalid.</dd> +</dl> +</li> +</ul> +<a name="incLong-com.gemstone.gemfire.StatisticDescriptor-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>incLong</h4> +<pre>void incLong(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor, + long delta)</pre> +<div class="block">Increments the value of the described statistic of type <code>long</code> + by the given amount.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists with the given <code>descriptor</code> or + if the described statistic is not of + type <code>long</code>.</dd> +</dl> +</li> +</ul> +<a name="incLong-java.lang.String-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>incLong</h4> +<pre>void incLong(java.lang.String name, + long delta)</pre> +<div class="block">Increments the value of the statistic of type <code>long</code> with + the given name by a given amount.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists with name <code>name</code> or + if the statistic named <code>name</code> is not of + type <code>long</code>.</dd> +</dl> +</li> +</ul> +<a name="incDouble-int-double-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>incDouble</h4> +<pre>void incDouble(int id, + double delta)</pre> +<div class="block">Increments the value of the identified statistic of type <code>double</code> + by the given amount.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>id</code> - a statistic id obtained with <a href="../../../com/gemstone/gemfire/Statistics.html#nameToId-java.lang.String-"><code>nameToId(java.lang.String)</code></a> + or <a href="../../../com/gemstone/gemfire/StatisticsType.html#nameToId-java.lang.String-"><code>StatisticsType.nameToId(java.lang.String)</code></a>.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - If the id is invalid.</dd> +</dl> +</li> +</ul> +<a name="incDouble-com.gemstone.gemfire.StatisticDescriptor-double-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>incDouble</h4> +<pre>void incDouble(<a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire">StatisticDescriptor</a> descriptor, + double delta)</pre> +<div class="block">Increments the value of the described statistic of type <code>double</code> + by the given amount.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists with the given <code>descriptor</code> or + if the described statistic is not of + type <code>double</code>.</dd> +</dl> +</li> +</ul> +<a name="incDouble-java.lang.String-double-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>incDouble</h4> +<pre>void incDouble(java.lang.String name, + double delta)</pre> +<div class="block">Increments the value of the statistic of type <code>double</code> with + the given name by a given amount.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - If no statistic exists with name <code>name</code> or + if the statistic named <code>name</code> is not of + type <code>double</code>.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../com/gemstone/gemfire/StatisticsFactory.html" title="interface in com.gemstone.gemfire"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?com/gemstone/gemfire/Statistics.html" target="_top">Frames</a></li> +<li><a href="Statistics.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/54a3e718/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/StatisticsFactory.html ---------------------------------------------------------------------- diff --git a/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/StatisticsFactory.html b/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/StatisticsFactory.html new file mode 100644 index 0000000..21700bc --- /dev/null +++ b/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/StatisticsFactory.html @@ -0,0 +1,482 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (1.8.0_45) on Fri Mar 11 16:13:08 PST 2016 --> +<title>StatisticsFactory (Apache Geode 1.0.0-incubating.M2-SNAPSHOT)</title> +<meta name="date" content="2016-03-11"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="StatisticsFactory (Apache Geode 1.0.0-incubating.M2-SNAPSHOT)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?com/gemstone/gemfire/StatisticsFactory.html" target="_top">Frames</a></li> +<li><a href="StatisticsFactory.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">com.gemstone.gemfire</div> +<h2 title="Interface StatisticsFactory" class="title">Interface StatisticsFactory</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Superinterfaces:</dt> +<dd><a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html" title="interface in com.gemstone.gemfire">StatisticsTypeFactory</a></dd> +</dl> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../com/gemstone/gemfire/distributed/DistributedSystem.html" title="class in com.gemstone.gemfire.distributed">DistributedSystem</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="typeNameLabel">StatisticsFactory</span> +extends <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html" title="interface in com.gemstone.gemfire">StatisticsTypeFactory</a></pre> +<div class="block">Instances of this interface provide methods that create instances + of <a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><code>Statistics</code></a>. + It can also be used to create instances of <a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire"><code>StatisticDescriptor</code></a> + and <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>StatisticsType</code></a> because it implements <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html" title="interface in com.gemstone.gemfire"><code>StatisticsTypeFactory</code></a>. + <a href="../../../com/gemstone/gemfire/distributed/DistributedSystem.html" title="class in com.gemstone.gemfire.distributed"><code>DistributedSystem</code></a> is the only + instance of this interface. + + <P> + + A <code>StatisticsFactory</code> can create a <a href="../../../com/gemstone/gemfire/StatisticDescriptor.html" title="interface in com.gemstone.gemfire"><code>statistic</code></a> of three numeric types: + <code>int</code>, <code>long</code>, and <code>double</code>. A + statistic (<code>StatisticDescriptor</code>) can either be a + <I>gauge</I> meaning that its value can increase and decrease or a + <I>counter</I> meaning that its value is strictly increasing. + Marking a statistic as a counter allows statistic display tools + to properly display a statistics whose value "wraps around" (that + is, exceeds its maximum value). + + <P>The following code is an example of how to create a type using the api. + In this example the type has two stats whose values always increase: + <pre> + StatisticsFactory f = ...; + StatisticsType t = f.createType( + "StatSampler", + "Stats on the statistic sampler.", + new StatisticDescriptor[] { + f.createIntCounter("sampleCount", + "Total number of samples taken by this sampler.", + "samples"), + f.createLongCounter("sampleTime", + "Total amount of time spent taking samples.", + "milliseconds"), + } + ); + this.samplerStats = f.createStatistics(t, "statSampler"); + this.sampleCountId = this.samplerStats.nameToId("sampleCount"); + this.sampleTimeId = this.samplerStats.nameToId("sampleTime"); + </pre> + Later on the stat ids can be used to increment the stats: + <pre> + this.samplerStats.incInt(this.sampleCountId, 1); + this.samplerStats.incLong(this.sampleTimeId, nanosSpentWorking / 1000000); + </pre> + <P>The following is an example of how to create the same type using XML. + The XML data: + <pre> + <?xml version="1.0" encoding="UTF-8"?> + <!DOCTYPE statistics PUBLIC + "-//GemStone Systems, Inc.//GemFire Statistics Type//EN" + "http://www.gemstone.com/dtd/statisticsType.dtd"> + <statistics> + <type name="StatSampler"> + <description>Stats on the statistic sampler.</description> + <stat name="sampleCount" storage="int" counter="true"> + <description>Total number of samples taken by this sampler.</description> + <unit>samples</unit> + </stat> + <stat name="sampleTime" storage="long" counter="true"> + <description>Total amount of time spent taking samples.</description> + <unit>milliseconds</unit> + </stat> + </type> + </statistics> + </pre> + The code to create the type: + <pre> + StatisticsFactory f = ...; + Reader r = new InputStreamReader("fileContainingXmlData")); + StatisticsType type = f.createTypesFromXml(r)[0]; + </pre> + <P></div> +<dl> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>3.0</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><A href="package-summary.html#statistics">Package introduction</A></dd> +</dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="fields.inherited.from.class.com.gemstone.gemfire.StatisticsTypeFactory"> +<!-- --> +</a> +<h3>Fields inherited from interface com.gemstone.gemfire.<a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html" title="interface in com.gemstone.gemfire">StatisticsTypeFactory</a></h3> +<code><a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#MAX_DESCRIPTORS_PER_TYPE">MAX_DESCRIPTORS_PER_TYPE</a></code></li> +</ul> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/StatisticsFactory.html#createAtomicStatistics-com.gemstone.gemfire.StatisticsType-">createAtomicStatistics</a></span>(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type)</code> +<div class="block">Creates and returns a <a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><code>Statistics</code></a> instance of the given <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>type</code></a> with default ids.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/StatisticsFactory.html#createAtomicStatistics-com.gemstone.gemfire.StatisticsType-java.lang.String-">createAtomicStatistics</a></span>(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type, + java.lang.String textId)</code> +<div class="block">Creates and returns a <a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><code>Statistics</code></a> instance of the given <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>type</code></a>, <code>textId</code>, and with a default numeric id.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/StatisticsFactory.html#createAtomicStatistics-com.gemstone.gemfire.StatisticsType-java.lang.String-long-">createAtomicStatistics</a></span>(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type, + java.lang.String textId, + long numericId)</code> +<div class="block">Creates and returns a <a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><code>Statistics</code></a> instance of the given <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>type</code></a>, <code>textId</code>, and <code>numericId</code>.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/StatisticsFactory.html#createStatistics-com.gemstone.gemfire.StatisticsType-">createStatistics</a></span>(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type)</code> +<div class="block">Creates and returns a <a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><code>Statistics</code></a> instance of the given <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>type</code></a> with default ids.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/StatisticsFactory.html#createStatistics-com.gemstone.gemfire.StatisticsType-java.lang.String-">createStatistics</a></span>(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type, + java.lang.String textId)</code> +<div class="block">Creates and returns a <a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><code>Statistics</code></a> instance of the given <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>type</code></a>, <code>textId</code>, and with a default numeric id.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/StatisticsFactory.html#createStatistics-com.gemstone.gemfire.StatisticsType-java.lang.String-long-">createStatistics</a></span>(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type, + java.lang.String textId, + long numericId)</code> +<div class="block">Creates and returns a <a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><code>Statistics</code></a> instance of the given <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>type</code></a>, <code>textId</code>, and <code>numericId</code>.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a>[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/StatisticsFactory.html#findStatisticsByNumericId-long-">findStatisticsByNumericId</a></span>(long numericId)</code> +<div class="block">Returns an array of all the existing statistics with the given numericId.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a>[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/StatisticsFactory.html#findStatisticsByTextId-java.lang.String-">findStatisticsByTextId</a></span>(java.lang.String textId)</code> +<div class="block">Returns an array of all the existing statistics with the given textId.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a>[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gemstone/gemfire/StatisticsFactory.html#findStatisticsByType-com.gemstone.gemfire.StatisticsType-">findStatisticsByType</a></span>(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type)</code> +<div class="block">Returns an array of all the existing statistics of the given type.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.com.gemstone.gemfire.StatisticsTypeFactory"> +<!-- --> +</a> +<h3>Methods inherited from interface com.gemstone.gemfire.<a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html" title="interface in com.gemstone.gemfire">StatisticsTypeFactory</a></h3> +<code><a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#createDoubleCounter-java.lang.String-java.lang.String-java.lang.String-">createDoubleCounter</a>, <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#createDoubleCounter-java.lang.String-java.lang.String-java.lang.String-boolean-">createDoubleCounter</a>, <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#createDoubleGauge-java.lang.String-java.lang.String-java.lang.String-">createDoubleGauge</a>, <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#createDoubleGauge-java.lang.String-java.lang.String-java.lang.String-boolean-">createDoubleGauge</a>, <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#createIntCounter-java.lang.String-java.lang.String-java.lang.String-">createIntCounter</a>, <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#createIntCounter-java.lang.String-java.lang.String-java.lang.String-boolean-">createIntCounter</a>, <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#createIntGauge-java.lang.String-java.lang.String-java.lang.String-">createIntGauge</a>, <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#createIntGauge-java.lang.String-java.lang.String-java.lang.String-boolean-">createIntGauge</a>, <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#createLongCounter-java.lang.String-java.lang.String-java.lang.String-">createLongCounter</a>, <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#createLongCounter-java.lang.String-java.lang.String-java.lang.String-boolean-">createLongCounter</a>, <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#createLongGauge-java.lang.String-java.lang.String-java.lang.String-">createLongGauge</a>, <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#createLongGauge-java.lang.String-java.lang.String-java.lang.String-boolean-">createLongGauge</a>, <a href="../../../com/gemstone/gemfi re/StatisticsTypeFactory.html#createType-java.lang.String-java.lang.String-com.gemstone.gemfire.StatisticDescriptor:A-">createType</a>, <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#createTypesFromXml-java.io.Reader-">createTypesFromXml</a>, <a href="../../../com/gemstone/gemfire/StatisticsTypeFactory.html#findType-java.lang.String-">findType</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="createStatistics-com.gemstone.gemfire.StatisticsType-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createStatistics</h4> +<pre><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a> createStatistics(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type)</pre> +<div class="block">Creates and returns a <a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><code>Statistics</code></a> instance of the given <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>type</code></a> with default ids. + <p> + The created instance may not be <a href="../../../com/gemstone/gemfire/Statistics.html#isAtomic--"><code>atomic</code></a>.</div> +</li> +</ul> +<a name="createStatistics-com.gemstone.gemfire.StatisticsType-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createStatistics</h4> +<pre><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a> createStatistics(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type, + java.lang.String textId)</pre> +<div class="block">Creates and returns a <a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><code>Statistics</code></a> instance of the given <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>type</code></a>, <code>textId</code>, and with a default numeric id. + <p> + The created instance may not be <a href="../../../com/gemstone/gemfire/Statistics.html#isAtomic--"><code>atomic</code></a>.</div> +</li> +</ul> +<a name="createStatistics-com.gemstone.gemfire.StatisticsType-java.lang.String-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createStatistics</h4> +<pre><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a> createStatistics(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type, + java.lang.String textId, + long numericId)</pre> +<div class="block">Creates and returns a <a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><code>Statistics</code></a> instance of the given <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>type</code></a>, <code>textId</code>, and <code>numericId</code>. + <p> + The created instance may not be <a href="../../../com/gemstone/gemfire/Statistics.html#isAtomic--"><code>atomic</code></a>.</div> +</li> +</ul> +<a name="createAtomicStatistics-com.gemstone.gemfire.StatisticsType-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createAtomicStatistics</h4> +<pre><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a> createAtomicStatistics(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type)</pre> +<div class="block">Creates and returns a <a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><code>Statistics</code></a> instance of the given <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>type</code></a> with default ids. + <p> + The created instance will be <a href="../../../com/gemstone/gemfire/Statistics.html#isAtomic--"><code>atomic</code></a>.</div> +</li> +</ul> +<a name="createAtomicStatistics-com.gemstone.gemfire.StatisticsType-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createAtomicStatistics</h4> +<pre><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a> createAtomicStatistics(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type, + java.lang.String textId)</pre> +<div class="block">Creates and returns a <a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><code>Statistics</code></a> instance of the given <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>type</code></a>, <code>textId</code>, and with a default numeric id. + <p> + The created instance will be <a href="../../../com/gemstone/gemfire/Statistics.html#isAtomic--"><code>atomic</code></a>.</div> +</li> +</ul> +<a name="createAtomicStatistics-com.gemstone.gemfire.StatisticsType-java.lang.String-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createAtomicStatistics</h4> +<pre><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a> createAtomicStatistics(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type, + java.lang.String textId, + long numericId)</pre> +<div class="block">Creates and returns a <a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><code>Statistics</code></a> instance of the given <a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><code>type</code></a>, <code>textId</code>, and <code>numericId</code>. + <p> + The created instance will be <a href="../../../com/gemstone/gemfire/Statistics.html#isAtomic--"><code>atomic</code></a>.</div> +</li> +</ul> +<a name="findStatisticsByType-com.gemstone.gemfire.StatisticsType-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findStatisticsByType</h4> +<pre><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a>[] findStatisticsByType(<a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire">StatisticsType</a> type)</pre> +<div class="block">Returns an array of all the existing statistics of the given type.</div> +</li> +</ul> +<a name="findStatisticsByTextId-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findStatisticsByTextId</h4> +<pre><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a>[] findStatisticsByTextId(java.lang.String textId)</pre> +<div class="block">Returns an array of all the existing statistics with the given textId.</div> +</li> +</ul> +<a name="findStatisticsByNumericId-long-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>findStatisticsByNumericId</h4> +<pre><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire">Statistics</a>[] findStatisticsByNumericId(long numericId)</pre> +<div class="block">Returns an array of all the existing statistics with the given numericId.</div> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../com/gemstone/gemfire/Statistics.html" title="interface in com.gemstone.gemfire"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../com/gemstone/gemfire/StatisticsType.html" title="interface in com.gemstone.gemfire"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?com/gemstone/gemfire/StatisticsFactory.html" target="_top">Frames</a></li> +<li><a href="StatisticsFactory.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html>