com.bigdata.service
Class AbstractEmbeddedLoadBalancerService

java.lang.Object
  extended by com.bigdata.service.AbstractService
      extended by com.bigdata.service.LoadBalancerService
          extended by com.bigdata.service.AbstractEmbeddedLoadBalancerService
All Implemented Interfaces:
IEventReceivingService, IEventReportingService, ILoadBalancerService, IService, IServiceShutdown, Remote
Direct Known Subclasses:
EmbeddedFederation.EmbeddedLoadBalancerServiceImpl

public abstract class AbstractEmbeddedLoadBalancerService
extends LoadBalancerService

Embedded LoadBalancerService.

Version:
$Id: AbstractEmbeddedLoadBalancerService.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Nested Class Summary
 
Nested classes/interfaces inherited from class com.bigdata.service.LoadBalancerService
LoadBalancerService.Options, LoadBalancerService.RoundRobinServiceLoadHelper, LoadBalancerService.ServiceLoadHelperWithoutScores, LoadBalancerService.ServiceLoadHelperWithScores, LoadBalancerService.UpdateTask
 
Field Summary
 
Fields inherited from class com.bigdata.service.LoadBalancerService
activeDataServices, activeHosts, eventReceiver, eventStore, historyMinutes, hostScores, initialRoundRobinUpdateCount, isTransient, joined, lock, log, logDir, nupdates, ps, serviceJoinTimeout, serviceScores, updateService
 
Constructor Summary
AbstractEmbeddedLoadBalancerService(UUID serviceUUID, Properties properties)
           
 
Method Summary
protected  String getClientHostname()
          Return the canonical hostname of the client in the context of a RMI request.
 
Methods inherited from class com.bigdata.service.LoadBalancerService
destroy, finalized, getProperties, getServiceIface, getUnderUtilizedDataService, getUnderUtilizedDataServices, isHighlyUtilizedDataService, isHighlyUtilizedDataService, isOpen, isUnderUtilizedDataService, isUnderUtilizedDataService, join, leave, logCounters, logCounters, notify, notifyEvent, rangeCount, rangeIterator, setHostScores, setServiceScores, shutdown, shutdownNow, start, urgent, warn
 
Methods inherited from class com.bigdata.service.AbstractService
clearLoggingContext, getFederation, getHostname, getServiceName, getServiceUUID, setServiceUUID, setupLoggingContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bigdata.service.IService
getHostname, getServiceName, getServiceUUID
 

Constructor Detail

AbstractEmbeddedLoadBalancerService

public AbstractEmbeddedLoadBalancerService(UUID serviceUUID,
                                           Properties properties)
Method Detail

getClientHostname

protected String getClientHostname()
Description copied from class: LoadBalancerService
Return the canonical hostname of the client in the context of a RMI request. If the request is not remote then return the canonical hostname for this host.

Specified by:
getClientHostname in class LoadBalancerService


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.