Package com.avanza.astrix.gs.remoting
Class GsRemotingTransport
- java.lang.Object
-
- com.avanza.astrix.gs.remoting.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 Summary
Constructors Constructor Description GsRemotingTransport(SpaceTaskDispatcher spaceTaskDispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intpartitionCount()rx.Observable<List<com.avanza.astrix.remoting.client.AstrixServiceInvocationResponse>>submitBroadcastRequest(com.avanza.astrix.remoting.client.AstrixServiceInvocationRequest request)rx.Observable<com.avanza.astrix.remoting.client.AstrixServiceInvocationResponse>submitRoutedRequest(com.avanza.astrix.remoting.client.AstrixServiceInvocationRequest request, com.avanza.astrix.core.remoting.RoutingKey routingKey)rx.Observable<List<com.avanza.astrix.remoting.client.AstrixServiceInvocationResponse>>submitRoutedRequests(Collection<com.avanza.astrix.remoting.client.RoutedServiceInvocationRequest> requests)
-
-
-
Constructor Detail
-
GsRemotingTransport
public GsRemotingTransport(SpaceTaskDispatcher spaceTaskDispatcher)
-
-
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:
submitRoutedRequestin interfacecom.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:
submitRoutedRequestsin interfacecom.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:
submitBroadcastRequestin interfacecom.avanza.astrix.remoting.client.RemotingTransportSpi
-
partitionCount
public int partitionCount()
- Specified by:
partitionCountin interfacecom.avanza.astrix.remoting.client.RemotingTransportSpi
-
-