|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
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
|
Copyright 1996, 2011, 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.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |