congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Permission (java.security)
    Legacy security code; do not use.
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JList (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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