congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
Client.getStats
Code IndexAdd Tabnine 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)

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

  • Reading from database using SQL prepared statement
  • getSystemService (Context)
  • getResourceAsStream (ClassLoader)
  • startActivity (Activity)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • ImageIO (javax.imageio)
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now