Codota Logo
Client.getStats
Code IndexAdd Codota to your IDE (free)

How to use
getStats
method
in
com.icodici.universa.node2.network.Client

Best Java code snippets using com.icodici.universa.node2.network.Client.getStats (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: UniversaBlockchain/universa

/**
 * Get statistics of the node. Accessible to node owners (with node {@link PrivateKey} as session key) and network admins
 * @return dictionary containing uptime, ledger size, and number of contracts approved for a minute, hour and since restart
 * @throws ClientError
 */
public Binder getStats() throws ClientError {
  return getStats(null);
}
origin: UniversaBlockchain/universa

Binder b = testSpace.client.getStats(90);
int uptime = b.getIntOrThrow("uptime");
while(testSpace.client.getStats(null).getIntOrThrow("uptime") >= uptime) {
  Thread.sleep(500);
  Binder binder = testSpace.client.getStats(90);
origin: UniversaBlockchain/universa

  client.getStats(90);
  client.getStats(90);                // limited request
} catch (Exception e) {
  System.out.println("Client exception: " + e.toString());
origin: UniversaBlockchain/universa

client.getStats(90);
com.icodici.universa.node2.networkClientgetStats

Javadoc

Get statistics of the node. Accessible to node owners (with node PrivateKey as session key) and network admins

Popular methods of Client

  • getState
  • <init>
    Create new client protocol session. It loads network configuration and creates client protocol sessi
  • getClient
  • getNodes
    Get list of nodes in
  • ping
  • register
    Register contract on the network without payment. May require special client key / network configura
  • command
    Execude custom command on the node
  • getNodeNumber
    Get number of node cliet connection is established with
  • getVersion
    Get network version
  • registerParcelWithState
    Register contract on the network with parcel (includes payment) and wait for some of the final ItemS
  • getParcelProcessingState
    Get processing state of given parcel
  • getSession
    Get session of http client connected to node with given number
  • getParcelProcessingState,
  • getSession,
  • queryContract,
  • resyncItem,
  • setVerboseLevel,
  • size,
  • followerGetRate,
  • getBody,
  • getContract

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
  • findViewById (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • JButton (javax.swing)
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
  • Runner (org.openjdk.jmh.runner)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now