protected class LoadBalancerService.ServiceLoadHelperWithoutScores extends AbstractServiceLoadHelperWithoutScores
LoadBalancerService.INFO, logjoinTimeout| Constructor and Description |
|---|
LoadBalancerService.ServiceLoadHelperWithoutScores() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
awaitJoin(long timeout,
TimeUnit unit)
Await the join of an
IDataService. |
protected UUID[] |
getActiveServices()
Return an array of service UUIDs for all of the active
IDataServices that we know about right now (snapshot). |
protected boolean |
isActiveDataService(UUID serviceUUID)
Return
true iff the given serviceUUID identifies an
active IDataService. |
protected boolean |
isUnderUtilizedDataService(ServiceScore score,
ServiceScore[] scores)
Return
true iff the service is under-utilized. |
getUnderUtilizedDataServicespublic LoadBalancerService.ServiceLoadHelperWithoutScores()
protected void awaitJoin(long timeout,
TimeUnit unit)
throws InterruptedException
AbstractServiceLoadHelperIDataService.awaitJoin in class AbstractServiceLoadHelpertimeout - The timeout.unit - The unit for the timeout.InterruptedExceptionprotected UUID[] getActiveServices()
AbstractServiceLoadHelperIDataServices that we know about right now (snapshot).getActiveServices in class AbstractServiceLoadHelpernull.protected boolean isActiveDataService(UUID serviceUUID)
AbstractServiceLoadHelpertrue iff the given serviceUUID identifies an
active IDataService.isActiveDataService in class AbstractServiceLoadHelperserviceUUID - The service UUID.protected boolean isUnderUtilizedDataService(ServiceScore score, ServiceScore[] scores)
AbstractServiceLoadHelpertrue iff the service is under-utilized.isUnderUtilizedDataService in class AbstractServiceLoadHelperscore - The score for the service.scores - The set of scores for the known services.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.