Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.5)

Part Number E13941-05

weblogic.cluster.singleton
Interface ClusterLeaderListener


public interface ClusterLeaderListener

Listener that is called when the local server becomes the cluster leader. Note that this is different from cluster master or singleton monitor. ClusterLeader comes into play only in consensus leasing. NO notification is given out in Database leasing.


Method Summary
 void localServerIsClusterLeader()
          The local server is the leader if the cluster and is the owner of the in-memory lease table.
 void localServerLostClusterLeadership()
          This method is called if the local server is already the cluster leader i.e.
 

Method Detail

localServerIsClusterLeader

void localServerIsClusterLeader()
The local server is the leader if the cluster and is the owner of the in-memory lease table.


localServerLostClusterLeadership

void localServerLostClusterLeadership()
This method is called if the local server is already the cluster leader i.e. localServerIsClusterLeader() has already been called and subsequently the server loses the cluster leadership. This can only happen under catastrophic conditions. This condition is fatal.


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