GigaSpaces XAP 8.0 API

org.openspaces.remoting
Interface RemoteRoutingHandler<T>

All Known Implementing Classes:
MethodParamRemoteRoutingHandler, ScriptingRemoteRoutingHandler

public interface RemoteRoutingHandler<T>

A general interface allowing for pluggable computation of the remoting invocation routing field. Routing field controls the partition the invocation will be directed to when working with a partitioned space.

Author:
kimchy

Method Summary
 T computeRouting(SpaceRemotingInvocation remotingEntry)
          Returns the routing field value based on the remoting invocation.
 

Method Detail

computeRouting

T computeRouting(SpaceRemotingInvocation remotingEntry)
Returns the routing field value based on the remoting invocation. If null is returned, will use internal calcualtion of the routing index.


GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.