t

com.nvidia.spark.rapids.shuffle

ServerConnection

trait ServerConnection extends AnyRef

A server-side interface to the transport.

The RapidsShuffleServer uses a ServerConnection to start the management port in the transport (in order to allow for incoming connections)

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerConnection
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def registerRequestHandler(messageType: MessageType.Value, cb: TransactionCallback): Unit

    Registers a callback that will be called any type a MessageType message is received by this ServerConnection

    Registers a callback that will be called any type a MessageType message is received by this ServerConnection

    messageType

    see MessageType enum

    cb

    triggered for a success or error on this request

  2. abstract def send(peerExecutorId: Long, messageType: MessageType.Value, header: Long, buffer: MemoryBuffer, cb: TransactionCallback): Transaction

    Send a message using a MemoryBuffer (data)

    Send a message using a MemoryBuffer (data)

    peerExecutorId

    peer's executor id to target

    messageType

    type of message (likely Buffer)

    header

    - a long that should match a request header, requester use this header to disambiguate messages

    buffer

    an MemoryBuffer for a buffer to send

    cb

    callback to trigger once done

    returns

    the Transaction, which can be used to block wait for this send.

  3. abstract def send(peerExecutorId: Long, messageType: MessageType.Value, header: Long, response: ByteBuffer, cb: TransactionCallback): Transaction

    Send a message using a ByteBuffer (for metadata)

    Send a message using a ByteBuffer (for metadata)

    peerExecutorId

    - executor to send response to

    messageType

    - type of message (likely MetadataResponse or TransferResponse)

    header

    - a long that should match a request header, requester use this header to disambiguate messages

    response

    - a direct ByteBuffer to be transmitted

    cb

    callback to trigger once this respond completes

    returns

    a Transaction that can be used to block while this transaction is not done

  4. abstract def startManagementPort(host: String): Int

    Starts a management port, bound to host, on an ephemeral port (returned)

    Starts a management port, bound to host, on an ephemeral port (returned)

    host

    host to bind to

    returns

    integer ephemeral port that was bound

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped