gets affinity to be used to communicate with remote cache . affinity allows to contact exactly the node where the data is and therefore avoiding extra network hops . use gridclientpartitionaffinity as default affinity communication towork with remote partitioned caches . concode_field_sep GridClientLoadBalancer balancer concode_elem_sep String name concode_elem_sep GridClientDataAffinity affinity concode_field_sep void setName concode_elem_sep void setBalancer concode_elem_sep String getName concode_elem_sep void setAffinity concode_elem_sep GridClientLoadBalancer getPinnedBalancer
GridClientDataAffinity function ( ) { return affinity ; }