Tabnine Logo
Table.getNumRows
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: wildfly/wildfly

@ManagedOperation(description="Prints the number of rows currently allocated in the matrix for all members. " +
 "This value will not be lower than xmit_table_now_rows")
public String dumpXmitTablesNumCurrentRows() {
  StringBuilder sb=new StringBuilder();
  for(Map.Entry<Address,Table<Message>> entry: xmit_table.entrySet())
    sb.append(String.format("%s: %d\n", entry.getKey(), entry.getValue().getNumRows()));
  return sb.toString();
}
origin: wildfly/wildfly

@ManagedAttribute(description="Prints the number of rows currently allocated in the matrix. This value will not " +
 "be lower than xmit_table_now_rows")
public int getXmitTableNumCurrentRows() {
  Table<Message> table=local_addr != null? xmit_table.get(local_addr) : null;
  return table != null? table.getNumRows() : 0;
}
origin: org.jboss.eap/wildfly-client-all

@ManagedOperation(description="Prints the number of rows currently allocated in the matrix for all members. " +
 "This value will not be lower than xmit_table_now_rows")
public String dumpXmitTablesNumCurrentRows() {
  StringBuilder sb=new StringBuilder();
  for(Map.Entry<Address,Table<Message>> entry: xmit_table.entrySet())
    sb.append(String.format("%s: %d\n", entry.getKey(), entry.getValue().getNumRows()));
  return sb.toString();
}
origin: org.jboss.eap/wildfly-client-all

@ManagedAttribute(description="Prints the number of rows currently allocated in the matrix. This value will not " +
 "be lower than xmit_table_now_rows")
public int getXmitTableNumCurrentRows() {
  Table<Message> table=local_addr != null? xmit_table.get(local_addr) : null;
  return table != null? table.getNumRows() : 0;
}
org.jgroups.utilTablegetNumRows

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

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • putExtra (Intent)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Option (scala)
  • Top 15 Vim 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