Tabnine Logo
STATE_TRANSFER.handleStateReq
Code IndexAdd Tabnine to your IDE (free)

How to use
handleStateReq
method
in
org.jgroups.protocols.pbcast.STATE_TRANSFER

Best Java code snippets using org.jgroups.protocols.pbcast.STATE_TRANSFER.handleStateReq (Showing top 3 results out of 315)

origin: wildfly/wildfly

public void handle(Address state_requester) {
  handleStateReq(state_requester);
}
origin: org.jboss.eap/wildfly-client-all

public void handle(Address state_requester) {
  handleStateReq(state_requester);
}
origin: org.jgroups/com.springsource.org.jgroups

  handleStateReq(hdr);
  break;
case StateHeader.STATE_RSP:
org.jgroups.protocols.pbcastSTATE_TRANSFERhandleStateReq

Javadoc

If a state transfer is in progress, we don't need to send a GET_APPLSTATE event to the application, but instead we just add the sender to the requester list so it will receive the same state when done. If not, we add the sender to the requester list and send a GET_APPLSTATE event up.

Popular methods of STATE_TRANSFER

  • determineCoordinator
    Return the first element of members which is not me. Otherwise return null.
  • handleStateRsp
    Set the digest and the send the state up to the application
  • handleViewChange
  • isDigestNeeded
    When FLUSH is used we do not need to pass digests between members see JGroups/doc/design/PartialStat
  • closeBarrierAndSuspendStable
  • closeHoleFor
  • down
  • getId
  • getStateFromApplication
  • handleException
  • openBarrier
  • openBarrierAndResumeStable
  • openBarrier,
  • openBarrierAndResumeStable,
  • punchHoleFor,
  • resumeStable,
  • sendException,
  • getAverageStateSize,
  • getNumberOfStateBytesSent,
  • getNumberOfStateRequests,
  • requestApplicationStates

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • getSystemService (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • 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