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
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.
Copyright © GigaSpaces.