Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.net.proxy
Class AbstractProxyServiceLoadBalancer

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.net.proxy.AbstractProxyServiceLoadBalancer

All Implemented Interfaces:
ProxyServiceLoadBalancer
Direct Known Subclasses:
DefaultProxyServiceLoadBalancer

public abstract class AbstractProxyServiceLoadBalancer
extends Base
implements ProxyServiceLoadBalancer

An abstract base for ProxyServiceLoadBalancer implementations.

Author:
jh 2010.12,07

Field Summary
protected  ProxyService m_service
          The containing ProxyService.

 

Constructor Summary
AbstractProxyServiceLoadBalancer()
           

 

Method Summary
protected  Member getLocalMember()
          Return the Member object representing the local cluster member.
 ProxyService getService()
          Obtain the containing ProxyService.
 void init(ProxyService service)
          Called by the ProxyService exactly once on this object as part of its initialization.
protected  boolean isLocalMember(Member member)
          Check whether the specified Member object represents the local member of the cluster.

 

Methods inherited from interface com.tangosol.net.proxy.ProxyServiceLoadBalancer
getMemberList, update

 

Field Detail

m_service

protected ProxyService m_service
The containing ProxyService.

Constructor Detail

AbstractProxyServiceLoadBalancer

public AbstractProxyServiceLoadBalancer()

Method Detail

init

public void init(ProxyService service)
Called by the ProxyService exactly once on this object as part of its initialization.
Specified by:
init in interface ProxyServiceLoadBalancer
Parameters:
service - the containing ProxyService

getLocalMember

protected Member getLocalMember()
Return the Member object representing the local cluster member.
Returns:
the Member object representing the local cluster member

isLocalMember

protected boolean isLocalMember(Member member)
Check whether the specified Member object represents the local member of the cluster.
Parameters:
member - the Member object in question
Returns:
true iff the Member object represents the local cluster member

getService

public ProxyService getService()
Obtain the containing ProxyService.
Returns:
the containing ProxyService

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.