Class GsRemotingTransport

  • All Implemented Interfaces:
    com.avanza.astrix.remoting.client.RemotingTransportSpi

    public class GsRemotingTransport
    extends Object
    implements com.avanza.astrix.remoting.client.RemotingTransportSpi
    RemotingTransport implementation based on GigaSpaces task execution.

    Author:
    Elias Lindholm
    • Constructor Detail

    • Method Detail

      • submitRoutedRequest

        public rx.Observable<com.avanza.astrix.remoting.client.AstrixServiceInvocationResponse> submitRoutedRequest​(com.avanza.astrix.remoting.client.AstrixServiceInvocationRequest request,
                                                                                                                    com.avanza.astrix.core.remoting.RoutingKey routingKey)
        Specified by:
        submitRoutedRequest in interface com.avanza.astrix.remoting.client.RemotingTransportSpi
      • submitRoutedRequests

        public rx.Observable<List<com.avanza.astrix.remoting.client.AstrixServiceInvocationResponse>> submitRoutedRequests​(Collection<com.avanza.astrix.remoting.client.RoutedServiceInvocationRequest> requests)
        Specified by:
        submitRoutedRequests in interface com.avanza.astrix.remoting.client.RemotingTransportSpi
      • submitBroadcastRequest

        public rx.Observable<List<com.avanza.astrix.remoting.client.AstrixServiceInvocationResponse>> submitBroadcastRequest​(com.avanza.astrix.remoting.client.AstrixServiceInvocationRequest request)
        Specified by:
        submitBroadcastRequest in interface com.avanza.astrix.remoting.client.RemotingTransportSpi
      • partitionCount

        public int partitionCount()
        Specified by:
        partitionCount in interface com.avanza.astrix.remoting.client.RemotingTransportSpi