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

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

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

origin: wildfly/wildfly

public void compact() {
  lock.lock();
  try {
    _compact();
  }
  finally {
    lock.unlock();
  }
}
origin: wildfly/wildfly

if(last_compaction_timestamp > 0) {
  if(current_time - last_compaction_timestamp >= max_compaction_time) {
    _compact();
    last_compaction_timestamp=current_time;
origin: org.jboss.eap/wildfly-client-all

public void compact() {
  lock.lock();
  try {
    _compact();
  }
  finally {
    lock.unlock();
  }
}
origin: org.jboss.eap/wildfly-client-all

if(last_compaction_timestamp > 0) {
  if(current_time - last_compaction_timestamp >= max_compaction_time) {
    _compact();
    last_compaction_timestamp=current_time;
org.jgroups.utilTable_compact

Javadoc

Moves the contents of matrix down by the number of purged rows and resizes the matrix accordingly. The capacity of the matrix should be size * resize_factor. Caller must hold the lock.

Popular methods of Table

  • add
    Adds elements from the list to the table
  • <init>
  • _add
  • 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
  • getAdders
  • get,
  • getAdders,
  • getDigest,
  • getHighestDeliverable,
  • getHighestDelivered,
  • getHighestReceived,
  • getLow,
  • getMissing,
  • getNumCompactions

Popular in Java

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • setScale (BigDecimal)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top 12 Jupyter Notebook extensions
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