weblogic.cluster.singleton
Class BasicServiceLocationSelector
java.lang.Object
weblogic.cluster.singleton.AbstractServiceLocationSelector
weblogic.cluster.singleton.BasicServiceLocationSelector
- All Implemented Interfaces:
- ServiceLocationSelector
public class BasicServiceLocationSelector
- extends AbstractServiceLocationSelector
Round-robin server selection algorithm
|
Method Summary |
weblogic.management.configuration.ServerMBean |
chooseServer()
|
void |
migrationSuccessful(weblogic.management.configuration.ServerMBean server,
boolean automaticMigration)
|
void |
setLastHost(weblogic.management.configuration.ServerMBean server)
|
void |
setServerList(List servers)
|
void |
setUPS(weblogic.management.configuration.ServerMBean ups)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicServiceLocationSelector
public BasicServiceLocationSelector(String svcName,
SingletonServicesStateManager sm)
setUPS
public void setUPS(weblogic.management.configuration.ServerMBean ups)
chooseServer
public weblogic.management.configuration.ServerMBean chooseServer()
- Specified by:
chooseServer in interface ServiceLocationSelector- Specified by:
chooseServer in class AbstractServiceLocationSelector
setLastHost
public void setLastHost(weblogic.management.configuration.ServerMBean server)
- Specified by:
setLastHost in interface ServiceLocationSelector- Specified by:
setLastHost in class AbstractServiceLocationSelector
setServerList
public void setServerList(List servers)
- Specified by:
setServerList in interface ServiceLocationSelector- Specified by:
setServerList in class AbstractServiceLocationSelector
migrationSuccessful
public void migrationSuccessful(weblogic.management.configuration.ServerMBean server,
boolean automaticMigration)
- Specified by:
migrationSuccessful in interface ServiceLocationSelector- Overrides:
migrationSuccessful in class AbstractServiceLocationSelector