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

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

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

origin: wildfly/wildfly

protected void sendException(Address requester, Throwable exception) {
  try {
    Message ex_msg=new Message(requester).setBuffer(Util.exceptionToBuffer(exception))
     .putHeader(getId(), new StateHeader(StateHeader.STATE_EX));
    down(ex_msg);
  }
  catch(Throwable t) {
    log.error("%s: failed sending exception %s to %s", local_addr, exception, requester);
  }
}
origin: org.jboss.eap/wildfly-client-all

protected void sendException(Address requester, Throwable exception) {
  try {
    Message ex_msg=new Message(requester).setBuffer(Util.exceptionToBuffer(exception))
     .putHeader(getId(), new StateHeader(StateHeader.STATE_EX));
    down(ex_msg);
  }
  catch(Throwable t) {
    log.error("%s: failed sending exception %s to %s", local_addr, exception, requester);
  }
}
org.jgroups.protocols.pbcastSTATE_TRANSFERgetId

Popular methods of STATE_TRANSFER

  • determineCoordinator
    Return the first element of members which is not me. Otherwise return null.
  • handleStateReq
    If a state transfer is in progress, we don't need to send a GET_APPLSTATE event to the application,
  • 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
  • getStateFromApplication
  • handleException
  • openBarrier
  • openBarrierAndResumeStable
  • openBarrier,
  • openBarrierAndResumeStable,
  • punchHoleFor,
  • resumeStable,
  • sendException,
  • getAverageStateSize,
  • getNumberOfStateBytesSent,
  • getNumberOfStateRequests,
  • requestApplicationStates

Popular in Java

  • Reactive rest calls using spring rest template
  • getApplicationContext (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • notifyDataSetChanged (ArrayAdapter)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • From CI to AI: The AI layer in your organization
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