congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
Table.getHighestReceived
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: wildfly/wildfly

/**
 * Compares the sender's highest seqno with my highest seqno: if the sender's is higher, ask sender for retransmission
 * @param sender The sender
 * @param seqno The highest seqno sent by sender
 */
protected void handleHighestSeqno(Address sender, long seqno) {
  // check whether the highest seqno received from sender is > highest seqno received for sender in my digest.
  // If yes, request retransmission (see "Last Message Dropped" topic in DESIGN)
  Table<Message> buf=xmit_table.get(sender);
  if(buf == null)
    return;
  long my_highest_received=buf.getHighestReceived();
  if(my_highest_received >= 0 && seqno > my_highest_received) {
    log.trace("%s: my_highest_rcvd (%s#%d) < highest received (%s#%d): requesting retransmission",
         local_addr, sender, my_highest_received, sender, seqno);
    retransmit(seqno,seqno,sender);
  }
}
origin: wildfly/wildfly

if(win != null) {
  long highest_acked=win.getHighestDelivered(); // highest delivered == highest ack (sender win)
  long highest_sent=win.getHighestReceived();   // we use table as a *sender* win, so it's highest *sent*...
origin: wildfly/wildfly

long my_hr=buf.getHighestReceived();
if(hr >= 0 && hr > my_hr) {
  log.trace("%s: my_highest_rcvd (%d) < stability_highest_rcvd (%d): requesting retransmission of %s",
origin: org.jboss.eap/wildfly-client-all

/**
 * Compares the sender's highest seqno with my highest seqno: if the sender's is higher, ask sender for retransmission
 * @param sender The sender
 * @param seqno The highest seqno sent by sender
 */
protected void handleHighestSeqno(Address sender, long seqno) {
  // check whether the highest seqno received from sender is > highest seqno received for sender in my digest.
  // If yes, request retransmission (see "Last Message Dropped" topic in DESIGN)
  Table<Message> buf=xmit_table.get(sender);
  if(buf == null)
    return;
  long my_highest_received=buf.getHighestReceived();
  if(my_highest_received >= 0 && seqno > my_highest_received) {
    log.trace("%s: my_highest_rcvd (%s#%d) < highest received (%s#%d): requesting retransmission",
         local_addr, sender, my_highest_received, sender, seqno);
    retransmit(seqno,seqno,sender);
  }
}
origin: org.jboss.eap/wildfly-client-all

if(win != null) {
  long highest_acked=win.getHighestDelivered(); // highest delivered == highest ack (sender win)
  long highest_sent=win.getHighestReceived();   // we use table as a *sender* win, so it's highest *sent*...
origin: org.jboss.eap/wildfly-client-all

long my_hr=buf.getHighestReceived();
if(hr >= 0 && hr > my_hr) {
  log.trace("%s: my_highest_rcvd (%d) < stability_highest_rcvd (%d): requesting retransmission of %s",
org.jgroups.utilTablegetHighestReceived

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,
  • getLow,
  • getMissing,
  • getNumCompactions

Popular in Java

  • Finding current android device location
  • getSupportFragmentManager (FragmentActivity)
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top 12 Jupyter Notebook Extensions
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