|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractServerService
weblogic.cluster.singleton.MigratableServerService
public class MigratableServerService
MigratableServerService registers ServerMigrationCoordinator with
the MBean server and creates the ClusterMaster Leasing
implementation. Health is proved every
ClusterMBean.getHealthCheckIntervalMillis()
ms (default 10s), and if health could not be proved for
ClusterMBean.getHealthCheckPeriodsUntilFencing()
(default 3)
mastership is abdicated.
Constructor Summary | |
---|---|
MigratableServerService()
|
Method Summary | |
---|---|
String |
findSingletonMaster()
|
static String |
findURLOfUnconnectedServer(String server)
|
weblogic.management.configuration.MachineMBean |
getCurrentMachine()
|
String |
getLeasingType()
|
SingletonMonitorRemote |
getSingletonMasterRemote()
|
SingletonMonitorRemote |
getSingletonMasterRemote(int retryCount)
|
void |
halt()
|
void |
initialize()
|
boolean |
isClusterMaster()
|
boolean |
isSingletonMaster()
|
void |
onAcquire(String leaseName)
|
void |
onException(Exception e,
String leaseName)
|
void |
onRelease()
|
void |
propertyChange(PropertyChangeEvent event)
|
void |
start()
|
void |
stop()
|
static MigratableServerService |
theOne()
|
void |
timerExpired(Timer timer)
Regularly called by the timer service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MigratableServerService()
Method Detail |
---|
public void initialize() throws ServiceFailureException
ServiceFailureException
public String getLeasingType()
public static MigratableServerService theOne()
public boolean isClusterMaster()
public boolean isSingletonMaster()
public String findSingletonMaster() throws LeasingException
LeasingException
public SingletonMonitorRemote getSingletonMasterRemote() throws LeasingException
LeasingException
public SingletonMonitorRemote getSingletonMasterRemote(int retryCount) throws LeasingException
LeasingException
public static String findURLOfUnconnectedServer(String server)
public void start() throws ServiceFailureException
ServiceFailureException
public void timerExpired(Timer timer)
public void stop() throws ServiceFailureException
ServiceFailureException
public void halt() throws ServiceFailureException
ServiceFailureException
public void propertyChange(PropertyChangeEvent event)
propertyChange
in interface PropertyChangeListener
public weblogic.management.configuration.MachineMBean getCurrentMachine()
public void onRelease()
onRelease
in interface LeaseLostListener
public void onAcquire(String leaseName)
onAcquire
in interface LeaseObtainedListener
public void onException(Exception e, String leaseName)
onException
in interface LeaseObtainedListener
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111 Copyright 1996,2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Part Number E13941-01 Oracle WebLogic Server 10.3.1 API Reference |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |