ml.shifu.guagua.hadoop
类 ZooKeeperWorkerInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>

java.lang.Object
  继承者 ml.shifu.guagua.worker.BasicWorkerInterceptor<MASTER_RESULT,WORKER_RESULT>
      继承者 ml.shifu.guagua.hadoop.ZooKeeperWorkerInterceptor<MASTER_RESULT,WORKER_RESULT>
所有已实现的接口:
WorkerInterceptor<MASTER_RESULT,WORKER_RESULT>

public class ZooKeeperWorkerInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
extends BasicWorkerInterceptor<MASTER_RESULT,WORKER_RESULT>

Follow with ZooKeeperMasterInterceptor, ZooKeeperWorkerInterceptor is used to read zookeeper server info from hdfs file.


构造方法摘要
ZooKeeperWorkerInterceptor()
           
 
方法摘要
 void preApplication(WorkerContext<MASTER_RESULT,WORKER_RESULT> context)
           
 
从类 ml.shifu.guagua.worker.BasicWorkerInterceptor 继承的方法
postApplication, postIteration, preIteration
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ZooKeeperWorkerInterceptor

public ZooKeeperWorkerInterceptor()
方法详细信息

preApplication

public void preApplication(WorkerContext<MASTER_RESULT,WORKER_RESULT> context)
指定者:
接口 WorkerInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> 中的 preApplication
覆盖:
BasicWorkerInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> 中的 preApplication


Copyright © 2015. All Rights Reserved.