public abstract static class MasterProcedureUtil.NonceProcedureRunnable extends Object
Modifier and Type | Field and Description |
---|---|
private MasterServices |
master |
private NonceKey |
nonceKey |
private Long |
procId |
Constructor and Description |
---|
NonceProcedureRunnable(MasterServices master,
long nonceGroup,
long nonce) |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getDescription() |
protected MasterServices |
getMaster() |
protected NonceKey |
getNonceKey() |
protected ProcedureExecutor<MasterProcedureEnv> |
getProcedureExecutor() |
protected long |
getProcId() |
protected abstract void |
run() |
protected long |
setProcId(long procId) |
protected long |
submitProcedure(Procedure<MasterProcedureEnv> proc) |
private final MasterServices master
public NonceProcedureRunnable(MasterServices master, long nonceGroup, long nonce)
protected NonceKey getNonceKey()
protected MasterServices getMaster()
protected ProcedureExecutor<MasterProcedureEnv> getProcedureExecutor()
protected long getProcId()
protected long setProcId(long procId)
protected abstract void run() throws IOException
IOException
protected abstract String getDescription()
protected long submitProcedure(Procedure<MasterProcedureEnv> proc)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.