Oracle

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.


Documentation is available at
http://download.oracle.com/docs/cd/E12839_01/web.1111
Copyright 1996,2009, 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.

Part Number E13941-01
Oracle WebLogic Server 10.3.1 API Reference