|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-07 |
||||||||||
| 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 |
notifySingletonMasterShutdown()
|
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(weblogic.timers.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
ServiceFailureExceptionpublic 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
LeasingExceptionpublic static String findURLOfUnconnectedServer(String server)
public void start()
throws ServiceFailureException
ServiceFailureExceptionpublic void timerExpired(weblogic.timers.Timer timer)
timerExpired in interface weblogic.timers.TimerListenertimer - The timer that expired and caused the
listener to be invoked.
public void stop()
throws ServiceFailureException
ServiceFailureException
public void halt()
throws ServiceFailureException
ServiceFailureExceptionpublic void propertyChange(PropertyChangeEvent event)
propertyChange in interface PropertyChangeListenerpublic weblogic.management.configuration.MachineMBean getCurrentMachine()
public void onRelease()
onRelease in interface LeaseLostListenerpublic void onAcquire(String leaseName)
onAcquire in interface LeaseObtainedListener
public void onException(Exception e,
String leaseName)
onException in interface LeaseObtainedListenerpublic void notifySingletonMasterShutdown()
|
Copyright 1996, 2015, 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. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||