站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 cluster API Documentation 英文版文档

HASingleton (JBoss Cluster API) - JBoss 4.0.1 sp1 cluster API Documentation 英文版文档


org.jboss.ha.singleton
Interface HASingleton

All Known Implementing Classes:
HASingletonSupport

public interface HASingleton

Basic interface for clustered singleton services

Version:
$Revision: 1.2 $
Author:
Ivelin Ivanov

Method Summary
 void startSingleton()
          Invoked when this mbean is elected to run the singleton service, or in other words when this node is elected for master.
 void stopSingleton()
          Invoked when this mbean is elected to no longer run the singleton service, or in other words when this node is elected for slave.
 

Method Detail

startSingleton

public void startSingleton()
Invoked when this mbean is elected to run the singleton service, or in other words when this node is elected for master.


stopSingleton

public void stopSingleton()
Invoked when this mbean is elected to no longer run the singleton service, or in other words when this node is elected for slave.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.