|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.server.AbstractServerService
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.
| Field Summary |
|---|
| Fields inherited from interface weblogic.management.runtime.ServerStates |
|---|
ACTIVATE_LATER, ADMIN, DISCOVERED, FAILED, FAILED_MIGRATABLE, FAILED_NOT_RESTARTABLE, FAILED_RESTARTING, FORCE_SHUTTING_DOWN, FORCE_SUSPENDING, RESUMING, RUNNING, SERVERSTATES, SHUTDOWN, SHUTDOWN_IN_PROCESS, SHUTDOWN_PENDING, SHUTTING_DOWN, SRVR_ACTIVATE_LATER, SRVR_ADMIN, SRVR_DISCOVERED, SRVR_FAILED, SRVR_FAILED_MIGRATABLE, SRVR_FAILED_NOT_RESTARTABLE, SRVR_FAILED_RESTARTING, SRVR_FORCE_SHUTTING_DOWN, SRVR_FORCE_SUSPENDING, SRVR_RESUMING, SRVR_RUNNING, SRVR_SHUTDOWN, SRVR_SHUTDOWN_IN_PROCESS, SRVR_SHUTDOWN_PENDING, SRVR_SHUTTING_DOWN, SRVR_STANDBY, SRVR_STARTING, SRVR_SUSPENDING, SRVR_UNKNOWN, STANDBY, STARTING, SUSPENDING, UNKNOWN |
| 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()
|
| Methods inherited from class weblogic.server.AbstractServerService |
|---|
getName, getVersion |
| 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 weblogic.server.ServiceFailureException
weblogic.server.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 weblogic.server.ServiceFailureException
start in interface weblogic.server.ServerServicestart in class weblogic.server.AbstractServerServiceweblogic.server.ServiceFailureException
public void stop()
throws weblogic.server.ServiceFailureException
stop in interface weblogic.server.ServerServicestop in class weblogic.server.AbstractServerServiceweblogic.server.ServiceFailureException
public void halt()
throws weblogic.server.ServiceFailureException
halt in interface weblogic.server.ServerServicehalt in class weblogic.server.AbstractServerServiceweblogic.server.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 LeaseObtainedListener
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs100 Copyright 2006 BEA Systems Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||