Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.runtime
Interface CoherenceServerLifeCycleRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, ServerStates, WebLogicMBean

Deprecated. 12.2.1.0 Standalone Coherence Cache Server control using Nodemanager feature has been deprecated and replaced with Managed Coherence Servers introduced in 12.1.2

public interface CoherenceServerLifeCycleRuntimeMBean
extends RuntimeMBean, ServerStates

Provides methods that transition servers from one state to another. This class is instantiated only on the Administration Server, but you can use it to transition the states of all managed Coherence cache servers.

To start Coherence cache servers, you must first configure a Node Manager on each Coherence cache server's host machine.


Field Summary

 

Fields inherited from interface weblogic.server.ServerStates
ACTIVATE_LATER, ADMIN, FAILED, FAILED_NOT_RESTARTABLE, FAILED_RESTARTING, FORCE_SHUTTING_DOWN, FORCE_SUSPENDING, RESUMING, RUNNING, SHUTDOWN, SHUTDOWN_IN_PROCESS, SHUTDOWN_PENDING, SHUTTING_DOWN, STANDBY, STARTING, SUSPENDING, UNKNOWN

 

Method Summary
abstract  CoherenceServerLifeCycleTaskRuntimeMBean forceShutdown()
          Deprecated. Immediately transitions a server to the SHUTDOWN state.
abstract  int getNodeManagerRestartCount()
          Deprecated. The number of times the server has been restarted using the Node Manager since its creation.
abstract  String getState()
          Deprecated. The current state of the server.
abstract  CoherenceServerLifeCycleTaskRuntimeMBean[] getTasks()
          Deprecated. Gets pre-existing server life cycle tasks.
abstract  CoherenceServerLifeCycleTaskRuntimeMBean start()
          Deprecated. Uses Node Manager to start a Coherence cache server.

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Method Detail

start

CoherenceServerLifeCycleTaskRuntimeMBean start()
                                               throws ServerLifecycleException
Deprecated. 

Uses Node Manager to start a Coherence cache server.

Throws:
ServerLifecycleException - If start operation fails

forceShutdown

CoherenceServerLifeCycleTaskRuntimeMBean forceShutdown()
                                                       throws ServerLifecycleException
Deprecated. 

Immediately transitions a server to the SHUTDOWN state. The server immediately terminates all current work, moves through the SHUTTING_DOWN state, and ends in the SHUTDOWN state.

You can forcefully shut down a server from any state except UNKNOWN.

Throws:
ServerLifecycleException - If force shutdown fails. The server process will exit after ServerMBean.ServerLifeCycleTimeoutVal() seconds.

getTasks

CoherenceServerLifeCycleTaskRuntimeMBean[] getTasks()
Deprecated. 
Gets pre-existing server life cycle tasks.
Returns:
a list of all completed or pending server life cycle tasks.

getState

String getState()
Deprecated. 

The current state of the server.

Server states are described in "Managing Server Startup and Shutdown for Oracle WebLogic Server."
Returns:
The state value

getNodeManagerRestartCount

int getNodeManagerRestartCount()
Deprecated. 
The number of times the server has been restarted using the Node Manager since its creation. The first start does not count. The count is valid only if the Node Manager is used to start and restart the server every time.
Returns:
Number of server restarts using the Node Manager

Skip navigation links

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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09