ml.shifu.guagua
类 BasicCoordinator.BasicCoordinatorCommand

java.lang.Object
  继承者 ml.shifu.guagua.BasicCoordinator.BasicCoordinatorCommand
所有已实现的接口:
BasicCoordinator.CoordinatorCommand
直接已知子类:
AbstractMasterCoordinator.FailOverCommand, AbstractMasterCoordinator.MasterElectionCommand, AbstractWorkerCoordinator.FailOverCoordinatorCommand, BasicCoordinator.RetryCoordinatorCommand
包容类:
BasicCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>

protected abstract static class BasicCoordinator.BasicCoordinatorCommand
extends Object
implements BasicCoordinator.CoordinatorCommand

BasicCoordinator.BasicCoordinatorCommand is to process exceptions for zookeeper operations.


构造方法摘要
protected BasicCoordinator.BasicCoordinatorCommand()
           
 
方法摘要
abstract  void doExecute()
          Real method to do coordinator operation.
 void execute()
          Command method.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

BasicCoordinator.BasicCoordinatorCommand

protected BasicCoordinator.BasicCoordinatorCommand()
方法详细信息

execute

public void execute()
从接口 BasicCoordinator.CoordinatorCommand 复制的描述
Command method.

指定者:
接口 BasicCoordinator.CoordinatorCommand 中的 execute

doExecute

public abstract void doExecute()
                        throws org.apache.zookeeper.KeeperException,
                               InterruptedException
Real method to do coordinator operation.

抛出:
org.apache.zookeeper.KeeperException
InterruptedException


Copyright © 2014. All Rights Reserved.