public class ZooKeeperMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> extends BasicMasterInterceptor<MASTER_RESULT,WORKER_RESULT>
Compare with start zookeeper instance in client process, ZooKeeperMasterInterceptor can be used in cluster
and even to start zookeeper ensemble in cluster to void single point failure issue.
| Constructor and Description |
|---|
ZooKeeperMasterInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
postApplication(MasterContext<MASTER_RESULT,WORKER_RESULT> context) |
void |
preApplication(MasterContext<MASTER_RESULT,WORKER_RESULT> context) |
postIteration, preIterationpublic void preApplication(MasterContext<MASTER_RESULT,WORKER_RESULT> context)
preApplication in interface MasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>preApplication in class BasicMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>public void postApplication(MasterContext<MASTER_RESULT,WORKER_RESULT> context)
postApplication in interface MasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>postApplication in class BasicMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>Copyright © 2015. All Rights Reserved.