Package 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
Modifier and TypeMethodDescriptioncomputeRouting(SpaceRemotingInvocation remotingEntry) Returns the routing field value based on the remoting invocation.
-
Method Details
-
computeRouting
Returns the routing field value based on the remoting invocation. Ifnullis returned, will use internal calcualtion of the routing index.
-