congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Table.resetStats
Code IndexAdd Tabnine to your IDE (free)

How to use
resetStats
method
in
org.jgroups.util.Table

Best Java code snippets using org.jgroups.util.Table.resetStats (Showing top 2 results out of 315)

origin: wildfly/wildfly

@ManagedOperation(description="Resets all statistics")
public void resetStats() {
  num_messages_sent=num_messages_received=0;
  xmit_reqs_received.reset();
  xmit_reqs_sent.reset();
  xmit_rsps_received.reset();
  xmit_rsps_sent.reset();
  stability_msgs.clear();
  digest_history.clear();
  Table<Message> table=local_addr != null? xmit_table.get(local_addr) : null;
  if(table != null)
    table.resetStats();
}
origin: org.jboss.eap/wildfly-client-all

@ManagedOperation(description="Resets all statistics")
public void resetStats() {
  num_messages_sent=num_messages_received=0;
  xmit_reqs_received.reset();
  xmit_reqs_sent.reset();
  xmit_rsps_received.reset();
  xmit_rsps_sent.reset();
  stability_msgs.clear();
  digest_history.clear();
  Table<Message> table=local_addr != null? xmit_table.get(local_addr) : null;
  if(table != null)
    table.resetStats();
}
org.jgroups.utilTableresetStats

Popular methods of Table

  • add
    Adds elements from the list to the table
  • <init>
  • _add
  • _compact
    Moves the contents of matrix down by the number of purged rows and resizes the matrix accordingly. T
  • capacity
    Returns the total capacity in the matrix
  • compact
  • computeIndex
    Computes and returns the index within a row for seqno
  • computeRow
    Computes and returns the row index for seqno. The caller must hold the lock.
  • computeSize
    Iterate from low to hr and add up non-null values. Caller must hold the lock.
  • findHighestSeqno
  • forEach
    Iterates over the matrix with range [from .. to] (including from and to), and calls Visitor#visit(lo
  • get
    Returns an element at seqno
  • forEach,
  • get,
  • getAdders,
  • getDigest,
  • getHighestDeliverable,
  • getHighestDelivered,
  • getHighestReceived,
  • getLow,
  • getMissing,
  • getNumCompactions

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • setRequestProperty (URLConnection)
  • addToBackStack (FragmentTransaction)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • 21 Best Atom Packages for 2021
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