mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-22 02:08:27 +01:00
Host/Client now send Metrics data
https://bstats.org/plugin/bungeecord/SubServers%202 https://bstats.org/plugin/other/SubServers%20Host https://bstats.org/plugin/bungeecord/SubServers%20Sync https://bstats.org/plugin/bukkit/SubServers%20Client
This commit is contained in:
parent
56070001a6
commit
265ac4b253
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -16,7 +16,6 @@
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/Encryption/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network.Encryption" target="classFrame">AES.InvalidKeyLengthException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/Encryption/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network.Encryption" target="classFrame">AES.InvalidPasswordException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/Encryption/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network.Encryption" target="classFrame">AES.StrongEncryptionNotAvailableException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">Callback</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/Cipher.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame"><span class="interfaceName">Cipher</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame">Container</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">ExtraDataHandler</span></a></li>
|
||||
|
@ -16,7 +16,6 @@
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/Encryption/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network.Encryption">AES.InvalidKeyLengthException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/Encryption/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network.Encryption">AES.InvalidPasswordException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/Encryption/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network.Encryption">AES.StrongEncryptionNotAvailableException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="interfaceName">Callback</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/Cipher.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network"><span class="interfaceName">Cipher</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library">Container</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="interfaceName">ExtraDataHandler</span></a></li>
|
||||
|
@ -239,10 +239,6 @@
|
||||
</a>
|
||||
<h2 class="title">C</h2>
|
||||
<dl>
|
||||
<dt><a href="net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Callback</span></a><<a href="net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" title="type parameter in Callback">V</a>> - Interface in <a href="net/ME1312/SubServers/Client/Bukkit/Library/package-summary.html">net.ME1312.SubServers.Client.Bukkit.Library</a></dt>
|
||||
<dd>
|
||||
<div class="block">Callback Class</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/Packet/PacketInRunEvent.html#callback-java.lang.String-net.ME1312.SubServers.Client.Bukkit.Library.JSONCallback-">callback(String, JSONCallback)</a></span> - Static method in class net.ME1312.SubServers.Client.Bukkit.Network.Packet.<a href="net/ME1312/SubServers/Client/Bukkit/Network/Packet/PacketInRunEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network.Packet">PacketInRunEvent</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Client/Bukkit/Network/Cipher.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Cipher</span></a> - Interface in <a href="net/ME1312/SubServers/Client/Bukkit/Network/package-summary.html">net.ME1312.SubServers.Client.Bukkit.Network</a></dt>
|
||||
@ -1567,10 +1563,6 @@
|
||||
<dd>
|
||||
<div class="block">Reopens the current window</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Callback.html#run-V-">run(V)</a></span> - Method in interface net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">Callback</a></dt>
|
||||
<dd>
|
||||
<div class="block">Run the Callback</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html#run-org.json.JSONObject-">run(JSONObject)</a></span> - Method in interface net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">JSONCallback</a></dt>
|
||||
<dd>
|
||||
<div class="block">Run the Callback</div>
|
||||
|
@ -1,228 +0,0 @@
|
||||
<!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 -->
|
||||
<title>Callback (SubServers.Client.Bukkit)</title>
|
||||
<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="Callback (SubServers.Client.Bukkit)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":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>Prev Class</li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" target="_top">Frames</a></li>
|
||||
<li><a href="Callback.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">net.ME1312.SubServers.Client.Bukkit.Library</div>
|
||||
<h2 title="Interface Callback" class="title">Interface Callback<V></h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public interface <span class="typeNameLabel">Callback<V></span></pre>
|
||||
<div class="block">Callback Class</div>
|
||||
</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="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Callback.html#run-V-">run</a></span>(<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" title="type parameter in Callback">V</a> value)</code>
|
||||
<div class="block">Run the Callback</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="run-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a><a name="run-V-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>run</h4>
|
||||
<pre>void run(<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" title="type parameter in Callback">V</a> value)</pre>
|
||||
<div class="block">Run the Callback</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>value</code> - Value</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>Prev Class</li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" target="_top">Frames</a></li>
|
||||
<li><a href="Callback.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>
|
@ -47,7 +47,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
@ -287,7 +287,7 @@ extends java.lang.Object</pre>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
|
@ -12,7 +12,6 @@
|
||||
<div class="indexContainer">
|
||||
<h2 title="Interfaces">Interfaces</h2>
|
||||
<ul title="Interfaces">
|
||||
<li><a href="Callback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">Callback</span></a></li>
|
||||
<li><a href="ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">ExtraDataHandler</span></a></li>
|
||||
<li><a href="JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">JSONCallback</span></a></li>
|
||||
<li><a href="SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">SubEvent</span></a></li>
|
||||
|
@ -81,32 +81,26 @@
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">Callback</a><V></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Callback Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">ExtraDataHandler</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Extra Data Handler Layout Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">JSONCallback</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">JSON Callback Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">SubEvent</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.ExceptionRunnable.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">Util.ExceptionRunnable</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.ReturnRunnable.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">Util.ReturnRunnable</a><R></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
|
@ -96,7 +96,6 @@
|
||||
</ul>
|
||||
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Callback</span></a><V></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">ExtraDataHandler</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">JSONCallback</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">SubEvent</span></a></li>
|
||||
|
@ -186,7 +186,6 @@
|
||||
</ul>
|
||||
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Callback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Callback</span></a><V></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/Cipher.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Cipher</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">ExtraDataHandler</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">JSONCallback</span></a></li>
|
||||
|
Binary file not shown.
@ -40,6 +40,10 @@
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Log/Logger.html" title="class in net.ME1312.SubServers.Host.Library.Log" target="classFrame">Logger</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Log/LogStream.html" title="class in net.ME1312.SubServers.Host.Library.Log" target="classFrame">LogStream</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">Metrics</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">Metrics.CustomChart</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">Metrics.DrilldownPie</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">Metrics.SimplePie</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">Metrics.SingleLineChart</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">NamedContainer</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/Packet/PacketAuthorization.html" title="class in net.ME1312.SubServers.Host.Network.Packet" target="classFrame">PacketAuthorization</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/Packet/PacketCommandServer.html" title="class in net.ME1312.SubServers.Host.Network.Packet" target="classFrame">PacketCommandServer</a></li>
|
||||
|
@ -40,6 +40,10 @@
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Log/Logger.html" title="class in net.ME1312.SubServers.Host.Library.Log">Logger</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Log/LogStream.html" title="class in net.ME1312.SubServers.Host.Library.Log">LogStream</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library">Metrics</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.CustomChart</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.DrilldownPie</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.SimplePie</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.SingleLineChart</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Host.Library">NamedContainer</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/Packet/PacketAuthorization.html" title="class in net.ME1312.SubServers.Host.Network.Packet">PacketAuthorization</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/Packet/PacketCommandServer.html" title="class in net.ME1312.SubServers.Host.Network.Packet">PacketCommandServer</a></li>
|
||||
|
@ -377,6 +377,10 @@
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/ExHost.html#dir">dir</a></span> - Variable in class net.ME1312.SubServers.Host.<a href="net/ME1312/SubServers/Host/ExHost.html" title="class in net.ME1312.SubServers.Host">ExHost</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html#DrilldownPie-java.lang.String-java.util.concurrent.Callable-">DrilldownPie(String, Callable<Map<String, Map<String, Integer>>>)</a></span> - Constructor for class net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.DrilldownPie</a></dt>
|
||||
<dd>
|
||||
<div class="block">Class constructor.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="I:E">
|
||||
<!-- -->
|
||||
@ -655,6 +659,8 @@
|
||||
<dd>
|
||||
<div class="block">Get an item from a map ignoring case</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html#getChartData--">getChartData()</a></span> - Method in class net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.DrilldownPie</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/SubDataClient.html#getCipher--">getCipher()</a></span> - Method in class net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network">SubDataClient</a></dt>
|
||||
<dd>
|
||||
<div class="block">Gets the Client's Cipher</div>
|
||||
@ -999,10 +1005,6 @@
|
||||
<dd>
|
||||
<div class="block">Gets a Plugin</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Metrics.html#getPluginData--">getPluginData()</a></span> - Method in class net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library">Metrics</a></dt>
|
||||
<dd>
|
||||
<div class="block">Gets the plugin specific data.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#getPlugins--">getPlugins()</a></span> - Method in class net.ME1312.SubServers.Host.<a href="net/ME1312/SubServers/Host/SubAPI.html" title="class in net.ME1312.SubServers.Host">SubAPI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Get a map of the Plugins</div>
|
||||
@ -1439,10 +1441,6 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Event/EventOrder.html#LATE">LATE</a></span> - Static variable in class net.ME1312.SubServers.Host.Library.Event.<a href="net/ME1312/SubServers/Host/Library/Event/EventOrder.html" title="class in net.ME1312.SubServers.Host.Library.Event">EventOrder</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Metrics.html#linkMetrics-java.lang.Object-">linkMetrics(Object)</a></span> - Static method in class net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library">Metrics</a></dt>
|
||||
<dd>
|
||||
<div class="block">Links an other metrics class with this class.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/Library/Event/Listener.html" title="interface in net.ME1312.SubServers.Host.Library.Event"><span class="typeNameLink">Listener</span></a> - Interface in <a href="net/ME1312/SubServers/Host/Library/Event/package-summary.html">net.ME1312.SubServers.Host.Library.Event</a></dt>
|
||||
<dd>
|
||||
<div class="block">Simple Listener Layout Class</div>
|
||||
@ -1478,7 +1476,25 @@
|
||||
<div class="block">bStats collects some data for plugin authors.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Metrics.html#Metrics-net.ME1312.SubServers.Host.ExHost-">Metrics(ExHost)</a></span> - Constructor for class net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library">Metrics</a></dt>
|
||||
<dd> </dd>
|
||||
<dd>
|
||||
<div class="block">Class constructor.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics.CustomChart</span></a> - Class in <a href="net/ME1312/SubServers/Host/Library/package-summary.html">net.ME1312.SubServers.Host.Library</a></dt>
|
||||
<dd>
|
||||
<div class="block">Represents a custom chart.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics.DrilldownPie</span></a> - Class in <a href="net/ME1312/SubServers/Host/Library/package-summary.html">net.ME1312.SubServers.Host.Library</a></dt>
|
||||
<dd>
|
||||
<div class="block">Represents a custom drilldown pie.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics.SimplePie</span></a> - Class in <a href="net/ME1312/SubServers/Host/Library/package-summary.html">net.ME1312.SubServers.Host.Library</a></dt>
|
||||
<dd>
|
||||
<div class="block">Represents a custom simple pie.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics.SingleLineChart</span></a> - Class in <a href="net/ME1312/SubServers/Host/Library/package-summary.html">net.ME1312.SubServers.Host.Library</a></dt>
|
||||
<dd>
|
||||
<div class="block">Represents a custom single line chart.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="I:N">
|
||||
<!-- -->
|
||||
@ -2063,6 +2079,14 @@
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Log/Logger.html#severe">severe</a></span> - Variable in class net.ME1312.SubServers.Host.Library.Log.<a href="net/ME1312/SubServers/Host/Library/Log/Logger.html" title="class in net.ME1312.SubServers.Host.Library.Log">Logger</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html#SimplePie-java.lang.String-java.util.concurrent.Callable-">SimplePie(String, Callable<String>)</a></span> - Constructor for class net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.SimplePie</a></dt>
|
||||
<dd>
|
||||
<div class="block">Class constructor.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html#SingleLineChart-java.lang.String-java.util.concurrent.Callable-">SingleLineChart(String, Callable<Integer>)</a></span> - Constructor for class net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.SingleLineChart</a></dt>
|
||||
<dd>
|
||||
<div class="block">Class constructor.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Executable/SubLogger.html#start--">start()</a></span> - Method in class net.ME1312.SubServers.Host.Executable.<a href="net/ME1312/SubServers/Host/Executable/SubLogger.html" title="class in net.ME1312.SubServers.Host.Executable">SubLogger</a></dt>
|
||||
<dd>
|
||||
<div class="block">Start Logger</div>
|
||||
|
@ -0,0 +1,203 @@
|
||||
<!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 -->
|
||||
<title>Metrics.CustomChart (SubServers.Host)</title>
|
||||
<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="Metrics.CustomChart (SubServers.Host)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</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="../../../../../net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" target="_top">Frames</a></li>
|
||||
<li><a href="Metrics.CustomChart.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="#methods.inherited.from.class.java.lang.Object">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Host.Library</div>
|
||||
<h2 title="Class Metrics.CustomChart" class="title">Class Metrics.CustomChart</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Host.Library.Metrics.CustomChart</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Direct Known Subclasses:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.DrilldownPie</a>, <a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.SimplePie</a>, <a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.SingleLineChart</a></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library">Metrics</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public abstract static class <span class="typeNameLabel">Metrics.CustomChart</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Represents a custom chart.</div>
|
||||
</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>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></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="../../../../../net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" target="_top">Frames</a></li>
|
||||
<li><a href="Metrics.CustomChart.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="#methods.inherited.from.class.java.lang.Object">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,293 @@
|
||||
<!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 -->
|
||||
<title>Metrics.DrilldownPie (SubServers.Host)</title>
|
||||
<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="Metrics.DrilldownPie (SubServers.Host)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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="../../../../../net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" target="_top">Frames</a></li>
|
||||
<li><a href="Metrics.DrilldownPie.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><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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">net.ME1312.SubServers.Host.Library</div>
|
||||
<h2 title="Class Metrics.DrilldownPie" class="title">Class Metrics.DrilldownPie</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library">net.ME1312.SubServers.Host.Library.Metrics.CustomChart</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Host.Library.Metrics.DrilldownPie</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library">Metrics</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">Metrics.DrilldownPie</span>
|
||||
extends <a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.CustomChart</a></pre>
|
||||
<div class="block">Represents a custom drilldown pie.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html#DrilldownPie-java.lang.String-java.util.concurrent.Callable-">DrilldownPie</a></span>(java.lang.String chartId,
|
||||
java.util.concurrent.Callable<java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>>> callable)</code>
|
||||
<div class="block">Class constructor.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete 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>org.json.JSONObject</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html#getChartData--">getChartData</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="DrilldownPie-java.lang.String-java.util.concurrent.Callable-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>DrilldownPie</h4>
|
||||
<pre>public DrilldownPie(java.lang.String chartId,
|
||||
java.util.concurrent.Callable<java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>>> callable)</pre>
|
||||
<div class="block">Class constructor.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>chartId</code> - The id of the chart.</dd>
|
||||
<dd><code>callable</code> - The callable which is used to request the chart data.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getChartData--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getChartData</h4>
|
||||
<pre>public org.json.JSONObject getChartData()
|
||||
throws java.lang.Exception</pre>
|
||||
<dl>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.lang.Exception</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="../../../../../net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" target="_top">Frames</a></li>
|
||||
<li><a href="Metrics.DrilldownPie.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><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,254 @@
|
||||
<!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 -->
|
||||
<title>Metrics.SimplePie (SubServers.Host)</title>
|
||||
<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="Metrics.SimplePie (SubServers.Host)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</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="../../../../../net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" target="_top">Frames</a></li>
|
||||
<li><a href="Metrics.SimplePie.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><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Host.Library</div>
|
||||
<h2 title="Class Metrics.SimplePie" class="title">Class Metrics.SimplePie</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library">net.ME1312.SubServers.Host.Library.Metrics.CustomChart</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Host.Library.Metrics.SimplePie</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library">Metrics</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">Metrics.SimplePie</span>
|
||||
extends <a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.CustomChart</a></pre>
|
||||
<div class="block">Represents a custom simple pie.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html#SimplePie-java.lang.String-java.util.concurrent.Callable-">SimplePie</a></span>(java.lang.String chartId,
|
||||
java.util.concurrent.Callable<java.lang.String> callable)</code>
|
||||
<div class="block">Class constructor.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="SimplePie-java.lang.String-java.util.concurrent.Callable-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>SimplePie</h4>
|
||||
<pre>public SimplePie(java.lang.String chartId,
|
||||
java.util.concurrent.Callable<java.lang.String> callable)</pre>
|
||||
<div class="block">Class constructor.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>chartId</code> - The id of the chart.</dd>
|
||||
<dd><code>callable</code> - The callable which is used to request the chart data.</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="../../../../../net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" target="_top">Frames</a></li>
|
||||
<li><a href="Metrics.SimplePie.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><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,254 @@
|
||||
<!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 -->
|
||||
<title>Metrics.SingleLineChart (SubServers.Host)</title>
|
||||
<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="Metrics.SingleLineChart (SubServers.Host)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</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="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" target="_top">Frames</a></li>
|
||||
<li><a href="Metrics.SingleLineChart.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><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Host.Library</div>
|
||||
<h2 title="Class Metrics.SingleLineChart" class="title">Class Metrics.SingleLineChart</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library">net.ME1312.SubServers.Host.Library.Metrics.CustomChart</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Host.Library.Metrics.SingleLineChart</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library">Metrics</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">Metrics.SingleLineChart</span>
|
||||
extends <a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.CustomChart</a></pre>
|
||||
<div class="block">Represents a custom single line chart.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html#SingleLineChart-java.lang.String-java.util.concurrent.Callable-">SingleLineChart</a></span>(java.lang.String chartId,
|
||||
java.util.concurrent.Callable<java.lang.Integer> callable)</code>
|
||||
<div class="block">Class constructor.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="SingleLineChart-java.lang.String-java.util.concurrent.Callable-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>SingleLineChart</h4>
|
||||
<pre>public SingleLineChart(java.lang.String chartId,
|
||||
java.util.concurrent.Callable<java.lang.Integer> callable)</pre>
|
||||
<div class="block">Class constructor.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>chartId</code> - The id of the chart.</dd>
|
||||
<dd><code>callable</code> - The callable which is used to request the chart data.</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="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" target="_top">Frames</a></li>
|
||||
<li><a href="Metrics.SingleLineChart.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><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -17,12 +17,6 @@
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
@ -48,7 +42,7 @@ var activeTableTab = "activeTableTab";
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Library/Metrics.html" target="_top">Frames</a></li>
|
||||
@ -72,16 +66,16 @@ var activeTableTab = "activeTableTab";
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
@ -118,6 +112,45 @@ extends java.lang.Object</pre>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.CustomChart</a></span></code>
|
||||
<div class="block">Represents a custom chart.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.DrilldownPie</a></span></code>
|
||||
<div class="block">Represents a custom drilldown pie.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.SimplePie</a></span></code>
|
||||
<div class="block">Represents a custom simple pie.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.SingleLineChart</a></span></code>
|
||||
<div class="block">Represents a custom single line chart.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
@ -149,7 +182,9 @@ extends java.lang.Object</pre>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.html#Metrics-net.ME1312.SubServers.Host.ExHost-">Metrics</a></span>(<a href="../../../../../net/ME1312/SubServers/Host/ExHost.html" title="class in net.ME1312.SubServers.Host">ExHost</a> host)</code> </td>
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.html#Metrics-net.ME1312.SubServers.Host.ExHost-">Metrics</a></span>(<a href="../../../../../net/ME1312/SubServers/Host/ExHost.html" title="class in net.ME1312.SubServers.Host">ExHost</a> host)</code>
|
||||
<div class="block">Class constructor.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
@ -160,25 +195,6 @@ extends java.lang.Object</pre>
|
||||
<!-- -->
|
||||
</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="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete 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>org.json.JSONObject</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.html#getPluginData--">getPluginData</a></span>()</code>
|
||||
<div class="block">Gets the plugin specific data.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.html#linkMetrics-java.lang.Object-">linkMetrics</a></span>(java.lang.Object metrics)</code>
|
||||
<div class="block">Links an other metrics class with this class.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
@ -228,43 +244,10 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>Metrics</h4>
|
||||
<pre>public Metrics(<a href="../../../../../net/ME1312/SubServers/Host/ExHost.html" title="class in net.ME1312.SubServers.Host">ExHost</a> host)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="linkMetrics-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>linkMetrics</h4>
|
||||
<pre>public static void linkMetrics(java.lang.Object metrics)</pre>
|
||||
<div class="block">Links an other metrics class with this class.
|
||||
This method is called using Reflection.</div>
|
||||
<div class="block">Class constructor.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>metrics</code> - An object of the metrics class to link.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getPluginData--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getPluginData</h4>
|
||||
<pre>public org.json.JSONObject getPluginData()</pre>
|
||||
<div class="block">Gets the plugin specific data.
|
||||
This method is called using Reflection.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The plugin specific data.</dd>
|
||||
<dd><code>host</code> - SubServers.Host</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -296,7 +279,7 @@ extends java.lang.Object</pre>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Library/Metrics.html" target="_top">Frames</a></li>
|
||||
@ -320,16 +303,16 @@ extends java.lang.Object</pre>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
|
@ -47,7 +47,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/PluginClassLoader.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
@ -299,7 +299,7 @@ extends <a href="../../../../../net/ME1312/SubServers/Host/Library/Container.htm
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Library/PluginClassLoader.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
|
@ -21,6 +21,10 @@
|
||||
<ul title="Classes">
|
||||
<li><a href="Container.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">Container</a></li>
|
||||
<li><a href="Metrics.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">Metrics</a></li>
|
||||
<li><a href="Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">Metrics.CustomChart</a></li>
|
||||
<li><a href="Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">Metrics.DrilldownPie</a></li>
|
||||
<li><a href="Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">Metrics.SimplePie</a></li>
|
||||
<li><a href="Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">Metrics.SingleLineChart</a></li>
|
||||
<li><a href="NamedContainer.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">NamedContainer</a></li>
|
||||
<li><a href="PluginClassLoader.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">PluginClassLoader</a></li>
|
||||
<li><a href="UniversalFile.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">UniversalFile</a></li>
|
||||
|
@ -124,6 +124,30 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.CustomChart</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Represents a custom chart.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.DrilldownPie</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Represents a custom drilldown pie.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.SimplePie</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Represents a custom simple pie.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library">Metrics.SingleLineChart</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Represents a custom single line chart.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Host.Library">NamedContainer</a><T,V></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Named Container Class</div>
|
||||
|
@ -103,6 +103,13 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics.CustomChart</span></a>
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics.DrilldownPie</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics.SimplePie</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="../../../../../net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics.SingleLineChart</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="../../../../../net/ME1312/SubServers/Host/Library/Util.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Util</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -146,6 +146,13 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Metrics.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Metrics.CustomChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics.CustomChart</span></a>
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Metrics.DrilldownPie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics.DrilldownPie</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Metrics.SimplePie.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics.SimplePie</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Metrics.SingleLineChart.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Metrics.SingleLineChart</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle">java.io.OutputStream (implements java.io.Closeable, java.io.Flushable)
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.Log.<a href="net/ME1312/SubServers/Host/Library/Log/FileLogger.html" title="class in net.ME1312.SubServers.Host.Library.Log"><span class="typeNameLink">FileLogger</span></a></li>
|
||||
|
Binary file not shown.
Binary file not shown.
@ -173,7 +173,7 @@ public class Metrics {
|
||||
int playerAmount = plugin.getOnlineCount();
|
||||
playerAmount = playerAmount > 500 ? 500 : playerAmount;
|
||||
int onlineMode = plugin.getConfig().isOnlineMode() ? 1 : 0;
|
||||
String bungeecordVersion = plugin.getVersion();
|
||||
String bungeecordVersion = (plugin.getName().equals("SubServers.Bungee"))?"SubServers-Bungee-Patched":plugin.getVersion();
|
||||
int managedServers = plugin.getServers().size();
|
||||
|
||||
// OS/Java specific data
|
||||
|
@ -60,7 +60,7 @@ public final class SubPlugin extends BungeeCord implements Listener {
|
||||
public SubServer sudo = null;
|
||||
//public static final Version version = new Version("2.13a");
|
||||
//public static final Version version = new Version(new Version("2.13a"), Version.VersionType.BETA, 1); // TODO Beta Version Setting
|
||||
public static final Version version = new Version(new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2), VersionType.BETA, 3); // TODO Beta Version Setting
|
||||
public static final Version version = new Version(new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2), VersionType.BETA, 4); // TODO Beta Version Setting
|
||||
|
||||
public boolean redis = false;
|
||||
public long resetDate = 0;
|
||||
@ -627,7 +627,7 @@ public final class SubPlugin extends BungeeCord implements Listener {
|
||||
*/
|
||||
@Override
|
||||
public String getVersion() {
|
||||
return (super.getVersion().equals("SubServers.Bungee"))?version.toExtendedString().replace(' ', '-'):super.getVersion();
|
||||
return (super.getVersion().equals("SubServers.Bungee"))?version.toString():super.getVersion();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
package net.ME1312.SubServers.Client.Bukkit.Library;
|
||||
|
||||
/**
|
||||
* Callback Class
|
||||
*/
|
||||
public interface Callback<V> {
|
||||
/**
|
||||
* Run the Callback
|
||||
*
|
||||
* @param value Value
|
||||
*/
|
||||
void run(V value);
|
||||
}
|
@ -47,7 +47,7 @@ public final class SubPlugin extends JavaPlugin {
|
||||
super();
|
||||
//version = new Version(getDescription().getVersion());
|
||||
//version = new Version(new Version(getDescription().getVersion()), Version.VersionType.BETA, 1); // TODO Beta Version Setting
|
||||
version = new Version(new Version(new Version(getDescription().getVersion()), VersionType.PRE_RELEASE, 2), VersionType.BETA, 3); // TODO Beta Version Setting
|
||||
version = new Version(new Version(new Version(getDescription().getVersion()), VersionType.PRE_RELEASE, 2), VersionType.BETA, 4); // TODO Beta Version Setting
|
||||
}
|
||||
|
||||
/**
|
||||
|
Binary file not shown.
@ -6,15 +6,12 @@ import net.ME1312.SubServers.Host.API.SubPluginInfo;
|
||||
import net.ME1312.SubServers.Host.API.SubPlugin;
|
||||
import net.ME1312.SubServers.Host.Executable.SubCreator;
|
||||
import net.ME1312.SubServers.Host.Executable.SubServer;
|
||||
import net.ME1312.SubServers.Host.Library.*;
|
||||
import net.ME1312.SubServers.Host.Library.Config.YAMLConfig;
|
||||
import net.ME1312.SubServers.Host.Library.Config.YAMLSection;
|
||||
import net.ME1312.SubServers.Host.Library.Exception.IllegalPluginException;
|
||||
import net.ME1312.SubServers.Host.Library.Log.FileLogger;
|
||||
import net.ME1312.SubServers.Host.Library.Log.Logger;
|
||||
import net.ME1312.SubServers.Host.Library.PluginClassLoader;
|
||||
import net.ME1312.SubServers.Host.Library.NamedContainer;
|
||||
import net.ME1312.SubServers.Host.Library.UniversalFile;
|
||||
import net.ME1312.SubServers.Host.Library.Util;
|
||||
import net.ME1312.SubServers.Host.Library.Version.Version;
|
||||
import net.ME1312.SubServers.Host.Library.Version.VersionType;
|
||||
import net.ME1312.SubServers.Host.Network.Cipher;
|
||||
@ -56,7 +53,7 @@ public final class ExHost {
|
||||
|
||||
//public final Version version = new Version("2.13a");
|
||||
//public final Version version = new Version(new Version("2.13a"), Version.VersionType.BETA, 1); // TODO Beta Version Setting
|
||||
public final Version version = new Version(new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2), VersionType.BETA, 3); // TODO Beta Version Setting
|
||||
public final Version version = new Version(new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2), VersionType.BETA, 4); // TODO Beta Version Setting
|
||||
public final SubAPI api = new SubAPI(this);
|
||||
|
||||
private ConsoleReader jline;
|
||||
@ -126,6 +123,7 @@ public final class ExHost {
|
||||
if (new UniversalFile(dir, "Recently Deleted:" + file.getName() + ":info.json").exists()) {
|
||||
FileReader reader = new FileReader(new UniversalFile(dir, "Recently Deleted:" + file.getName() + ":info.json"));
|
||||
JSONObject json = new JSONObject(Util.readAll(reader));
|
||||
reader.close();
|
||||
if (json.keySet().contains("Timestamp")) {
|
||||
if (TimeUnit.MILLISECONDS.toDays(Calendar.getInstance().getTime().getTime() - json.getLong("Timestamp")) >= 7) {
|
||||
Util.deleteDirectory(file);
|
||||
@ -378,6 +376,7 @@ public final class ExHost {
|
||||
|
||||
loadDefaults();
|
||||
|
||||
new Metrics(this);
|
||||
new Timer().schedule(new TimerTask() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
@ -3,16 +3,17 @@ package net.ME1312.SubServers.Host.Library;
|
||||
import net.ME1312.SubServers.Host.ExHost;
|
||||
import net.ME1312.SubServers.Host.Library.Config.YAMLConfig;
|
||||
import net.ME1312.SubServers.Host.Library.Config.YAMLSection;
|
||||
import net.ME1312.SubServers.Host.Library.Log.Logger;
|
||||
import org.json.JSONArray;
|
||||
import org.json.JSONObject;
|
||||
|
||||
import javax.net.ssl.HttpsURLConnection;
|
||||
import java.io.*;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.net.URL;
|
||||
import java.nio.file.Path;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
import java.util.zip.GZIPOutputStream;
|
||||
|
||||
/**
|
||||
@ -22,146 +23,161 @@ import java.util.zip.GZIPOutputStream;
|
||||
*/
|
||||
public class Metrics {
|
||||
|
||||
static {
|
||||
// You can use the property to disable the check in your test environment
|
||||
if (System.getProperty("bstats.relocatecheck") == null || !System.getProperty("bstats.relocatecheck").equals("false")) {
|
||||
// Maven's Relocate is clever and changes strings, too. So we have to use this little "trick" ... :D
|
||||
final String defaultPackage = new String(
|
||||
new byte[]{'o', 'r', 'g', '.', 'b', 's', 't', 'a', 't', 's', '.', 'b', 'u', 'n', 'g', 'e', 'e', 'c', 'o', 'r', 'd'});
|
||||
final String examplePackage = new String(new byte[]{'y', 'o', 'u', 'r', '.', 'p', 'a', 'c', 'k', 'a', 'g', 'e'});
|
||||
// We want to make sure nobody just copy & pastes the example and use the wrong package names
|
||||
if (Metrics.class.getPackage().getName().equals(defaultPackage) || Metrics.class.getPackage().getName().equals(examplePackage)) {
|
||||
throw new IllegalStateException("bStats Metrics class has not been relocated correctly!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// The version of this bStats class
|
||||
public static final int B_STATS_VERSION = 1;
|
||||
|
||||
// The url to which the data is sent
|
||||
private static final String URL = "https://bStats.org/submitData/other";
|
||||
|
||||
// The host
|
||||
private final ExHost host;
|
||||
// Should failed requests be logged?
|
||||
private static boolean logFailedRequests = false;
|
||||
|
||||
// Is bStats enabled on this server?
|
||||
private boolean enabled;
|
||||
// The logger for the failed requests
|
||||
private static final Logger logger = new Logger("bStats");
|
||||
|
||||
// The name of the server software
|
||||
private final String name = "SubServers Host";
|
||||
|
||||
// The uuid of the server
|
||||
private String serverUUID;
|
||||
|
||||
// Should failed requests be logged?
|
||||
private boolean logFailedRequests = false;
|
||||
|
||||
// A list with all known metrics class objects including this one
|
||||
private static final List<Object> knownMetricsInstances = new ArrayList<>();
|
||||
// A list with all custom charts
|
||||
private final List<CustomChart> charts = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param host SubServers.Host
|
||||
*/
|
||||
public Metrics(ExHost host) {
|
||||
this.host = host;
|
||||
|
||||
boolean enabled = true;
|
||||
File configPath = new File(new File(host.dir, "plugins"), "bStats");
|
||||
configPath.mkdirs();
|
||||
File configFile = new File(configPath, "config.yml");
|
||||
try {
|
||||
loadConfig();
|
||||
} catch (IOException e) {
|
||||
// Failed to load configuration
|
||||
host.log.warn.println("Failed to load bStats config!", e);
|
||||
return;
|
||||
}
|
||||
|
||||
// We are not allowed to send data about this server :(
|
||||
if (!enabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
Class<?> usedMetricsClass = getFirstBStatsClass();
|
||||
if (usedMetricsClass == null) {
|
||||
// Failed to get first metrics class
|
||||
return;
|
||||
}
|
||||
if (usedMetricsClass == getClass()) {
|
||||
// We are the first! :)
|
||||
linkMetrics(this);
|
||||
startSubmitting();
|
||||
} else {
|
||||
// We aren't the first so we link to the first metrics class
|
||||
try {
|
||||
usedMetricsClass.getMethod("linkMetrics", Object.class).invoke(null,this);
|
||||
} catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException e) {
|
||||
if (logFailedRequests) {
|
||||
host.log.warn.println("Failed to link to first metrics class " + usedMetricsClass.getName() + "!", e);
|
||||
}
|
||||
if (!configFile.exists()) {
|
||||
FileWriter writer = new FileWriter(configFile);
|
||||
writer.write("#bStats collects some data for plugin authors like how many servers are using their plugins.\n");
|
||||
writer.write("#To honor their work, you should not disable it.\n");
|
||||
writer.write("#This has nearly no effect on the server performance!\n");
|
||||
writer.write("#Check out https://bStats.org/ to learn more :)\n");
|
||||
writer.write("enabled: true\n");
|
||||
writer.write("serverUuid: \"" + UUID.randomUUID().toString() + "\"\n");
|
||||
writer.write("logFailedRequests: false\n");
|
||||
writer.close();
|
||||
}
|
||||
|
||||
YAMLSection configuration = new YAMLConfig(configFile).get();
|
||||
|
||||
// Load configuration
|
||||
enabled = configuration.getBoolean("enabled", true);
|
||||
serverUUID = configuration.getString("serverUuid");
|
||||
logFailedRequests = configuration.getBoolean("logFailedRequests", false);
|
||||
|
||||
// Load charts
|
||||
charts.add(new SingleLineChart("servers", () -> 1));
|
||||
charts.add(new SingleLineChart("hosted_servers", () -> host.servers.size()));
|
||||
charts.add(new SingleLineChart("plugins", () -> host.api.getPlugins().size()));
|
||||
charts.add(new SimplePie("pluginVersion", host.version::toString));
|
||||
charts.add(new DrilldownPie("os", () -> {
|
||||
String name = System.getProperty("os.name");
|
||||
String version = System.getProperty("os.version");
|
||||
Map<String, Map<String, Integer>> map = new HashMap<String, Map<String, Integer>>();
|
||||
Map<String, Integer> imap = new HashMap<String, Integer>();
|
||||
|
||||
if (name.toLowerCase().startsWith("windows")) {
|
||||
imap.put(name, 1);
|
||||
if (name.toLowerCase().contains("server")) {
|
||||
map.put("Windows Server", imap);
|
||||
} else {
|
||||
map.put("Windows", imap);
|
||||
}
|
||||
} else if (name.toLowerCase().startsWith("mac") || name.toLowerCase().startsWith("darwin")) {
|
||||
imap.put("Mac OS " + version, 1);
|
||||
map.put("Mac OS", imap);
|
||||
} else {
|
||||
imap.put(name + ' ' + version, 1);
|
||||
map.put(name, imap);
|
||||
}
|
||||
|
||||
return map;
|
||||
}));
|
||||
charts.add(new SimplePie("coreCount", () -> Integer.toString(Runtime.getRuntime().availableProcessors())));
|
||||
charts.add(new DrilldownPie("javaVersion", () -> {
|
||||
String version = System.getProperty("java.version");
|
||||
Matcher regex = Pattern.compile("(?:1\\.)?(\\d+).*").matcher(version);
|
||||
Map<String, Map<String, Integer>> map = new HashMap<String, Map<String, Integer>>();
|
||||
Map<String, Integer> imap = new HashMap<String, Integer>();
|
||||
if (regex.find()) {
|
||||
imap.put(regex.group(), 1);
|
||||
map.put("Java " + regex.group(1), imap);
|
||||
} else {
|
||||
imap.put(version, 1);
|
||||
map.put("Java X", imap);
|
||||
}
|
||||
return map;
|
||||
|
||||
}));
|
||||
charts.add(new SimplePie("osArch", () -> System.getProperty("os.arch")));
|
||||
|
||||
} catch (Exception e) {
|
||||
logger.error.println(e);
|
||||
}
|
||||
|
||||
// We are allowed to send data
|
||||
if (enabled) {
|
||||
// Start submitting the data
|
||||
startSubmitting();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Links an other metrics class with this class.
|
||||
* This method is called using Reflection.
|
||||
*
|
||||
* @param metrics An object of the metrics class to link.
|
||||
* Starts the Scheduler which submits our data every 30 minutes.
|
||||
*/
|
||||
public static void linkMetrics(Object metrics) {
|
||||
knownMetricsInstances.add(metrics);
|
||||
private void startSubmitting() {
|
||||
final Timer timer = new Timer(true);
|
||||
timer.scheduleAtFixedRate(new TimerTask() {
|
||||
@Override
|
||||
public void run() {
|
||||
submitData();
|
||||
}
|
||||
}, 1000*60*5, 1000*60*30);
|
||||
// Submit the data every 30 minutes, first time after 5 minutes to give other plugins enough time to start
|
||||
// WARNING: Changing the frequency has no effect but your plugin WILL be blocked/deleted!
|
||||
// WARNING: Just don't do it!
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the plugin specific data.
|
||||
* This method is called using Reflection.
|
||||
*
|
||||
* @return The plugin specific data.
|
||||
*/
|
||||
public JSONObject getPluginData() {
|
||||
private JSONObject getPluginData() {
|
||||
JSONObject data = new JSONObject();
|
||||
|
||||
String pluginName = "SubServers Host";
|
||||
String pluginVersion = host.version.toString();
|
||||
|
||||
data.put("pluginName", pluginName);
|
||||
data.put("pluginVersion", pluginVersion);
|
||||
|
||||
data.put("pluginName", name); // Append the name of the server software
|
||||
JSONArray customCharts = new JSONArray();
|
||||
for (CustomChart customChart : charts) {
|
||||
// Add the data of the custom charts
|
||||
JSONObject chart = customChart.getRequestJsonObject();
|
||||
if (chart == null) { // If the chart is null, we skip it
|
||||
continue;
|
||||
}
|
||||
customCharts.put(chart);
|
||||
}
|
||||
data.put("customCharts", customCharts);
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
private void startSubmitting() {
|
||||
new Timer().schedule( new TimerTask() {
|
||||
@Override
|
||||
public void run() {
|
||||
// The data collection is async, as well as sending the data
|
||||
// Bungeecord does not have a main thread, everything is async
|
||||
submitData();
|
||||
}
|
||||
}, TimeUnit.MINUTES.toMillis(2), TimeUnit.MINUTES.toMillis(30));
|
||||
// Submit the data every 30 minutes, first time after 2 minutes to give other plugins enough time to start
|
||||
// WARNING: Changing the frequency has no effect but your plugin WILL be blocked/deleted!
|
||||
// WARNING: Just don't do it!
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the server specific data.
|
||||
*
|
||||
* @return The server specific data.
|
||||
*/
|
||||
private JSONObject getServerData() {
|
||||
// OS/Java specific data
|
||||
String javaVersion = System.getProperty("java.version");
|
||||
String osName = System.getProperty("os.name");
|
||||
String osArch = System.getProperty("os.arch");
|
||||
String osVersion = System.getProperty("os.version");
|
||||
int coreCount = Runtime.getRuntime().availableProcessors();
|
||||
|
||||
JSONObject data = new JSONObject();
|
||||
|
||||
data.put("serverUUID", serverUUID);
|
||||
|
||||
data.put("javaVersion", javaVersion);
|
||||
data.put("osName", osName);
|
||||
data.put("osArch", osArch);
|
||||
data.put("osVersion", osVersion);
|
||||
data.put("coreCount", coreCount);
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
@ -171,123 +187,17 @@ public class Metrics {
|
||||
private void submitData() {
|
||||
final JSONObject data = getServerData();
|
||||
|
||||
final JSONArray pluginData = new JSONArray();
|
||||
// Search for all other bStats Metrics classes to get their plugin data
|
||||
for (Object metrics : knownMetricsInstances) {
|
||||
try {
|
||||
Object plugin = metrics.getClass().getMethod("getPluginData").invoke(metrics);
|
||||
if (plugin instanceof JSONObject) {
|
||||
pluginData.put(plugin);
|
||||
}
|
||||
} catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException ignored) { }
|
||||
}
|
||||
|
||||
JSONArray pluginData = new JSONArray();
|
||||
pluginData.put(getPluginData());
|
||||
data.put("plugins", pluginData);
|
||||
|
||||
try {
|
||||
// Send the data
|
||||
// We are still in the Thread of the timer, so nothing get blocked :)
|
||||
sendData(data);
|
||||
} catch (Exception e) {
|
||||
// Something went wrong! :(
|
||||
if (logFailedRequests) {
|
||||
host.log.warn.println("Could not submit plugin stats!", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads the bStats configuration.
|
||||
*
|
||||
* @throws IOException If something did not work :(
|
||||
*/
|
||||
private void loadConfig() throws IOException {
|
||||
Path configPath = new File(host.dir, "plugins").toPath().resolve("bStats");
|
||||
configPath.toFile().mkdirs();
|
||||
File configFile = new File(configPath.toFile(), "config.yml");
|
||||
if (!configFile.exists()) {
|
||||
writeFile(configFile,
|
||||
"#bStats collects some data for plugin authors like how many servers are using their plugins.",
|
||||
"#To honor their work, you should not disable it.",
|
||||
"#This has nearly no effect on the server performance!",
|
||||
"#Check out https://bStats.org/ to learn more :)",
|
||||
"enabled: true",
|
||||
"serverUuid: \"" + UUID.randomUUID().toString() + "\"",
|
||||
"logFailedRequests: false");
|
||||
}
|
||||
|
||||
YAMLSection configuration = new YAMLConfig(configFile).get();
|
||||
|
||||
// Load configuration
|
||||
enabled = configuration.getBoolean("enabled", true);
|
||||
serverUUID = configuration.getString("serverUuid");
|
||||
logFailedRequests = configuration.getBoolean("logFailedRequests", false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the first bStat Metrics class.
|
||||
*
|
||||
* @return The first bStats metrics class.
|
||||
*/
|
||||
private Class<?> getFirstBStatsClass() {
|
||||
Path configPath = new File(host.dir, "plugins").toPath().resolve("bStats");
|
||||
configPath.toFile().mkdirs();
|
||||
File tempFile = new File(configPath.toFile(), "temp.txt");
|
||||
|
||||
try {
|
||||
String className = readFile(tempFile);
|
||||
if (className != null) {
|
||||
try {
|
||||
// Let's check if a class with the given name exists.
|
||||
return Class.forName(className);
|
||||
} catch (ClassNotFoundException ignored) { }
|
||||
}
|
||||
writeFile(tempFile, getClass().getName());
|
||||
return getClass();
|
||||
} catch (IOException e) {
|
||||
if (logFailedRequests) {
|
||||
host.log.warn.println("Failed to get first bStats class!", e);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Reads the first line of the file.
|
||||
*
|
||||
* @param file The file to read. Cannot be null.
|
||||
* @return The first line of the file or <code>null</code> if the file does not exist or is empty.
|
||||
* @throws IOException If something did not work :(
|
||||
*/
|
||||
private String readFile(File file) throws IOException {
|
||||
if (!file.exists()) {
|
||||
return null;
|
||||
}
|
||||
try (
|
||||
FileReader fileReader = new FileReader(file);
|
||||
BufferedReader bufferedReader = new BufferedReader(fileReader);
|
||||
) {
|
||||
return bufferedReader.readLine();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes a String to a file. It also adds a note for the user,
|
||||
*
|
||||
* @param file The file to write to. Cannot be null.
|
||||
* @param lines The lines to write.
|
||||
* @throws IOException If something did not work :(
|
||||
*/
|
||||
private void writeFile(File file, String... lines) throws IOException {
|
||||
if (!file.exists()) {
|
||||
file.createNewFile();
|
||||
}
|
||||
try (
|
||||
FileWriter fileWriter = new FileWriter(file);
|
||||
BufferedWriter bufferedWriter = new BufferedWriter(fileWriter)
|
||||
) {
|
||||
for (String line : lines) {
|
||||
bufferedWriter.write(line);
|
||||
bufferedWriter.newLine();
|
||||
logger.warn.println("Could not submit stats of " + name, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -300,7 +210,7 @@ public class Metrics {
|
||||
*/
|
||||
private static void sendData(JSONObject data) throws Exception {
|
||||
if (data == null) {
|
||||
throw new IllegalArgumentException("Data cannot be null");
|
||||
throw new IllegalArgumentException("Data cannot be null!");
|
||||
}
|
||||
|
||||
HttpsURLConnection connection = (HttpsURLConnection) new URL(URL).openConnection();
|
||||
@ -324,7 +234,15 @@ public class Metrics {
|
||||
outputStream.flush();
|
||||
outputStream.close();
|
||||
|
||||
connection.getInputStream().close(); // We don't care about the response - Just send our data :)
|
||||
InputStream inputStream = connection.getInputStream();
|
||||
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream));
|
||||
|
||||
StringBuilder builder = new StringBuilder();
|
||||
String line;
|
||||
while ((line = bufferedReader.readLine()) != null) {
|
||||
builder.append(line);
|
||||
}
|
||||
bufferedReader.close();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -344,4 +262,159 @@ public class Metrics {
|
||||
gzip.close();
|
||||
return outputStream.toByteArray();
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a custom chart.
|
||||
*/
|
||||
public static abstract class CustomChart {
|
||||
|
||||
// The id of the chart
|
||||
final String chartId;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param chartId The id of the chart.
|
||||
*/
|
||||
CustomChart(String chartId) {
|
||||
if (chartId == null || chartId.isEmpty()) {
|
||||
throw new IllegalArgumentException("ChartId cannot be null or empty!");
|
||||
}
|
||||
this.chartId = chartId;
|
||||
}
|
||||
|
||||
private JSONObject getRequestJsonObject() {
|
||||
JSONObject chart = new JSONObject();
|
||||
chart.put("chartId", chartId);
|
||||
try {
|
||||
JSONObject data = getChartData();
|
||||
if (data == null) {
|
||||
// If the data is null we don't send the chart.
|
||||
return null;
|
||||
}
|
||||
chart.put("data", data);
|
||||
} catch (Throwable t) {
|
||||
if (logFailedRequests) {
|
||||
logger.warn.println("Failed to get data for custom chart with id " + chartId, t);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
return chart;
|
||||
}
|
||||
|
||||
protected abstract JSONObject getChartData() throws Exception;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a custom simple pie.
|
||||
*/
|
||||
public static class SimplePie extends CustomChart {
|
||||
|
||||
private final Callable<String> callable;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param chartId The id of the chart.
|
||||
* @param callable The callable which is used to request the chart data.
|
||||
*/
|
||||
public SimplePie(String chartId, Callable<String> callable) {
|
||||
super(chartId);
|
||||
this.callable = callable;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected JSONObject getChartData() throws Exception {
|
||||
JSONObject data = new JSONObject();
|
||||
String value = callable.call();
|
||||
if (value == null || value.isEmpty()) {
|
||||
// Null = skip the chart
|
||||
return null;
|
||||
}
|
||||
data.put("value", value);
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a custom drilldown pie.
|
||||
*/
|
||||
public static class DrilldownPie extends CustomChart {
|
||||
|
||||
private final Callable<Map<String, Map<String, Integer>>> callable;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param chartId The id of the chart.
|
||||
* @param callable The callable which is used to request the chart data.
|
||||
*/
|
||||
public DrilldownPie(String chartId, Callable<Map<String, Map<String, Integer>>> callable) {
|
||||
super(chartId);
|
||||
this.callable = callable;
|
||||
}
|
||||
|
||||
@Override
|
||||
public JSONObject getChartData() throws Exception {
|
||||
JSONObject data = new JSONObject();
|
||||
JSONObject values = new JSONObject();
|
||||
Map<String, Map<String, Integer>> map = callable.call();
|
||||
if (map == null || map.isEmpty()) {
|
||||
// Null = skip the chart
|
||||
return null;
|
||||
}
|
||||
boolean reallyAllSkipped = true;
|
||||
for (Map.Entry<String, Map<String, Integer>> entryValues : map.entrySet()) {
|
||||
JSONObject value = new JSONObject();
|
||||
boolean allSkipped = true;
|
||||
for (Map.Entry<String, Integer> valueEntry : map.get(entryValues.getKey()).entrySet()) {
|
||||
value.put(valueEntry.getKey(), valueEntry.getValue());
|
||||
allSkipped = false;
|
||||
}
|
||||
if (!allSkipped) {
|
||||
reallyAllSkipped = false;
|
||||
values.put(entryValues.getKey(), value);
|
||||
}
|
||||
}
|
||||
if (reallyAllSkipped) {
|
||||
// Null = skip the chart
|
||||
return null;
|
||||
}
|
||||
data.put("values", values);
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a custom single line chart.
|
||||
*/
|
||||
public static class SingleLineChart extends CustomChart {
|
||||
|
||||
private final Callable<Integer> callable;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param chartId The id of the chart.
|
||||
* @param callable The callable which is used to request the chart data.
|
||||
*/
|
||||
public SingleLineChart(String chartId, Callable<Integer> callable) {
|
||||
super(chartId);
|
||||
this.callable = callable;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected JSONObject getChartData() throws Exception {
|
||||
JSONObject data = new JSONObject();
|
||||
int value = callable.call();
|
||||
if (value == 0) {
|
||||
// Null = skip the chart
|
||||
return null;
|
||||
}
|
||||
data.put("value", value);
|
||||
return data;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Binary file not shown.
@ -153,7 +153,7 @@ public class Metrics {
|
||||
int playerAmount = plugin.getOnlineCount();
|
||||
playerAmount = playerAmount > 500 ? 500 : playerAmount;
|
||||
int onlineMode = plugin.getConfig().isOnlineMode() ? 1 : 0;
|
||||
String bungeecordVersion = plugin.getVersion();
|
||||
String bungeecordVersion = (plugin.getName().equals("SubServers.Sync"))?"SubServers-Sync-Patched":plugin.getVersion();
|
||||
int managedServers = plugin.getServers().size();
|
||||
|
||||
// OS/Java specific data
|
||||
|
@ -50,7 +50,7 @@ public final class SubPlugin extends BungeeCord implements Listener {
|
||||
public SubDataClient subdata = null;
|
||||
//public static final Version version = new Version("2.13a");
|
||||
//public static final Version version = new Version(new Version("2.13a"), Version.VersionType.BETA, 1); // TODO Beta Version Setting
|
||||
public static final Version version = new Version(new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2), VersionType.BETA, 3); // TODO Beta Version Setting
|
||||
public static final Version version = new Version(new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2), VersionType.BETA, 4); // TODO Beta Version Setting
|
||||
|
||||
|
||||
public long lastReload = -1;
|
||||
@ -194,7 +194,7 @@ public final class SubPlugin extends BungeeCord implements Listener {
|
||||
*/
|
||||
@Override
|
||||
public String getVersion() {
|
||||
return (super.getVersion().equals("SubServers.Sync"))?version.toExtendedString().replace(' ', '-'):super.getVersion();
|
||||
return (super.getVersion().equals("SubServers.Sync"))?version.toString():super.getVersion();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user